/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | SwipeHelper.java | 70 private final Callback mCallback; field in SwipeHelper 86 mCallback = callback; in SwipeHelper() 208 View view = mCallback.getChildAtPosition(ev); in onInterceptTouchEvent() 215 mCanCurrViewBeDimissed = mCallback.canChildBeDismissed(mCurrView); in onInterceptTouchEvent() 220 mCallback.cancelDismissCounter(); in onInterceptTouchEvent() 233 mCallback.onScroll(); in onInterceptTouchEvent() 241 mCallback.onBeginDrag(mCurrView.getSwipeableView().getView()); in onInterceptTouchEvent() 242 mPrevView = mCallback.getLastSwipedItem(); in onInterceptTouchEvent() 268 final boolean canAnimViewBeDismissed = mCallback.canChildBeDismissed(view); in dismissChild() 277 mCallback.onChildDismissed(view); in dismissChild() [all …]
|
D | GmailDragHelper.java | 63 private final GmailDragHelperCallback mCallback; field in GmailDragHelper 83 mCallback = callback; in GmailDragHelper() 117 mCallback.onDrag(ev.getX() - mStartDragX); in processTouchEvent() 164 mCallback.onDragStarted(); in setDragging() 174 mCallback.onDragEnded(evX - mStartDragX, xVelocity, isFling); in setDragging()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | InstallPackageTask.java | 51 private final Callback mCallback; field in InstallPackageTask 64 mCallback = callback; in InstallPackageTask() 91 mCallback.onSuccess(); in run() 123 mCallback.onError(ERROR_PACKAGE_INVALID); in packageContentIsCorrect() 130 mCallback.onError(ERROR_PACKAGE_INVALID); in packageContentIsCorrect() 140 mCallback.onError(ERROR_PACKAGE_INVALID); in packageContentIsCorrect() 155 mCallback.onError(ERROR_PACKAGE_INVALID); in packageInstalled() 173 mCallback.onError(ERROR_INSTALLATION_FAILED); in packageInstalled() 191 mCallback.onSuccess(); in checkSuccess() 206 mCallback.onError(ERROR_PACKAGE_INVALID); in installExistingPackage()
|
D | AddWifiNetworkTask.java | 48 private final Callback mCallback; field in AddWifiNetworkTask 64 mCallback = callback; in AddWifiNetworkTask() 79 mCallback.onSuccess(); in run() 84 mCallback.onError(); in run() 89 mCallback.onSuccess(); in run() 118 mCallback.onError(); in connectToProvidedNetwork() 126 mCallback.onError(); in connectToProvidedNetwork() 139 mCallback.onError(); in connectToProvidedNetwork() 164 mCallback.onSuccess(); in onNetworkConnected()
|
D | DownloadPackageTask.java | 63 private final Callback mCallback; field in DownloadPackageTask 71 mCallback = callback; in DownloadPackageTask() 89 mCallback.onSuccess(); in run() 186 mCallback.onError(ERROR_HASH_MISMATCH); 266 mCallback.onSuccess(); 273 mCallback.onError(ERROR_DOWNLOAD_FAILED); 284 mCallback.onError(ERROR_OTHER); 301 mCallback.onError(ERROR_OTHER); 337 mCallback.onError(ERROR_OTHER);
|
D | SetDevicePolicyTask.java | 41 private final Callback mCallback; field in SetDevicePolicyTask 54 mCallback = callback; in SetDevicePolicyTask() 84 mCallback.onError(ERROR_OTHER); in run() 98 mCallback.onError(ERROR_OTHER); in run() 102 mCallback.onSuccess(); in run() 139 mCallback.onError(ERROR_OTHER); in setDeviceInitializer()
|
D | DeleteNonRequiredAppsTask.java | 75 private final Callback mCallback; field in DeleteNonRequiredAppsTask 102 mCallback = callback; in DeleteNonRequiredAppsTask() 143 mCallback.onSuccess(); in run() 161 mCallback.onError(); in run() 184 mCallback.onSuccess(); in run() 346 mCallback.onError(); in packageDeleted() 353 mCallback.onSuccess(); in packageDeleted()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexServerSession.java | 75 private Handler mCallback = null; field in BluetoothOppObexServerSession 133 mCallback = handler; in start() 156 mCallback = null; in stop() 321 if (mCallback != null && !mTimeoutMsgSent) { in onPut() 322 mCallback.sendMessageDelayed(mCallback in onPut() 335 if (mCallback != null && mTimeoutMsgSent) { in onPut() 336 mCallback.removeMessages(BluetoothOppObexSession.MSG_CONNECT_TIMEOUT); in onPut() 387 Message msg = Message.obtain(mCallback, BluetoothOppObexSession.MSG_SHARE_COMPLETE); in onPut() 391 if (mCallback != null) { in onPut() 392 Message msg = Message.obtain(mCallback, in onPut() [all …]
|
D | BluetoothOppObexClientSession.java | 76 private Handler mCallback; field in BluetoothOppObexClientSession 88 mCallback = handler; in start() 106 mCallback = null; in stop() 198 Message msg = Message.obtain(mCallback); in run() 292 Message msg = Message.obtain(mCallback); in doSend() 297 Message msg = Message.obtain(mCallback); in doSend() 405 mCallback.sendMessageDelayed(mCallback in sendFile() 418 mCallback.removeMessages(BluetoothOppObexSession.MSG_CONNECT_TIMEOUT); in sendFile() 426 mCallback.removeMessages(BluetoothOppObexSession.MSG_CONNECT_TIMEOUT); in sendFile() 552 mCallback.removeMessages(BluetoothOppObexSession.MSG_CONNECT_TIMEOUT); in handleSendException() [all …]
|
D | BluetoothOppRfcommListener.java | 63 private Handler mCallback; field in BluetoothOppRfcommListener 80 mCallback = callback; in start() 100 msg.setTarget(mCallback); in start() 166 msg.setTarget(mCallback); in start() 224 mCallback = null; in stop()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
D | AndroidCameraCaptureSessionProxy.java | 35 private final CaptureCallback mCallback; field in AndroidCameraCaptureSessionProxy.AndroidCaptureCallback 38 mCallback = callback; in AndroidCaptureCallback() 44 mCallback.onCaptureStarted(AndroidCameraCaptureSessionProxy.this, request, timestamp, in onCaptureStarted() 51 mCallback.onCaptureProgressed(AndroidCameraCaptureSessionProxy.this, request, in onCaptureProgressed() 58 mCallback.onCaptureCompleted(AndroidCameraCaptureSessionProxy.this, request, result); in onCaptureCompleted() 64 mCallback.onCaptureFailed(AndroidCameraCaptureSessionProxy.this, request, failure); in onCaptureFailed() 70 mCallback.onCaptureSequenceCompleted(AndroidCameraCaptureSessionProxy.this, in onCaptureSequenceCompleted() 76 mCallback.onCaptureSequenceAborted(AndroidCameraCaptureSessionProxy.this, sequenceId); in onCaptureSequenceAborted()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | VolumeSeekBarPreference.java | 46 private Callback mCallback; field in VolumeSeekBarPreference 79 mCallback = callback; in setCallback() 115 if (mCallback != null) { in init() 116 mCallback.onSampleStarting(sbv); in init() 121 if (mCallback != null) { in init() 122 mCallback.onStreamValueChanged(mStream, progress); in init() 140 mCallback.onStreamValueChanged(mStream, mSeekBar.getProgress()); in init() 152 mCallback.onStreamValueChanged(mStream, progress); in onProgressChanged()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | LauncherAppsCompatVL.java | 110 private LauncherAppsCompat.OnAppsChangedCallbackCompat mCallback; field in LauncherAppsCompatVL.WrappedCallback 113 mCallback = callback; in WrappedCallback() 117 mCallback.onPackageRemoved(packageName, UserHandleCompat.fromUser(user)); in onPackageRemoved() 121 mCallback.onPackageAdded(packageName, UserHandleCompat.fromUser(user)); in onPackageAdded() 125 mCallback.onPackageChanged(packageName, UserHandleCompat.fromUser(user)); in onPackageChanged() 129 mCallback.onPackagesAvailable(packageNames, UserHandleCompat.fromUser(user), replacing); in onPackagesAvailable() 134 mCallback.onPackagesUnavailable(packageNames, UserHandleCompat.fromUser(user), in onPackagesUnavailable()
|
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
D | SnepBasicTests.java | 48 SnepServer.handleRequest(server, mCallback); in testGetSmallNdef() 79 SnepServer.handleRequest(server, mCallback); in testGetLargeNdef() 110 SnepServer.handleRequest(server, mCallback); in testGetExcessiveNdef() 141 SnepServer.handleRequest(server, mCallback); in testPutSmallNdef() 172 SnepServer.handleRequest(server, mCallback); in testPutLargeNdef() 203 SnepServer.handleRequest(server, mCallback); in testUnsupportedVersion() 237 SnepServer.handleRequest(server, mCallback); in testDifferentMinorVersion() 282 final SnepServer.Callback mCallback = new SnepServer.Callback() { field in SnepBasicTests
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | NetworkMonitor.java | 42 private Callback mCallback = null; field in NetworkMonitor 58 mCallback = callback; in NetworkMonitor() 78 if (mCallback == null) { in close() 81 mCallback = null; in close() 99 mCallback.onNetworkConnected(); 101 mCallback.onNetworkDisconnected();
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DeleteEventHelper.java | 76 private Runnable mCallback; field in DeleteEventHelper 140 if (mCallback != null) { 141 mCallback.run(); 157 if (mCallback != null) { 158 mCallback.run(); 220 mCallback = callback; in delete() 436 if (mCallback != null) { in deleteRepeatingEvent() 437 mCallback.run(); in deleteRepeatingEvent()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | RefreshStatusMonitor.java | 94 private final Callback mCallback; field in RefreshStatusMonitor.RemoveRefreshStatusRunnable 101 mCallback = callback; in RemoveRefreshStatusRunnable() 113 mCallback.onRefreshCompleted( in run() 120 mCallback.onRefreshCompleted( in run() 136 mCallback.onTimeout(mMailboxId); in run() 147 mCallback.onRefreshCompleted( in run()
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/ |
D | InstallPackageTaskTest.java | 51 private InstallPackageTask.Callback mCallback; field in InstallPackageTaskTest 76 mCallback = mock(InstallPackageTask.Callback.class); in setUp() 87 mTask = new InstallPackageTask(mContext, mCallback); in setUp() 93 verify(mCallback, times(1)).onSuccess(); in testInstall_NoPackages() 119 verify(mCallback, times(1)).onSuccess(); in testInstall_OnePackage() 142 verify(mCallback, times(1)).onSuccess(); in testInstall_InstallFailedVersionDowngrade()
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepServer.java | 44 final Callback mCallback; field in SnepServer 61 mCallback = callback; in SnepServer() 70 mCallback = callback; in SnepServer() 79 mCallback = callback; in SnepServer() 88 mCallback = callback; in SnepServer() 117 if (!handleRequest(mMessager, mCallback)) { in run()
|
/packages/apps/Dialer/src/com/android/dialer/widget/ |
D | SearchEditTextLayout.java | 64 private Callback mCallback; field in SearchEditTextLayout 83 mCallback = listener; in setCallback() 133 if (mCallback != null) { in onFinishInflate() 134 mCallback.onSearchViewClicked(); in onFinishInflate() 164 if (mCallback != null) { in onFinishInflate() 165 mCallback.onBackButtonClicked(); in onFinishInflate()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | P2pEventManager.java | 37 final P2pEventListener.Callback mCallback; field in P2pEventManager 51 mCallback = callback; in P2pEventManager() 108 mCallback.onP2pSendConfirmed(); in onP2pSendConfirmationRequested() 177 mCallback.onP2pSendConfirmed(); in onSendConfirmed() 186 mCallback.onP2pCanceled(); in onCanceled()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | EmergencyCallHelper.java | 86 private Callback mCallback; // The callback to notify upon completion. field in EmergencyCallHelper 132 mCallback = callback; in startSequenceInternal() 328 if (mCallback != null) { in onComplete() 329 Callback tempCallback = mCallback; in onComplete() 330 mCallback = null; in onComplete()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 150 protected final LayoutParserCallback mCallback; field in AutoInstallsLayout 176 mCallback = callback; in AutoInstallsLayout() 285 long id = mCallback.generateNewItemId(); in addShortcut() 292 if (mCallback.insertAndCheck(mDb, mValues) < 0) { in addShortcut() 523 mValues.put(Favorites._ID, mCallback.generateNewItemId()); in parseAndAdd() 524 insertedId = mCallback.insertAndCheck(mDb, mValues); in parseAndAdd() 571 mValues.put(Favorites._ID, mCallback.generateNewItemId()); in parseAndAdd() 572 long folderId = mCallback.insertAndCheck(mDb, mValues); in parseAndAdd()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | HandoverServer.java | 47 final Callback mCallback; field in HandoverServer 62 mCallback = callback; in HandoverServer() 207 mCallback.onHandoverBusy(); in run() 230 mCallback.onHandoverRequestReceived(); in run() 232 mCallback.onHandoverBusy(); in run()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
D | HealthService.java | 176 IBinder binder = appInfo.mCallback.asBinder(); in handleMessage() 515 IBluetoothHealthCallback callback = (mApps.get(config)).mCallback; in callStatusCallback() 608 IBluetoothHealthCallback callback = (mApps.get(config)).mCallback; in callHealthChannelCallback() 809 private IBluetoothHealthCallback mCallback; field in HealthService.AppInfo 814 mCallback = callback; in AppInfo() 820 if(mCallback != null){ in cleanup() 822 IBinder binder = mCallback.asBinder(); in cleanup() 831 mCallback = null; in cleanup()
|