/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
D | ChatManager.java | 19 private Handler handler; field in ChatManager 21 public ChatManager(Socket socket, Handler handler) { in ChatManager() argument 23 this.handler = handler; in ChatManager() 38 handler.obtainMessage(WiFiServiceDiscoveryActivity.MY_HANDLE, this) in run() 51 handler.obtainMessage(WiFiServiceDiscoveryActivity.MESSAGE_READ, in run()
|
D | ClientSocketHandler.java | 15 private Handler handler; field in ClientSocketHandler 19 public ClientSocketHandler(Handler handler, InetAddress groupOwnerAddress) { in ClientSocketHandler() argument 20 this.handler = handler; in ClientSocketHandler() 32 chat = new ChatManager(socket, handler); in run()
|
D | GroupOwnerSocketHandler.java | 21 private Handler handler; field in GroupOwnerSocketHandler 24 public GroupOwnerSocketHandler(Handler handler) throws IOException { in GroupOwnerSocketHandler() argument 27 this.handler = handler; in GroupOwnerSocketHandler() 50 pool.execute(new ChatManager(socket.accept(), handler)); in run()
|
D | WiFiServiceDiscoveryActivity.java | 75 private Handler handler = new Handler(this); field in WiFiServiceDiscoveryActivity 82 return handler; in getHandler() 85 public void setHandler(Handler handler) { in setHandler() argument 86 this.handler = handler; in setHandler() 342 Thread handler = null; in onConnectionInfoAvailable() local 352 handler = new GroupOwnerSocketHandler( in onConnectionInfoAvailable() 354 handler.start(); in onConnectionInfoAvailable() 362 handler = new ClientSocketHandler( in onConnectionInfoAvailable() 365 handler.start(); in onConnectionInfoAvailable()
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | MidiPortConnector.java | 113 final OnPortsConnectedListener listener, final Handler handler) { in connectToDevicePort() argument 140 listener, handler); in connectToDevicePort() 152 }, handler); in connectToDevicePort() 167 final OnPortsConnectedListener listener, final Handler handler) { in connectToDevicePort() argument 197 }, handler); in connectToDevicePort()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | MidiPortConnector.java | 113 final OnPortsConnectedListener listener, final Handler handler) { in connectToDevicePort() argument 140 listener, handler); in connectToDevicePort() 152 }, handler); in connectToDevicePort() 167 final OnPortsConnectedListener listener, final Handler handler) { in connectToDevicePort() argument 197 }, handler); in connectToDevicePort()
|
/development/samples/ControllerSample/src/com/example/inputmanagercompat/ |
D | InputManagerV9.java | 119 public void registerInputDeviceListener(InputDeviceListener listener, Handler handler) { in registerInputDeviceListener() argument 121 if (handler == null) { in registerInputDeviceListener() 122 handler = mDefaultHandler; in registerInputDeviceListener() 124 mListeners.put(listener, handler); in registerInputDeviceListener() 138 Handler handler = mListeners.get(listener); in notifyListeners() local 140 handler.post(odc); in notifyListeners()
|
D | InputManagerV16.java | 76 public void registerInputDeviceListener(InputDeviceListener listener, Handler handler) { in registerInputDeviceListener() argument 78 mInputManager.registerInputDeviceListener(v16Listener, handler); in registerInputDeviceListener()
|
D | InputManagerCompat.java | 51 Handler handler); in registerInputDeviceListener() argument
|
/development/samples/LceDemo/src/com/example/android/lce/ |
D | LceDemoActivity.java | 53 final Handler handler = new Handler() { in onCreate() local 67 Message message = handler.obtainMessage(); in onCreate() 71 handler.sendMessage(message); in onCreate()
|
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/ |
D | Utils.java | 37 Handler handler = new Handler(); in printStatus() local 38 handler.postDelayed(new Runnable() { in printStatus()
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/ |
D | csv.go | 15 func GenerateCSVLines(filePath string, handler lineHandler) error { 39 handler(line)
|
/development/apps/Development/src/com/android/development/ |
D | LogViewer.java | 43 Handler handler; field in LogViewer 50 this.handler = new Handler(); in onCreate() 118 handler.post(new AppendCharacters(builder)); in run() 125 handler.post(new AppendThrowable(e)); in run()
|
/development/samples/AutofillKeyboard/src/com/example/android/autofillkeyboard/ |
D | AutofillImeService.java | 330 final Handler handler = mInputView.getHandler(); in rescheduleShowcaseBgFgTransitions() local 331 handler.removeCallbacks(mMoveScrollableSuggestionsToBg); in rescheduleShowcaseBgFgTransitions() 332 handler.postDelayed(mMoveScrollableSuggestionsToBg, MOVE_SUGGESTIONS_TO_BG_TIMEOUT); in rescheduleShowcaseBgFgTransitions() 333 handler.removeCallbacks(mMoveScrollableSuggestionsToFg); in rescheduleShowcaseBgFgTransitions() 334 handler.postDelayed(mMoveScrollableSuggestionsToFg, MOVE_SUGGESTIONS_TO_FG_TIMEOUT); in rescheduleShowcaseBgFgTransitions() 338 final Handler handler = mInputView.getHandler(); in rescheduleShowcaseUpDownTransitions() local 339 handler.removeCallbacks(mMoveScrollableSuggestionsUp); in rescheduleShowcaseUpDownTransitions() 340 handler.postDelayed(mMoveScrollableSuggestionsUp, MOVE_SUGGESTIONS_UP_TIMEOUT); in rescheduleShowcaseUpDownTransitions() 341 handler.removeCallbacks(mMoveScrollableSuggestionsDown); in rescheduleShowcaseUpDownTransitions() 342 handler.postDelayed(mMoveScrollableSuggestionsDown, MOVE_SUGGESTIONS_DOWN_TIMEOUT); in rescheduleShowcaseUpDownTransitions()
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | CameraOps.java | 154 final Handler handler) { in setRepeatingRequest() argument 158 mCameraSession.setRepeatingRequest(request, listener, handler); in setRepeatingRequest() 172 final Handler handler) { in setRepeatingBurst() argument 176 mCameraSession.setRepeatingBurst(requests, listener, handler); in setRepeatingBurst()
|
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
D | ChatConnection.java | 48 public ChatConnection(Handler handler) { in ChatConnection() argument 49 mUpdateHandler = handler; in ChatConnection() 50 mChatServer = new ChatServer(handler); in ChatConnection() 123 public ChatServer(Handler handler) { in ChatServer() argument
|
/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/service/ |
D | MyJobService.java | 79 Handler handler = new Handler(); in onStartJob() local 80 handler.postDelayed(new Runnable() { in onStartJob()
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
D | NewsReaderActivity.java | 141 CompatActionBarNavHandler handler = new CompatActionBarNavHandler(this); in setUpActionBar() local 146 actionBar.addTab(actionBar.newTab().setText(CATEGORIES[i]).setTabListener(handler)); in setUpActionBar() 154 actionBar.setListNavigationCallbacks(adap, handler); in setUpActionBar()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | PurgeableBitmapView.java | 81 public int update(PurgeableBitmap.RefreshHandler handler) { in update() argument 88 handler.sleep(delay); in update()
|
/development/tools/apkcheck/src/com/android/apkcheck/ |
D | ApkCheck.java | 185 ApiDescrHandler handler = new ApiDescrHandler(apiList); in parseXml() local 186 xmlReader.setContentHandler(handler); in parseXml() 187 xmlReader.setErrorHandler(handler); in parseXml()
|
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 113 outputFormatChangedListener, Handler handler) { in setOutputFormatChangedListener() argument 119 mHandler = handler; in setOutputFormatChangedListener()
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 113 outputFormatChangedListener, Handler handler) { in setOutputFormatChangedListener() argument 119 mHandler = handler; in setOutputFormatChangedListener()
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 113 outputFormatChangedListener, Handler handler) { in setOutputFormatChangedListener() argument 119 mHandler = handler; in setOutputFormatChangedListener()
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | BluetoothChatService.java | 75 public BluetoothChatService(Context context, Handler handler) { in BluetoothChatService() argument 78 mHandler = handler; in BluetoothChatService()
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
D | BluetoothChatService.java | 77 public BluetoothChatService(Context context, Handler handler) { in BluetoothChatService() argument 81 mHandler = handler; in BluetoothChatService()
|