Home
last modified time | relevance | path

Searched refs:mHandler (Results 1 – 25 of 48) sorted by relevance

12

/developers/build/prebuilts/gradle/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/
DPartyLightView.java53 private Handler mHandler; field in PartyLightView
72 mHandler.sendEmptyMessage(0); in startCycling()
76 mHandler.removeMessages(0); in stopCycling()
81 mHandler = new Handler() { in init()
97 mHandler.sendEmptyMessageDelayed(0, 100); in init()
/developers/samples/android/deprecated/wearable/wear/Flashlight/Wearable/src/main/java/com/example/android/wearable/flashlight/
DPartyLightView.java53 private Handler mHandler; field in PartyLightView
72 mHandler.sendEmptyMessage(0); in startCycling()
76 mHandler.removeMessages(0); in stopCycling()
81 mHandler = new Handler() { in init()
97 mHandler.sendEmptyMessageDelayed(0, 100); in init()
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
DBluetoothChatService.java57 private final Handler mHandler; field in BluetoothChatService
81 mHandler = handler; in BluetoothChatService()
93 mHandler.obtainMessage(Constants.MESSAGE_STATE_CHANGE, mNewState, -1).sendToTarget(); in updateUserInterfaceTitle()
202 Message msg = mHandler.obtainMessage(Constants.MESSAGE_DEVICE_NAME); in connected()
206 mHandler.sendMessage(msg); in connected()
264 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); in connectionFailed()
268 mHandler.sendMessage(msg); in connectionFailed()
283 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); in connectionLost()
287 mHandler.sendMessage(msg); in connectionLost()
497 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) in run()
[all …]
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/
DBluetoothChatService.java57 private final Handler mHandler; field in BluetoothChatService
81 mHandler = handler; in BluetoothChatService()
93 mHandler.obtainMessage(Constants.MESSAGE_STATE_CHANGE, mNewState, -1).sendToTarget(); in updateUserInterfaceTitle()
202 Message msg = mHandler.obtainMessage(Constants.MESSAGE_DEVICE_NAME); in connected()
206 mHandler.sendMessage(msg); in connected()
264 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); in connectionFailed()
268 mHandler.sendMessage(msg); in connectionFailed()
283 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); in connectionLost()
287 mHandler.sendMessage(msg); in connectionLost()
497 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) in run()
[all …]
/developers/samples/android/common/src/java/com/example/android/common/media/
DMediaCodecWrapper.java37 private Handler mHandler; field in MediaCodecWrapper
95 mHandler = null; in stopAndRelease()
116 mHandler = handler; in setOutputFormatChangedListener()
117 if (outputFormatChangedListener != null && mHandler == null) { in setOutputFormatChangedListener()
119 mHandler = new Handler(); in setOutputFormatChangedListener()
342 mHandler.post(new Runnable() { in update()
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
DMediaCodecWrapper.java37 private Handler mHandler; field in MediaCodecWrapper
95 mHandler = null; in stopAndRelease()
116 mHandler = handler; in setOutputFormatChangedListener()
117 if (outputFormatChangedListener != null && mHandler == null) { in setOutputFormatChangedListener()
119 mHandler = new Handler(); in setOutputFormatChangedListener()
342 mHandler.post(new Runnable() { in update()
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
DMediaCodecWrapper.java37 private Handler mHandler; field in MediaCodecWrapper
95 mHandler = null; in stopAndRelease()
116 mHandler = handler; in setOutputFormatChangedListener()
117 if (outputFormatChangedListener != null && mHandler == null) { in setOutputFormatChangedListener()
119 mHandler = new Handler(); in setOutputFormatChangedListener()
342 mHandler.post(new Runnable() { in update()
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/fragments/
DCounterFragment.java42 private Handler mHandler; field in CounterFragment
57 mHandler = new Handler(); in onCreateView()
66 mHandler.post(new Runnable() { in startAnimation()
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/fragments/
DCounterFragment.java42 private Handler mHandler; field in CounterFragment
57 mHandler = new Handler(); in onCreateView()
66 mHandler.post(new Runnable() { in startAnimation()
/developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
DAdvertiserService.java51 private Handler mHandler; field in AdvertiserService
78 mHandler.removeCallbacks(timeoutRunnable); in onDestroy()
117 mHandler = new Handler(); in setTimeout()
126 mHandler.postDelayed(timeoutRunnable, TIMEOUT); in setTimeout()
DScannerFragment.java62 private Handler mHandler; field in ScannerFragment
87 mHandler = new Handler(); in onCreate()
142 mHandler.postDelayed(new Runnable() { in startScanning()
/developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
DAdvertiserService.java51 private Handler mHandler; field in AdvertiserService
78 mHandler.removeCallbacks(timeoutRunnable); in onDestroy()
117 mHandler = new Handler(); in setTimeout()
126 mHandler.postDelayed(timeoutRunnable, TIMEOUT); in setTimeout()
DScannerFragment.java62 private Handler mHandler; field in ScannerFragment
87 mHandler = new Handler(); in onCreate()
142 mHandler.postDelayed(new Runnable() { in startScanning()
/developers/build/prebuilts/gradle/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/
DMainActivity.java63 private Handler mHandler; field in MainActivity
110 mHandler = new Handler() { in onCreate()
188 mHandler.removeMessages(MESSAGE_CONNECTIVITY_TIMEOUT); in requestHighBandwidthNetwork()
233 mHandler.sendMessageDelayed( in requestHighBandwidthNetwork()
234 mHandler.obtainMessage(MESSAGE_CONNECTIVITY_TIMEOUT), in requestHighBandwidthNetwork()
/developers/samples/android/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/
DLongListActivity.java39 private Handler mHandler; field in LongListActivity
51 mHandler = new Handler(); in onCreate()
161 mHandler.postDelayed( in addData()
/developers/build/prebuilts/gradle/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/
DLongListActivity.java37 private Handler mHandler; field in LongListActivity
49 mHandler = new Handler(); in onCreate()
159 mHandler.postDelayed( in addData()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
DSearchFragment.java46 private Handler mHandler = new Handler(); field in SearchFragment
68 mHandler.removeCallbacks(mDelayedLoad); in queryByWords()
69 mHandler.postDelayed(mDelayedLoad, SEARCH_DELAY_MS); in queryByWords()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/player/
DTvInputPlayer.java99 private final Handler mHandler; field in TvInputPlayer
147 mHandler = new Handler(); in TvInputPlayer()
190 MediaCodec.VIDEO_SCALING_MODE_SCALE_TO_FIT, 0, mHandler, in prepare()
199 playlistFetcher.singleLoad(mHandler.getLooper(), in prepare()
212 MediaCodec.VIDEO_SCALING_MODE_SCALE_TO_FIT, 0, mHandler, in prepare()
215 TvInputPlayer.this, mHandler.getLooper()); in prepare()
236 manifestFetcher.singleLoad(mHandler.getLooper(), in prepare()
289 MediaCodec.VIDEO_SCALING_MODE_SCALE_TO_FIT, 0, mHandler, in prepare()
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/
DMainActivity.java81 private Handler mHandler; field in MainActivity
88 mHandler = new Handler(); in onCreate()
228 mHandler.post(new Runnable() { in resetFlag()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
DSearchFragment.java54 private Handler mHandler = new Handler(); field in SearchFragment
90 mHandler.removeCallbacks(mDelayedLoad); in loadQuery()
93 mHandler.postDelayed(mDelayedLoad, SEARCH_DELAY_MS); in loadQuery()
/developers/samples/android/ui/fonts/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/
DMainActivity.java53 private Handler mHandler = null; field in MainActivity
236 if (mHandler == null) { in getHandlerThreadHandler()
239 mHandler = new Handler(handlerThread.getLooper()); in getHandlerThreadHandler()
241 return mHandler; in getHandlerThreadHandler()
/developers/build/prebuilts/gradle/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/
DMainActivity.java53 private Handler mHandler = null; field in MainActivity
236 if (mHandler == null) { in getHandlerThreadHandler()
239 mHandler = new Handler(handlerThread.getLooper()); in getHandlerThreadHandler()
241 return mHandler; in getHandlerThreadHandler()
/developers/build/prebuilts/gradle/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
DSoundRecorder.java52 private final Handler mHandler; field in SoundRecorder
69 mHandler = new Handler(Looper.getMainLooper()); in SoundRecorder()
166 mHandler.post(new Runnable() { in startPlay()
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
DDeviceScanActivity.java48 private Handler mHandler; field in DeviceScanActivity
58 mHandler = new Handler(); in onCreate()
164 mHandler.postDelayed(new Runnable() { in scanLeDevice()
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
DDeviceScanActivity.java48 private Handler mHandler; field in DeviceScanActivity
58 mHandler = new Handler(); in onCreate()
164 mHandler.postDelayed(new Runnable() { in scanLeDevice()

12