Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 30) sorted by relevance

12

/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DChatManager.java19 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()
DClientSocketHandler.java15 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()
DGroupOwnerSocketHandler.java21 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()
DWiFiServiceDiscoveryActivity.java69 private Handler handler = new Handler(this); field in WiFiServiceDiscoveryActivity
76 return handler; in getHandler()
79 public void setHandler(Handler handler) { in setHandler() argument
80 this.handler = handler; in setHandler()
311 Thread handler = null; in onConnectionInfoAvailable() local
321 handler = new GroupOwnerSocketHandler( in onConnectionInfoAvailable()
323 handler.start(); in onConnectionInfoAvailable()
331 handler = new ClientSocketHandler( in onConnectionInfoAvailable()
334 handler.start(); in onConnectionInfoAvailable()
/development/samples/ControllerSample/src/com/example/inputmanagercompat/
DInputManagerV9.java119 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()
DInputManagerV16.java76 public void registerInputDeviceListener(InputDeviceListener listener, Handler handler) { in registerInputDeviceListener() argument
78 mInputManager.registerInputDeviceListener(v16Listener, handler); in registerInputDeviceListener()
DInputManagerCompat.java51 Handler handler); in registerInputDeviceListener() argument
/development/apps/Development/src/com/android/development/
DLogViewer.java43 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/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/
DUtils.java37 Handler handler = new Handler(); in printStatus() local
38 handler.postDelayed(new Runnable() { in printStatus()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DCameraOps.java154 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/SupportLeanbackDemos/src/com/example/android/leanback/
DBrowseErrorActivity.java61 Handler handler = new Handler(); in testError() local
62 handler.postDelayed(new Runnable() { in testError()
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DChatConnection.java48 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/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNewsReaderActivity.java141 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/
DPurgeableBitmapView.java81 public int update(PurgeableBitmap.RefreshHandler handler) { in update() argument
88 handler.sleep(delay); in update()
/development/ndk/platforms/android-3/include/linux/
Dpersonality.h64 handler_t handler; member
Dinterrupt.h56 irqreturn_t (*handler)(int, void *, struct pt_regs *); member
/development/tools/apkcheck/src/com/android/apkcheck/
DApkCheck.java185 ApiDescrHandler handler = new ApiDescrHandler(apiList); in parseXml() local
186 xmlReader.setContentHandler(handler); in parseXml()
187 xmlReader.setErrorHandler(handler); in parseXml()
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DMediaCodecWrapper.java113 outputFormatChangedListener, Handler handler) { in setOutputFormatChangedListener() argument
119 mHandler = handler; in setOutputFormatChangedListener()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DMediaCodecWrapper.java113 outputFormatChangedListener, Handler handler) { in setOutputFormatChangedListener() argument
119 mHandler = handler; in setOutputFormatChangedListener()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DMediaCodecWrapper.java113 outputFormatChangedListener, Handler handler) { in setOutputFormatChangedListener() argument
119 mHandler = handler; in setOutputFormatChangedListener()
/development/tools/mkstubs/src/com/android/mkstubs/stubber/
DMethodStubber.java171 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { in visitTryCatchBlock() argument
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatService.java76 public BluetoothChatService(Context context, Handler handler) { in BluetoothChatService() argument
79 mHandler = handler; in BluetoothChatService()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChatService.java75 public BluetoothChatService(Context context, Handler handler) { in BluetoothChatService() argument
78 mHandler = handler; in BluetoothChatService()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java350 Handler handler = getHandler();
351 if (handler != null) {
352 handler.postAtTime(mAnimationRunnable, currentStepTime + ANIMATION_TIME_STEP);
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DMethodSourcer.java247 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { in visitTryCatchBlock() argument

12