/packages/apps/Email/tests/src/com/android/email/ |
D | RefreshManagerTest.java | 37 private RefreshListener mListener; field in RefreshManagerTest 59 mListener = new RefreshListener(); in setUp() 62 mTarget.registerListener(mListener); in setUp() 75 mTarget.unregisterListener(mListener); in testRegisterUnregisterListener() 128 assertTrue(mListener.mCalledOnRefreshStatusChanged); in testRefreshMailboxList() 129 assertFalse(mListener.mCalledOnConnectionError); in testRefreshMailboxList() 130 assertEquals(ACCOUNT_1, mListener.mAccountId); in testRefreshMailboxList() 131 assertEquals(-1, mListener.mMailboxId); in testRefreshMailboxList() 132 mListener.reset(); in testRefreshMailboxList() 143 assertFalse(mListener.mCalledOnRefreshStatusChanged); in testRefreshMailboxList() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GestureRecognizer.java | 46 private final Listener mListener; field in GestureRecognizer 49 mListener = listener; in GestureRecognizer() 79 return mListener.onSingleTapUp(e.getX(), e.getY()); in onSingleTapUp() 84 return mListener.onDoubleTap(e.getX(), e.getY()); in onDoubleTap() 90 return mListener.onScroll( in onScroll() 97 return mListener.onFling(velocityX, velocityY); in onFling() 105 return mListener.onScaleBegin( in onScaleBegin() 111 return mListener.onScale(detector.getFocusX(), in onScale() 117 mListener.onScaleEnd(); in onScaleEnd() 124 mListener.onDown(e.getX(), e.getY()); in onDown() [all …]
|
D | SelectionManager.java | 39 private SelectionListener mListener; field in SelectionManager 66 mListener = listener; in setSelectionListener() 73 if (mListener != null) mListener.onSelectionModeChange(SELECT_ALL_MODE); in selectAll() 94 if (mListener != null) mListener.onSelectionModeChange(ENTER_SELECTION_MODE); in enterSelectionMode() 103 if (mListener != null) mListener.onSelectionModeChange(LEAVE_SELECTION_MODE); in leaveSelectionMode() 143 if (mListener != null) mListener.onSelectionChange(path, isItemSelected(path)); in toggle()
|
D | DownUpDetector.java | 28 private DownUpListener mListener; field in DownUpDetector 31 mListener = listener; in DownUpDetector() 38 mListener.onDown(e); in setState() 40 mListener.onUp(e); in setState()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactBrowseListFragment.java | 95 protected OnContactBrowserActionListener mListener; field in ContactBrowseListFragment 479 if (mListener != null) { in checkSelection() 480 mListener.onSelectionChange(); in checkSelection() 534 if (mListener != null) { in checkSelection() 535 mListener.onSelectionChange(); in checkSelection() 613 mListener = listener; in setOnContactListActionListener() 617 if (mListener != null) mListener.onCreateNewContactAction(); in createNewContact() 622 if (mListener != null) mListener.onViewContactAction(contactUri); in viewContact() 626 if (mListener != null) mListener.onEditContactAction(contactUri); in editContact() 630 if (mListener != null) mListener.onDeleteContactAction(contactUri); in deleteContact() [all …]
|
D | ContactPickerFragment.java | 40 private OnContactPickerActionListener mListener; field in ContactPickerFragment 54 mListener = listener; in setOnContactPickerActionListener() 113 mListener.onCreateNewContactAction(); in onItemClick() 138 mListener.onCreateNewContactAction(); in createNewContact() 142 mListener.onEditContactAction(contactUri); in editContact() 146 mListener.onPickContactAction(uri); in pickContact() 209 mListener.onShortcutIntentCreated(shortcutIntent); in onShortcutIntentCreated() 214 mListener.onPickContactAction(data.getData()); in onPickerResult()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | HandleView.java | 36 private MoveListener mListener; field in HandleView 93 mListener = listener; in setListener() 132 if (mListener != null) { in onTouchEvent() 133 mListener.onMoveBegin(this); in onTouchEvent() 152 if (mListener != null) { in onTouchEvent() 154 mListener.onMove(this, getLeft(), deltaX + getWidth()); in onTouchEvent() 156 mListener.onMove(this, getLeft(), deltaX); in onTouchEvent() 189 if (mListener != null) { in endActionMove() 192 mListener.onMoveEnd(this, getLeft(), deltaX + getWidth()); in endActionMove() 194 mListener.onMoveEnd(this, getLeft(), deltaX); in endActionMove()
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
D | NativeNfcManager.java | 65 private final DeviceHostListener mListener; field in NativeNfcManager 69 mListener = listener; in NativeNfcManager() 319 mListener.onRemoteEndpointDiscovered(tag); in notifyNdefMessageListeners() 326 mListener.onCardEmulationDeselected(); in notifyTargetDeselected() 333 mListener.onCardEmulationAidSelected(aid); in notifyTransactionListeners() 340 mListener.onLlcpLinkActivated(device); in notifyLlcpLinkActivation() 347 mListener.onLlcpLinkDeactivated(device); in notifyLlcpLinkDeactivated() 351 mListener.onRemoteFieldActivated(); in notifySeFieldActivated() 355 mListener.onRemoteFieldDeactivated(); in notifySeFieldDeactivated() 359 mListener.onSeListenActivated(); in notifySeListenActivated() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ShutterButton.java | 43 private OnShutterButtonListener mListener; field in ShutterButton 51 mListener = listener; in setOnShutterButtonListener() 99 if (mListener != null) { in callShutterButtonFocus() 100 mListener.onShutterButtonFocus(pressed); in callShutterButtonFocus() 107 if (mListener != null) { in performClick() 108 mListener.onShutterButtonClick(); in performClick()
|
D | LocationManager.java | 32 private Listener mListener; field in LocationManager 48 mListener = listener; in LocationManager() 97 if (mListener != null) mListener.showGpsOnScreenIndicator(false); in startReceivingLocationUpdates() 118 if (mListener != null) mListener.hideGpsOnScreenIndicator(); in stopReceivingLocationUpdates() 141 if (mListener != null && mRecordLocation && in onLocationChanged() 143 mListener.showGpsOnScreenIndicator(true); in onLocationChanged() 168 if (mListener != null && mRecordLocation && in onStatusChanged() 170 mListener.showGpsOnScreenIndicator(false); in onStatusChanged()
|
/packages/apps/Camera/src/com/android/camera/ |
D | LocationManager.java | 32 private Listener mListener; field in LocationManager 48 mListener = listener; in LocationManager() 97 if (mListener != null) mListener.showGpsOnScreenIndicator(false); in startReceivingLocationUpdates() 118 if (mListener != null) mListener.hideGpsOnScreenIndicator(); in stopReceivingLocationUpdates() 141 if (mListener != null && mRecordLocation && in onLocationChanged() 143 mListener.showGpsOnScreenIndicator(true); in onLocationChanged() 168 if (mListener != null && mRecordLocation && in onStatusChanged() 170 mListener.showGpsOnScreenIndicator(false); in onStatusChanged()
|
D | ShutterButton.java | 46 private OnShutterButtonListener mListener; field in ShutterButton 54 mListener = listener; in setOnShutterButtonListener() 116 if (mListener != null) { in callShutterButtonFocus() 117 mListener.onShutterButtonFocus(pressed); in callShutterButtonFocus() 124 if (mListener != null) { in performClick() 125 mListener.onShutterButtonClick(); in performClick()
|
D | CameraScreenNail.java | 56 private Listener mListener; field in CameraScreenNail 96 mListener = listener; in CameraScreenNail() 220 mListener.requestRender(); in copyTexture() 240 mListener.requestRender(); in animateCapture() 249 mListener.requestRender(); in animateFlash() 266 mListener.requestRender(); in animateSlide() 309 mListener.onPreviewTextureCopied(); in draw() 328 mListener.onCaptureTextureCopied(); in draw() 348 mListener.requestRender(); in draw() 403 mListener.requestRender(); in onFrameAvailable() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ |
D | StreamItemAdapterTest.java | 40 private FakeOnClickListener mListener; field in StreamItemAdapterTest 47 mListener = new FakeOnClickListener(); in setUp() 48 mAdapter = new StreamItemAdapter(getContext(), mListener, mPhotoListener); in setUp() 54 mListener = null; in tearDown() 95 assertFalse("listener should have not been invoked yet", mListener.clicked); in assertStreamItemViewHasOnClickListener() 97 assertTrue("listener should have been invoked", mListener.clicked); in assertStreamItemViewHasOnClickListener() 102 assertFalse("listener should have not been invoked yet", mListener.clicked); in assertStreamItemViewHasNoOnClickListener() 104 assertFalse("listener should have not been invoked", mListener.clicked); in assertStreamItemViewHasNoOnClickListener()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboardView.java | 42 private KeyboardActionListener mListener; field in MoreKeysKeyboardView 54 mListener.onCodeInput( 60 mListener.onTextInput(text); 65 mListener.onStartBatchInput(); 70 mListener.onUpdateBatchInput(batchPointers); 75 mListener.onEndBatchInput(batchPointers); 80 mListener.onCancelInput(); 85 mListener.onPressKey(primaryCode); 90 mListener.onReleaseKey(primaryCode, withSliding); 157 mListener = listener; in showMoreKeysPanel()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppBatch.java | 73 private BluetoothOppBatchListener mListener; field in BluetoothOppBatch 127 if (mListener != null) { in addShare() 128 mListener.onShareAdded(info.mId); in addShare() 146 if (mListener != null) { in deleteShare() 147 mListener.onShareDeleted(info.mId); in deleteShare() 161 if (mListener != null) { in cancelBatch() 162 mListener.onBatchCanceled(); in cancelBatch() 197 mListener = listener; in registerListern()
|
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
D | NativeNfcManager.java | 75 private final DeviceHostListener mListener; field in NativeNfcManager 79 mListener = listener; in NativeNfcManager() 368 mListener.onRemoteEndpointDiscovered(tag); in notifyNdefMessageListeners() 375 mListener.onCardEmulationDeselected(); in notifyTargetDeselected() 382 mListener.onCardEmulationAidSelected(aid); in notifyTransactionListeners() 389 mListener.onLlcpLinkActivated(device); in notifyLlcpLinkActivation() 396 mListener.onLlcpLinkDeactivated(device); in notifyLlcpLinkDeactivated() 400 mListener.onRemoteFieldActivated(); in notifySeFieldActivated() 404 mListener.onRemoteFieldDeactivated(); in notifySeFieldDeactivated() 408 mListener.onSeApduReceived(apdu); in notifySeApduReceived() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
D | SliderController.java | 40 private SliderListener mListener = null; field in SliderController 131 if (mListener != null) { in setActionDown() 132 mListener.onTouchDown(x, y); in setActionDown() 141 if (mListener != null) { in setActionMove() 142 mListener.onNewValue(mValue); in setActionMove() 149 if (mListener != null) { in setActionUp() 150 mListener.onTouchUp(); in setActionUp() 159 mListener = listener; in setListener()
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferences.java | 40 private ChangeListener mListener = null; field in ContactsPreferences 118 if (mListener != null) unregisterChangeListener(); in registerChangeListener() 120 mListener = listener; in registerChangeListener() 137 if (mListener != null) { in unregisterChangeListener() 139 mListener = null; in unregisterChangeListener() 152 if (mListener != null) mListener.onChange(); in onChange()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | GroupCreationDialogFragment.java | 38 private final OnGroupCreatedListener mListener; field in GroupCreationDialogFragment 58 mListener = null; in GroupCreationDialogFragment() 63 mListener = listener; in GroupCreationDialogFragment() 67 return mListener; in getOnGroupCreatedListener() 89 if (mListener != null) { in onCompleted() 90 mListener.onGroupCreated(); in onCompleted()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | ZoomRenderer.java | 36 private OnZoomChangedListener mListener; field in ZoomRenderer 94 mListener = listener; in setOnZoomChangeListener() 132 if (mListener != null && (int) circle != mCircleSize) { in onScale() 135 mListener.onZoomValueChanged(zoom); in onScale() 143 if (mListener != null) { in onScaleBegin() 144 mListener.onZoomStart(); in onScaleBegin() 153 if (mListener != null) { in onScaleEnd() 154 mListener.onZoomEnd(); in onScaleEnd()
|
D | LayoutChangeHelper.java | 22 private LayoutChangeNotifier.Listener mListener; field in LayoutChangeHelper 33 mListener = listener; in setOnLayoutChangeListener() 37 if (mListener == null) return; in onLayout() 40 mListener.onLayoutChange(mView, l, t, r, b); in onLayout()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/ |
D | OkCancelPreference.java | 27 private Listener mListener; field in OkCancelPreference 37 if (mListener != null) { in onDialogClosed() 38 mListener.onDialogClosed(positiveResult); in onDialogClosed() 43 mListener = listener; in setListener()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | NotifyingSpinner.java | 33 private SelectionListener mListener; field in NotifyingSpinner 44 mListener = listener; in setSetSelectionListener() 51 if (mListener != null) { in setSelection() 52 mListener.onSetSelection(this, position); in setSelection()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiDialog.java | 33 private final DialogInterface.OnClickListener mListener; field in WifiDialog 43 mListener = listener; in WifiDialog() 86 setButton(BUTTON_SUBMIT, text, mListener); in setSubmitButton() 91 setButton(BUTTON_FORGET, text, mListener); in setForgetButton() 96 setButton(BUTTON_NEGATIVE, text, mListener); in setCancelButton()
|