Home
last modified time | relevance | path

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

12

/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DAwContentsClientCallbackHelper.java90 private final Handler mHandler; field in AwContentsClientCallbackHelper
153 mHandler = new MyHandler(looper); in AwContentsClientCallbackHelper()
158 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_LOAD_RESOURCE, url)); in postOnLoadResource()
162 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_PAGE_STARTED, url)); in postOnPageStarted()
169 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_DOWNLOAD_START, info)); in postOnDownloadStart()
174 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_RECEIVED_LOGIN_REQUEST, info)); in postOnReceivedLoginRequest()
179 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_RECEIVED_ERROR, info)); in postOnReceivedError()
187 mHandler.sendMessageAtTime(mHandler.obtainMessage(MSG_ON_NEW_PICTURE, pictureProvider), in postOnNewPicture()
196 mHandler.sendMessage(mHandler.obtainMessage(MSG_ON_SCALE_CHANGED_SCALED, in postOnScaleChangedScaled()
DScrollAccessibilityHelper.java47 private Handler mHandler; field in ScrollAccessibilityHelper
51 mHandler = new Handler(new HandlerCallback(eventSender)); in ScrollAccessibilityHelper()
64 Message msg = mHandler.obtainMessage(HandlerCallback.MSG_VIEW_SCROLLED); in postViewScrolledAccessibilityEventCallback()
65 mHandler.sendMessageDelayed(msg, SEND_RECURRING_ACCESSIBILITY_EVENTS_INTERVAL_MILLIS); in postViewScrolledAccessibilityEventCallback()
73 mHandler.removeMessages(HandlerCallback.MSG_VIEW_SCROLLED); in removePostedViewScrolledAccessibilityEventCallback()
DAwCookieManager.java186 Handler mHandler; field in AwCookieManager.CookieCallback
190 mHandler = handler; in CookieCallback()
206 mHandler.post(new Runnable() { in onReceiveValue()
DAwSettings.java147 private Handler mHandler; field in AwSettings.EventHandler
155 if (mHandler != null) return; in bindUiThread()
156 mHandler = new Handler(ThreadUtils.getUiThreadLooper()) { in bindUiThread()
176 if (mHandler == null) return; in runOnUiThreadBlockingAndLocked()
182 mHandler.sendMessage(Message.obtain(null, RUN_RUNNABLE_BLOCKING, r)); in runOnUiThreadBlockingAndLocked()
195 if (mHandler != null) { in maybePostOnUiThread()
196 mHandler.post(r); in maybePostOnUiThread()
1656 assert mEventHandler.mHandler != null; in updateWebkitPreferencesOnUiThreadLocked()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/prerender/
DExternalPrerenderRequestTest.java33 private ExternalPrerenderHandler mHandler; field in ExternalPrerenderRequestTest
43 mHandler = new ExternalPrerenderHandler(); in setUp()
62 long webContentsPtr = mHandler.addPrerender(mProfile, GOOGLE_URL, "", 0, 0); in testAddPrerenderAndCancel()
66 mHandler.cancelCurrentPrerender(); in testAddPrerenderAndCancel()
71 webContentsPtr = mHandler.addPrerender(mProfile, YOUTUBE_URL, "", 0, 0); in testAddPrerenderAndCancel()
84 mHandler.cancelCurrentPrerender(); in testCancelPrerender()
85 long webContentsPtr = mHandler.addPrerender(mProfile, GOOGLE_URL, "", 0, 0); in testCancelPrerender()
97 long webContentsPtr = mHandler.addPrerender(mProfile, GOOGLE_URL, "", 0, 0); in testAddingPrerendersInaRow()
101 long newWebContentsPtr = mHandler.addPrerender(mProfile, YOUTUBE_URL, "", 0, 0); in testAddingPrerendersInaRow()
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/display/
DDisplay.java47 private final DisplayHandler mHandler; field in Display
100 mHandler = new DisplayHandler(); in Display()
102 mHandler = new DisplayHandler(handler); in Display()
164 synchronized (mHandler) { in onServiceConnected()
183 mHandler.reportConnectionState(STATE_NOT_CONNECTED, null); in onServiceDisconnected()
184 mHandler.scheduleRebind(); in onServiceDisconnected()
194 mHandler.reportConnectionState(STATE_CONNECTED, displayProperties); in onDisplayConnected()
199 mHandler.reportConnectionState(STATE_NOT_CONNECTED, null); in onDisplayDisconnected()
204 mHandler.reportInputEvent(inputEvent); in onInput()
213 mHandler.scheduleRebind(); in doBindService()
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
DMockLocationProvider.java21 private Handler mHandler; field in MockLocationProvider
46 mHandler.sendEmptyMessage(UPDATE_LOCATION_MSG); in start()
55 mHandler.removeMessages(UPDATE_LOCATION_MSG); in stop()
66 assert mHandler == null; in startMockLocationProviderThread()
70 mHandler = new Handler(mHandlerThread.getLooper()) { in startMockLocationProviderThread()
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/translate/
DTranslatorManager.java76 private final TranslatorManagerHandler mHandler = field in TranslatorManager
103 mHandler.destroy(); in destroy()
130 mHandler.scheduleRebind(); in doBindService()
165 synchronized (mHandler) { in onServiceConnected()
180 mHandler.scheduleRebind(); in onServiceDisconnected()
221 mHandler.onInit(status); in onInit()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/banners/
DInstallerDelegate.java36 private final Handler mHandler; field in InstallerDelegate
68 mHandler = new Handler(looper); in InstallerDelegate()
82 mHandler.postDelayed(this, mMsBetweenRuns); in start()
97 mHandler.postDelayed(this, mMsBetweenRuns); in run()
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/
DSelfBrailleClient.java78 private final SelfBrailleHandler mHandler = new SelfBrailleHandler(); field in SelfBrailleClient
128 mHandler.scheduleRebind(); in doBindService()
204 mHandler.unbindService(); in onServiceConnected()
209 synchronized (mHandler) { in onServiceConnected()
219 mHandler.scheduleRebind(); in onServiceDisconnected()
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
DTapGestureDetector.java42 private Handler mHandler; field in TapGestureDetector
72 mHandler = new EventHandler(); in TapGestureDetector()
85 mHandler.sendEmptyMessageDelayed(0, ViewConfiguration.getLongPressTimeout()); in onTouchEvent()
185 mHandler.removeMessages(0); in cancelLongTouchNotification()
/external/chromium_org/base/android/java/src/org/chromium/base/
DPowerMonitor.java27 private final Handler mHandler = new Handler(Looper.getMainLooper()); field in PowerMonitor
83 mHandler.removeCallbacks(sSuspendTask); in onApplicationStateChange()
86 mHandler.postDelayed(sSuspendTask, SUSPEND_DELAY_MS); in onApplicationStateChange()
/external/chromium_org/ui/android/java/src/org/chromium/ui/
DVSyncMonitor.java62 private final Handler mHandler = new Handler(); field in VSyncMonitor
203 mHandler.post(mSyntheticVSyncRunnable); in postSyntheticVSync()
225 if (delay == 0) mHandler.post(mVSyncRunnableCallback); in postRunnableCallback()
226 else mHandler.postDelayed(mVSyncRunnableCallback, delay / NANOSECONDS_PER_MILLISECOND); in postRunnableCallback()
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/
DNestedSystemMessageHandler.java31 private static final Handler mHandler = new Handler(); field in NestedSystemMessageHandler
48 mHandler.sendMessage(mHandler.obtainMessage(QUIT_MESSAGE)); in runNestedLoopTillIdle()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/appmenu/
DAppMenu.java53 private AppMenuHandler mHandler; field in AppMenu
72 mHandler = handler; in AppMenu()
105 mHandler.onMenuVisibilityChanged(false); in show()
171 mHandler.onMenuVisibilityChanged(true); in show()
233 mHandler.onOptionsItemSelected(menuItem); in onItemClick()
266 mHandler.appMenuDismissed(); in dismiss()
/external/skia/platform_tools/android/app/src/com/skia/
DSkiaSampleActivity.java204 private Handler mHandler = new Handler() { field in SkiaSampleActivity
228 mHandler.obtainMessage(SET_TITLE, title).sendToTarget(); in setTitle()
233 mHandler.obtainMessage(SET_SLIDES, slideList).sendToTarget(); in setSlideList()
242 mHandler.obtainMessage(TOAST_DOWNLOAD, failed).sendToTarget(); in addToDownloads()
246 mHandler.obtainMessage(TOAST_DOWNLOAD, toast).sendToTarget(); in addToDownloads()
DSkiaSampleRenderer.java21 private Handler mHandler = new Handler(); field in SkiaSampleRenderer
64 mHandler.postDelayed(new Runnable() { in startTimer()
/external/chromium_org/third_party/skia/platform_tools/android/app/src/com/skia/
DSkiaSampleActivity.java204 private Handler mHandler = new Handler() { field in SkiaSampleActivity
228 mHandler.obtainMessage(SET_TITLE, title).sendToTarget(); in setTitle()
233 mHandler.obtainMessage(SET_SLIDES, slideList).sendToTarget(); in setSlideList()
242 mHandler.obtainMessage(TOAST_DOWNLOAD, failed).sendToTarget(); in addToDownloads()
246 mHandler.obtainMessage(TOAST_DOWNLOAD, toast).sendToTarget(); in addToDownloads()
DSkiaSampleRenderer.java21 private Handler mHandler = new Handler(); field in SkiaSampleRenderer
64 mHandler.postDelayed(new Runnable() { in startTimer()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/
DAccessibilityTabModelListItem.java127 private final Handler mHandler = new Handler(); field in AccessibilityTabModelListItem
157 mHandler.postDelayed(mCloseRunnable, mCloseTimeoutMs);
307 mHandler.removeCallbacks(mCloseRunnable); in onClick()
356 mHandler.removeCallbacks(mCloseRunnable); in onTouchEvent()
399 mHandler.removeCallbacks(mCloseRunnable); in resetState()
404 if (hasPendingClosure) mHandler.postDelayed(mCloseRunnable, mCloseTimeoutMs); in resetState()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/
DSmartClipProviderTest.java78 private Handler mHandler; field in SmartClipProviderTest
90 mHandler = new Handler(mHandlerThread.getLooper(), this); in setUp()
167 mSetSmartClipResultHandlerMethod.invoke(scp, mHandler); in testSmartClipDataCallback()
/external/chromium_org/media/base/android/java/src/org/chromium/media/
DMediaDrmBridge.java73 private Handler mHandler; field in MediaDrmBridge
161 mHandler = new Handler(); in MediaDrmBridge()
461 mHandler.post(new Runnable(){ in resumePendingOperations()
718 mHandler.post(new Runnable(){ in onSessionCreated()
727 mHandler.post(new Runnable(){ in onSessionMessage()
737 mHandler.post(new Runnable() { in onSessionReady()
746 mHandler.post(new Runnable() { in onSessionClosed()
756 mHandler.post(new Runnable() { in onSessionError()
DUsbMidiDeviceAndroid.java50 private final Handler mHandler; field in UsbMidiDeviceAndroid
81 mHandler = new Handler(); in UsbMidiDeviceAndroid()
168 mHandler.post(new Runnable() { in postOnDataEvent()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DImeAdapter.java124 private final Handler mHandler; field in ImeAdapter
139 mHandler = new Handler(); in ImeAdapter()
222 mHandler.removeCallbacks(mDismissInput); in updateKeyboardVisibility()
235 mHandler.postDelayed(mDismissInput, INPUT_DISMISS_DELAY); in updateKeyboardVisibility()
552 if (mDismissInput != null) mHandler.removeCallbacks(mDismissInput); in detach()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DBookmarksBridge.java495 private final BookmarksBridge mHandler; field in BookmarksBridge.DelayedBookmarkCallback
502 mHandler = handler; in DelayedBookmarkCallback()
511 mHandler.getBookmarksForFolder(mFolderId, mCallback); in callCallbackMethod()
514 mHandler.getCurrentFolderHierarchy(mFolderId, mCallback); in callCallbackMethod()

12