/packages/apps/Dialer/src/com/android/dialer/list/ |
D | SwipeHelper.java | 76 private final SwipeHelperCallback mCallback; field in SwipeHelper 97 mCallback = callback; in SwipeHelper() 220 mCurrView = mCallback.getChildAtPosition(ev); in onInterceptTouchEvent() 223 mCurrAnimView = mCallback.getChildContentView(mCurrView); in onInterceptTouchEvent() 225 mCanCurrViewBeDimissed = mCallback.canChildBeDismissed(mCurrView); in onInterceptTouchEvent() 241 mCallback.onScroll(); in onInterceptTouchEvent() 249 mCallback.onBeginDrag(mCallback.getChildContentView(mCurrView)); in onInterceptTouchEvent() 274 final View animView = mCallback.getChildContentView(view); in dismissChild() 275 final boolean canAnimViewBeDismissed = mCallback.canChildBeDismissed(view); in dismissChild() 284 mCallback.onChildDismissed(view); in dismissChild() [all …]
|
/packages/apps/Dialer/src/com/android/dialer/widget/ |
D | ViewDragHelper.java | 138 private final Callback mCallback; field in ViewDragHelper 388 mCallback = cb; in ViewDragHelper() 473 mCallback.onViewCaptured(childView, activePointerId); in captureChildView() 525 mCallback.onViewPositionChanged(mCapturedView, newX, newY, newX - oldX, newY - oldY); in abort() 618 int xduration = computeAxisDuration(dx, xvel, mCallback.getViewHorizontalDragRange(child)); in computeSettleDuration() 619 int yduration = computeAxisDuration(dy, yvel, mCallback.getViewVerticalDragRange(child)); in computeSettleDuration() 776 mCallback.onViewPositionChanged(mCapturedView, 0, y, 0, dy); 811 mCallback.onViewFling(mCapturedView, xvel, yvel); 828 mCallback.onViewReleased(mCapturedView, xvel, yvel); 934 mCallback.onViewDragStateChanged(state); [all …]
|
/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 …]
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
D | EasLoadAttachment.java | 63 private final IEmailServiceCallback mCallback; field in EasLoadAttachment 81 mCallback = callback; in EasLoadAttachment() 104 private final IEmailServiceCallback mCallback; field in EasLoadAttachment.ProgressCallback 109 mCallback = callback; in ProgressCallback() 114 doStatusCallback(mCallback, mAttachment.mMessageKey, mAttachment.mId, in doCallback() 153 doStatusCallback(mCallback, -1, mAttachmentId, EmailServiceStatus.ATTACHMENT_NOT_FOUND, in performOperation() 159 doStatusCallback(mCallback, -1, mAttachmentId, EmailServiceStatus.ATTACHMENT_NOT_FOUND, in performOperation() 167 doStatusCallback(mCallback, mAttachment.mMessageKey, mAttachmentId, in performOperation() 173 doStatusCallback(mCallback, mAttachment.mMessageKey, mAttachmentId, in performOperation() 184 doStatusCallback(mCallback, mAttachment.mMessageKey, mAttachmentId, in performOperation() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexServerSession.java | 73 private Handler mCallback = null; field in BluetoothOppObexServerSession 133 mCallback = handler; in start() 156 mCallback = null; in stop() 317 if (mCallback != null && !mTimeoutMsgSent) { in onPut() 318 mCallback.sendMessageDelayed(mCallback in onPut() 331 if (mCallback != null && mTimeoutMsgSent) { in onPut() 332 mCallback.removeMessages(BluetoothOppObexSession.MSG_CONNECT_TIMEOUT); in onPut() 383 Message msg = Message.obtain(mCallback, BluetoothOppObexSession.MSG_SHARE_COMPLETE); in onPut() 387 if (mCallback != null) { in onPut() 388 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() 547 mCallback.removeMessages(BluetoothOppObexSession.MSG_CONNECT_TIMEOUT); in handleSendException() [all …]
|
D | BluetoothOppRfcommListener.java | 61 private Handler mCallback; field in BluetoothOppRfcommListener 78 mCallback = callback; in start() 98 msg.setTarget(mCallback); in start() 164 msg.setTarget(mCallback); in start() 222 mCallback = null; in stop()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | InstallPackageTask.java | 45 private final Callback mCallback; field in InstallPackageTask 54 mCallback = callback; in InstallPackageTask() 63 mCallback.onError(ERROR_PACKAGE_INVALID); in run() 94 mCallback.onError(ERROR_PACKAGE_INVALID); in packageContentIsCorrect() 101 mCallback.onError(ERROR_PACKAGE_INVALID); in packageContentIsCorrect() 111 mCallback.onError(ERROR_PACKAGE_INVALID); in packageContentIsCorrect() 126 mCallback.onSuccess(); in packageInstalled() 132 mCallback.onSuccess(); in packageInstalled() 139 mCallback.onError(ERROR_INSTALLATION_FAILED); in packageInstalled()
|
D | AddWifiNetworkTask.java | 49 private final Callback mCallback; field in AddWifiNetworkTask 61 mCallback = callback; in AddWifiNetworkTask() 78 mCallback.onError(); in run() 88 mCallback.onError(); in run() 94 mCallback.onSuccess(); in run() 118 mCallback.onError(); in connectToProvidedNetwork() 124 mCallback.onError(); in connectToProvidedNetwork() 157 mCallback.onSuccess(); in onNetworkConnected()
|
D | DownloadPackageTask.java | 55 private final Callback mCallback; field in DownloadPackageTask 66 mCallback = callback; in DownloadPackageTask() 144 mCallback.onSuccess(); 152 mCallback.onError(ERROR_HASH_MISMATCH); 160 mCallback.onError(ERROR_DOWNLOAD_FAILED); 171 mCallback.onError(ERROR_OTHER); 188 mCallback.onError(ERROR_OTHER);
|
D | SetDevicePolicyTask.java | 36 private final Callback mCallback; field in SetDevicePolicyTask 47 mCallback = callback; in SetDevicePolicyTask() 62 mCallback.onSuccess(); in run() 77 mCallback.onError(ERROR_NO_RECEIVER); in isPackageInstalled() 80 mCallback.onError(ERROR_PACKAGE_NOT_INSTALLED); in isPackageInstalled()
|
D | DeleteNonRequiredAppsTask.java | 62 private final Callback mCallback; field in DeleteNonRequiredAppsTask 80 mCallback = callback; in DeleteNonRequiredAppsTask() 126 mCallback.onSuccess(); in deleteNonRequiredApps() 170 mCallback.onSuccess(); in deleteNonRequiredApps() 317 mCallback.onError(); in packageDeleted() 322 mCallback.onSuccess(); in packageDeleted()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | VolumeSeekBarPreference.java | 42 private Callback mCallback; field in VolumeSeekBarPreference 67 mCallback = callback; in setCallback() 91 if (mCallback != null) { in onBindView() 92 mCallback.onSampleStarting(sbv); in onBindView() 104 mCallback.onStreamValueChanged(mStream, progress); in onBindView() 110 mCallback.onStreamValueChanged(mStream, mSeekBar.getProgress()); in onBindView() 118 mCallback.onStreamValueChanged(mStream, progress); in onProgressChanged()
|
D | ZenModeSettings.java | 569 private Callback mCallback; field in ZenModeSettings.SettingPrefWithCallback 578 mCallback = callback; in setCallback() 592 if (mCallback != null) { in setSetting() 593 mCallback.onSettingSelected(value); in setSetting() 656 private Callback mCallback; field in ZenModeSettings.TimePickerPreference 674 mCallback = callback; in setCallback() 683 if (mCallback != null && !mCallback.onSetTime(hourOfDay, minute)) return; in setTime()
|
/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/Launcher3/src/com/android/launcher3/compat/ |
D | LauncherAppsCompatVL.java | 108 private LauncherAppsCompat.OnAppsChangedCallbackCompat mCallback; field in LauncherAppsCompatVL.WrappedCallback 111 mCallback = callback; in WrappedCallback() 115 mCallback.onPackageRemoved(packageName, UserHandleCompat.fromUser(user)); in onPackageRemoved() 119 mCallback.onPackageAdded(packageName, UserHandleCompat.fromUser(user)); in onPackageAdded() 123 mCallback.onPackageChanged(packageName, UserHandleCompat.fromUser(user)); in onPackageChanged() 127 mCallback.onPackagesAvailable(packageNames, UserHandleCompat.fromUser(user), replacing); in onPackagesAvailable() 132 mCallback.onPackagesUnavailable(packageNames, UserHandleCompat.fromUser(user), in onPackagesUnavailable()
|
/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/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/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/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 117 private final LayoutParserCallback mCallback; field in AutoInstallsLayout 131 mCallback = callback; in AutoInstallsLayout() 210 long id = mCallback.generateNewItemId(); in addShortcut() 217 if (mCallback.insertAndCheck(mDb, mValues) < 0) { in addShortcut() 410 mValues.put(Favorites._ID, mCallback.generateNewItemId()); in parseAndAdd() 411 insertedId = mCallback.insertAndCheck(mDb, mValues); in parseAndAdd() 450 mValues.put(Favorites._ID, mCallback.generateNewItemId()); in parseAndAdd() 451 long folderId = mCallback.insertAndCheck(mDb, mValues); in parseAndAdd()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 81 private Handler mCallback = null; field in BluetoothMapObexServer 109 mCallback = callback; in BluetoothMapObexServer() 283 if(mCallback != null) { in onConnect() 284 Message msg = Message.obtain(mCallback); in onConnect() 298 if (mCallback != null) { in onDisconnect() 299 Message msg = Message.obtain(mCallback); in onDisconnect() 625 if (mCallback != null) { in onClose() 626 Message msg = Message.obtain(mCallback); in onClose() 998 if(mCallback != null) { in notifyUpdateWakeLock() 999 Message msg = Message.obtain(mCallback); in notifyUpdateWakeLock()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | P2pEventManager.java | 35 final P2pEventListener.Callback mCallback; field in P2pEventManager 49 mCallback = callback; in P2pEventManager() 106 mCallback.onP2pSendConfirmed(); in onP2pSendConfirmationRequested() 166 mCallback.onP2pSendConfirmed(); in onSendConfirmed() 175 mCallback.onP2pCanceled(); in onCanceled()
|
/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() 792 private IBluetoothHealthCallback mCallback; field in HealthService.AppInfo 797 mCallback = callback; in AppInfo() 803 if(mCallback != null){ in cleanup() 805 IBinder binder = mCallback.asBinder(); in cleanup() 814 mCallback = null; in cleanup()
|
/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()
|