/packages/apps/Email/tests/src/com/android/email/activity/ |
MailboxFinderTest.java | 53 private MockCallback mCallback; 65 mCallback = new MockCallback(); 128 mCallback); 143 return mCallback.isAnyMethodCalled() || mMockController.mCalledUpdateMailboxList; 157 assertFalse(mCallback.mCalledAccountNotFound); 158 assertTrue(mCallback.mCalledAccountSecurityHold); 159 assertFalse(mCallback.mCalledMailboxFound); 160 assertFalse(mCallback.mCalledMailboxNotFound); 173 assertTrue(mCallback.mCalledAccountNotFound); 174 assertFalse(mCallback.mCalledAccountSecurityHold) [all...] |
MessageOrderManagerTest.java | 36 private MyCallback mCallback; 40 mCallback = new MyCallback(); 53 MessageOrderManagerForTest mom = new MessageOrderManagerForTest(getContext(), 1, mCallback); 74 mCallback.assertCallbacksCalled(false, false); 87 MessageOrderManagerForTest mom = new MessageOrderManagerForTest(getContext(), 1, mCallback); 91 mCallback.assertCallbacksCalled(false, false); 101 mCallback.assertCallbacksCalled(false, false); 106 mCallback.assertCallbacksCalled(true, false); 115 mCallback.assertCallbacksCalled(true, false); 121 mCallback.assertCallbacksCalled(false, false) [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteDiscoveryFragment.java | 41 private MediaRouter.Callback mCallback; 92 if (mCallback != null) { 93 mRouter.removeCallback(mCallback); 94 mRouter.addCallback(mSelector, mCallback, 145 mCallback = onCreateCallback(); 146 if (mCallback != null) { 147 mRouter.addCallback(mSelector, mCallback, onPrepareCallbackFlags()); 153 if (mCallback != null) { 154 mRouter.removeCallback(mCallback); 155 mCallback = null [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
EmailServiceProxy.java | 66 private final IEmailServiceCallback mCallback; 87 mCallback = _callback; 100 mCallback = _callback; 111 mCallback = _callback; 146 if (mCallback != null) mService.setCallback(mCallback); 151 if (mCallback != null) { 152 mCallback.loadAttachmentStatus(-1, attachmentId, 175 if (mCallback != null) mService.setCallback(mCallback); [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
ClearCacheRequest.java | 32 private final Runnable mCallback; 43 mCallback = callback; 50 if (mCallback != null) { 52 handler.postAtFrontOfQueue(mCallback);
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
CompatTabHoneycomb.java | 35 CompatTabListener mCallback; 57 mCallback = callback; 79 return mCallback; 86 mCallback.onTabReselected(this, ft); 94 mCallback.onTabSelected(this, ft); 102 mCallback.onTabUnselected(this, ft);
|
CompatTabEclair.java | 27 private CompatTabListener mCallback; 50 mCallback = callback; 82 return mCallback;
|
/cts/libs/util/src/android/cts/util/ |
WatchDog.java | 35 private TimeoutCallback mCallback = null; 43 mCallback = callback; 84 if (mCallback == null) { 87 mCallback.onTimeout();
|
/frameworks/base/core/java/android/os/ |
RemoteCallbackList.java | 57 final E mCallback; 61 mCallback = callback; 67 mCallbacks.remove(mCallback.asBinder()); 69 onCallbackDied(mCallback, mCookie); 145 cb.mCallback.asBinder().unlinkToDeath(cb, 0); 163 cb.mCallback.asBinder().unlinkToDeath(cb, 0); 271 return ((Callback)mActiveBroadcast[index]).mCallback;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
SymmetricalLinearTween.java | 32 TweenCallback mCallback; 47 mCallback = callback; 75 mCallback.onTweenStarted(); 105 mCallback.onTweenValueChanged(val, old); 112 mCallback.onTweenFinished();
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardAbsKeyInputView.java | 43 protected KeyguardSecurityCallback mCallback; 64 mCallback = callback; 110 mCallback.userActivity(0); // TODO: customize timeout for text? 122 if (mCallback != null) { 123 mCallback.userActivity(0); 153 mCallback.reportSuccessfulUnlockAttempt(); 154 mCallback.dismiss(true); 158 mCallback.reportFailedUnlockAttempt(); 159 if (0 == (mCallback.getFailedAttempts() 192 mCallback.userActivity(0) [all...] |
KeyguardAccountView.java | 58 private KeyguardSecurityCallback mCallback; 103 mCallback = callback; 111 return mCallback; 122 if (mCallback != null) { 123 mCallback.userActivity(AWAKE_POKE_MILLIS); 153 mCallback = null; 158 mCallback.userActivity(0); 181 mCallback.reportSuccessfulUnlockAttempt(); 184 mCallback.dismiss(true); 188 mCallback.reportFailedUnlockAttempt() [all...] |
/frameworks/base/core/java/android/view/ |
Window.java | 131 private Callback mCallback; 553 mCallback = callback; 560 return mCallback; 603 if (mCallback != null) { 604 mCallback.onWindowAttributesChanged(attrs); 622 if (mCallback != null) { 623 mCallback.onWindowAttributesChanged(attrs); 636 if (mCallback != null) { 637 mCallback.onWindowAttributesChanged(attrs); 661 if (mCallback != null) [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
ExtractEditLayout.java | 97 private ActionMode.Callback mCallback; 103 mCallback = cb; 141 mCallback.onPrepareActionMode(this, mMenu); 150 return mCallback.onCreateActionMode(this, mMenu); 163 mCallback.onDestroyActionMode(this); 164 mCallback = null; 201 if (mCallback != null) { 202 return mCallback.onActionItemClicked(this, item);
|
/frameworks/wilhelm/src/itf/ |
IVisualization.c | 32 thiz->mCallback = callback; 67 thiz->mCallback = NULL;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
KubeRenderer.java | 36 mCallback = callback; 40 if (mCallback != null) { 41 mCallback.animate(); 112 private AnimationCallback mCallback;
|
/packages/apps/Email/src/com/android/email/activity/ |
MessageCommandButtonView.java | 45 private Callback mCallback = EmptyCallback.INSTANCE; 88 mCallback = (callback == null) ? EmptyCallback.INSTANCE : callback; 114 mCallback.onMoveToNewer(); 117 mCallback.onMoveToOlder();
|
MailboxFinder.java | 53 private final Callback mCallback; 82 mCallback = callback; 137 mCallback.onMailboxNotFound(mAccountId); 208 mCallback.onAccountSecurityHold(mAccountId); 216 mCallback.onAccountNotFound(); 224 mCallback.onMailboxNotFound(mAccountId); 234 mCallback.onMailboxFound(mAccountId, mailboxId);
|
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/ |
HeadlinesFragment.java | 26 OnHeadlineSelectedListener mCallback; 64 mCallback = (OnHeadlineSelectedListener) activity; 74 mCallback.onArticleSelected(position);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapAuthenticator.java | 55 private Handler mCallback; 58 mCallback = callback; 77 Message msg = Message.obtain(mCallback);
|
/packages/apps/Gallery/src/com/android/camera/ |
ReverseGeocoderTask.java | 38 private Callback mCallback; 45 mCallback = callback; 72 mCallback.onComplete(location);
|
/frameworks/base/core/java/com/android/internal/view/ |
StandaloneActionMode.java | 36 private ActionMode.Callback mCallback; 47 mCallback = callback; 93 mCallback.onPrepareActionMode(this, mMenu); 104 mCallback.onDestroyActionMode(this); 133 return mCallback.onActionItemClicked(this, item);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
PhotoViewFragment.java | 106 protected PhotoViewCallbacks mCallback; 157 mCallback = (PhotoViewCallbacks) getActivity(); 158 if (mCallback == null) { 162 mAdapter = mCallback.getAdapter(); 177 mCallback = null; 257 mCallback.addScreenListener(mPosition, this); 258 mCallback.addCursorListener(this); 285 mCallback.removeCursorListener(this); 286 mCallback.removeScreenListener(mPosition); 377 mCallback.onNewPhotoLoaded(mPosition) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/ |
SwipeHelper.java | 74 private final Callback mCallback; 92 mCallback = callback; 208 mCurrView = mCallback.getChildAtPosition(ev); 243 mCurrAnimView = mCallback.getChildContentView(mCurrView); 245 mCanCurrViewBeDimissed = mCallback.canChildBeDismissed(mCurrView); 261 mCallback.onScroll(); 269 mCallback.onBeginDrag(mCallback.getChildContentView(mCurrView)); 294 final View animView = mCallback.getChildContentView(view); 295 final boolean canAnimViewBeDismissed = mCallback.canChildBeDismissed(view) [all...] |
/frameworks/base/core/java/android/hardware/location/ |
GeofenceHardware.java | 447 private WeakReference<GeofenceHardwareMonitorCallback> mCallback; 450 mCallback = new WeakReference<GeofenceHardwareMonitorCallback>(c); 455 GeofenceHardwareMonitorCallback c = mCallback.get(); 461 private WeakReference<GeofenceHardwareCallback> mCallback; 464 mCallback = new WeakReference<GeofenceHardwareCallback>(c); 469 GeofenceHardwareCallback c = mCallback.get(); 477 GeofenceHardwareCallback c = mCallback.get(); 482 GeofenceHardwareCallback c = mCallback.get(); 490 GeofenceHardwareCallback c = mCallback.get(); 497 GeofenceHardwareCallback c = mCallback.get() [all...] |