This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package analyse; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIImage+Network.h | |
// Fireside | |
// | |
// Created by Soroush Khanlou on 8/25/12. | |
// | |
// | |
#import <UIKit/UIKit.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<service android:name=".ListenerServiceFromWear"> | |
<intent-filter> | |
<action android:name="com.google.android.gms.wearable.BIND_LISTENER" /> | |
</intent-filter> | |
</service> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.graphics.Color; | |
import android.support.design.widget.TextInputLayout; | |
import android.text.Editable; | |
import android.text.Layout; | |
import android.text.SpannableStringBuilder; | |
import android.text.Spanned; | |
import android.text.TextWatcher; | |
import android.text.style.AlignmentSpan; | |
import android.text.style.ForegroundColorSpan; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.os.Bundle; | |
import android.support.design.widget.AppBarLayout; | |
import android.support.design.widget.TabLayout; | |
import android.support.v4.widget.SwipeRefreshLayout; | |
import android.support.v7.app.AppCompatActivity; | |
import android.support.v7.widget.GridLayoutManager; | |
import android.support.v7.widget.RecyclerView; | |
import android.util.Log; | |
import com.blackcj.designsupportexample.adapters.RecyclerViewAdapter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^(?!Wifi|HierarchicalStateMachine|MotoNetwCtrlr|HeadsetStateMachine|bt-btif|rmt_storage|ThermalEngine|TCMD|QC-time-services|ActivityModePolicy|AlarmManager|BatteryService|SQLiteLog|BackupManagerService|UpdateIcingCorporaServi|IccSmsInterfaceManager|HeadsetPhoneState|Launcher|LocationFilter|DeviceScanner|GCoreUrl|Icing|GCoreUlr|PackageBroadcastService|WindowManager|InputReader|SFPerfTracker|UsageStatsService|GmsNetworkLocationProvi|ConnectivityService|ConfigFetchService|TaskPersister|Finsky|SFPerfTracer|OpenGLRenderer|HotwordRecognitionRnr).*$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The SingleWriter generic type only works with structs | |
// | |
// SingleWriter wraps any struct in a mechanism that only allows modifications through an optional-typed writer object. | |
// Only one writer object can exist at a time, so while one code site is referencing the writer or using it to change | |
// a property on the struct, any other code that attempts to get the writer to make changes will get a nil value. | |
// | |
// This is a tool to work with global shared mutable state, that allows write access to be controlled across threads or | |
// call sites. Any code using the writer interface will cause any other code / threads to not have access to the writer | |
// interface. | |
// |