Home
last modified time | relevance | path

Searched refs:mCallback (Results 1 – 25 of 66) sorted by relevance

123

/packages/apps/Dialer/src/com/android/dialer/list/
DSwipeHelper.java76 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/
DViewDragHelper.java138 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/
DSwipeHelper.java70 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/
DEasLoadAttachment.java63 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/
DBluetoothOppObexServerSession.java73 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 …]
DBluetoothOppObexClientSession.java76 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 …]
DBluetoothOppRfcommListener.java61 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/
DInstallPackageTask.java45 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()
DAddWifiNetworkTask.java49 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()
DDownloadPackageTask.java55 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);
DSetDevicePolicyTask.java36 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()
DDeleteNonRequiredAppsTask.java62 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/
DVolumeSeekBarPreference.java42 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()
DZenModeSettings.java569 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/
DSnepBasicTests.java48 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/
DLauncherAppsCompatVL.java108 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/
DNetworkMonitor.java42 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/
DDeleteEventHelper.java76 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/
DRefreshStatusMonitor.java94 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/
DSnepServer.java44 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/
DAutoInstallsLayout.java117 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/
DBluetoothMapObexServer.java81 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/
DP2pEventManager.java35 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/
DHealthService.java176 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/
DEmergencyCallHelper.java86 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()

123