/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactBrowseListFragment.java | 98 protected OnContactBrowserActionListener mListener; field in ContactBrowseListFragment 463 if (mListener != null) { in checkSelection() 464 mListener.onSelectionChange(); in checkSelection() 518 if (mListener != null) { in checkSelection() 519 mListener.onSelectionChange(); in checkSelection() 597 mListener = listener; in setOnContactListActionListener() 601 if (mListener != null) mListener.onCreateNewContactAction(); in createNewContact() 606 if (mListener != null) mListener.onViewContactAction(contactUri); in viewContact() 610 if (mListener != null) mListener.onEditContactAction(contactUri); in editContact() 614 if (mListener != null) mListener.onDeleteContactAction(contactUri); in deleteContact() [all …]
|
/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() 350 mListener.onRemoteEndpointDiscovered(tag); in notifyNdefMessageListeners() 357 mListener.onCardEmulationDeselected(); in notifyTargetDeselected() 364 mListener.onCardEmulationAidSelected(aid); in notifyTransactionListeners() 371 mListener.onLlcpLinkActivated(device); in notifyLlcpLinkActivation() 378 mListener.onLlcpLinkDeactivated(device); in notifyLlcpLinkDeactivated() 385 mListener.onLlcpFirstPacketReceived(device); in notifyLlcpLinkFirstPacketReceived() 389 mListener.onRemoteFieldActivated(); in notifySeFieldActivated() 393 mListener.onRemoteFieldDeactivated(); in notifySeFieldDeactivated() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | FilmStripView.java | 80 private Listener mListener; field in FilmStripView 717 mListener = l; in setListener() 927 if (mListener != null) { in stepIfNeeded() 928 mListener.onDataFocusChanged(mViewItem[mCurrentItem].getId(), false); in stepIfNeeded() 960 if (mListener != null) { in stepIfNeeded() 961 mListener.onDataFocusChanged(mViewItem[mCurrentItem].getId(), true); in stepIfNeeded() 1007 if (mListener != null) { in checkCurrentDataCentered() 1009 mListener.onCurrentDataCentered(dataID); in checkCurrentDataCentered() 1011 mListener.onCurrentDataOffCentered(dataID); in checkCurrentDataCentered() 1127 if (mListener != null) { in updateBottomControls() [all …]
|
D | FilmStripGestureRecognizer.java | 44 private final Listener mListener; field in FilmStripGestureRecognizer 47 mListener = listener; in FilmStripGestureRecognizer() 59 mListener.onUp(event.getX(), event.getY()); in onTouchEvent() 68 return mListener.onScroll(e2.getX(), e2.getY(), dx, dy); in onScroll() 74 return mListener.onFling(velocityX, velocityY); in onFling() 79 mListener.onDown(e.getX(), e.getY()); in onDown() 92 return mListener.onSingleTapUp(e.getX(), e.getY()); in onSingleTapConfirmed() 97 return mListener.onDoubleTap(e.getX(), e.getY()); in onDoubleTap() 110 return mListener.onScaleBegin( in onScaleBegin() 116 return mListener.onScale(detector.getFocusX(), in onScale() [all …]
|
D | FilmstripBottomControls.java | 56 private BottomControlsListener mListener; field in FilmstripBottomControls 73 if (mListener != null) { in onFinishInflate() 74 mListener.onEdit(); in onFinishInflate() 84 if (mListener != null) { in onFinishInflate() 85 mListener.onViewPhotoSphere(); in onFinishInflate() 95 if (mListener != null) { in onFinishInflate() 96 mListener.onTinyPlanet(); in onFinishInflate() 106 mListener = listener; in setListener()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FixedFirstDataAdapter.java | 39 private Listener mListener; field in FixedFirstDataAdapter 86 if (mListener != null) { in updateData() 87 mListener.onDataUpdated(new UpdateReporter() { in updateData() 128 mListener = listener; in setListener() 132 if (mListener != null) { in setListener() 133 mListener.onDataLoaded(); in setListener() 147 if (mListener == null) { in onDataLoaded() 150 mListener.onDataUpdated(new UpdateReporter() { in onDataLoaded() 165 mListener.onDataUpdated(new UpdateReporter() { in onDataUpdated() 180 mListener.onDataInserted(dataID + 1, data); in onDataInserted() [all …]
|
D | CameraDataAdapter.java | 48 private Listener mListener; field in CameraDataAdapter 109 mListener = listener; in setListener() 111 mListener.onDataLoaded(); in setListener() 130 mListener.onDataRemoved(dataID, d); in removeData() 225 if (mListener != null) { in updateData() 226 mListener.onDataUpdated(new UpdateReporter() { in updateData() 250 if (mListener != null) { in insertData() 251 mListener.onDataInserted(pos, data); in insertData() 261 if (mListener != null) { in replaceData() 262 mListener.onDataLoaded(); in replaceData()
|
/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(e1, e2, 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 | MenuExecutor.java | 282 private final ProgressListener mListener; field in MenuExecutor.ConfirmDialogListener 286 mListener = listener; in ConfirmDialogListener() 292 if (mListener != null) { in onClick() 293 mListener.onConfirmDialogDismissed(true); in onClick() 295 onMenuClicked(mActionId, mListener); in onClick() 297 if (mListener != null) { in onClick() 298 mListener.onConfirmDialogDismissed(false); in onClick() 305 if (mListener != null) { in onCancel() 306 mListener.onConfirmDialogDismissed(false); in onCancel() 416 private final ProgressListener mListener; field in MenuExecutor.MediaOperation [all …]
|
D | SelectionManager.java | 39 private SelectionListener mListener; field in SelectionManager 66 mListener = listener; in setSelectionListener() 74 if (mListener != null) mListener.onSelectionModeChange(SELECT_ALL_MODE); in selectAll() 95 if (mListener != null) mListener.onSelectionModeChange(ENTER_SELECTION_MODE); in enterSelectionMode() 104 if (mListener != null) mListener.onSelectionModeChange(LEAVE_SELECTION_MODE); in leaveSelectionMode() 144 if (mListener != null) mListener.onSelectionChange(path, isItemSelected(path)); in toggle()
|
D | PhotoView.java | 197 private Listener mListener; field in PhotoView 260 mListener.onUndoDeleteImage(); in PhotoView() 352 mListener.onDeleteImage((Path) message.obj, message.arg1); in handleMessage() 465 mListener.onCurrentImageUpdated(); in notifyImageChange() 657 mListener.onPictureCenter(mIsCamera); in draw() 1006 if (mListener != null) { in onSingleTapUp() 1013 mListener.onSingleTapUp((int) (pts[0] + 0.5f), (int) (pts[1] + 0.5f)); in onSingleTapUp() 1134 mListener.onCommitDeleteImage(); 1319 mListener.onActionBarAllowed(false); 1321 mListener.onActionBarAllowed(true); [all …]
|
/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() 410 mListener.onRemoteEndpointDiscovered(tag); in notifyNdefMessageListeners() 417 mListener.onCardEmulationDeselected(); in notifyTargetDeselected() 424 mListener.onCardEmulationAidSelected(aid); in notifyTransactionListeners() 431 mListener.onLlcpLinkActivated(device); in notifyLlcpLinkActivation() 438 mListener.onLlcpLinkDeactivated(device); in notifyLlcpLinkDeactivated() 442 mListener.onRemoteFieldActivated(); in notifySeFieldActivated() 446 mListener.onRemoteFieldDeactivated(); in notifySeFieldDeactivated() 450 mListener.onSeApduReceived(apdu); in notifySeApduReceived() [all …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | CameraScreenNail.java | 56 private Listener mListener; field in CameraScreenNail 113 mListener = listener; in CameraScreenNail() 224 mListener.requestRender(); in acquireSurfaceTexture() 244 mListener.requestRender(); in copyTexture() 264 mListener.requestRender(); in animateCapture() 277 mListener.requestRender(); in animateFlash() 294 mListener.requestRender(); in animateSlide() 329 mListener.requestRender(); in setDraw() 349 mListener.onPreviewTextureCopied(); in draw() 368 mListener.onCaptureTextureCopied(); in draw() [all …]
|
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/Contacts/src/com/android/contacts/detail/ |
D | ContactLoaderFragment.java | 109 private ContactLoaderFragmentListener mListener; field in ContactLoaderFragment 166 if (mListener != null) { in loadUri() 167 mListener.onDetailsLoaded(mContactData); in loadUri() 177 mListener = value; in setListener() 211 if (mListener != null) { 213 mListener.onContactNotFound(); 215 mListener.onDetailsLoaded(mContactData); 304 if (mListener != null) mListener.onEditRequested(mLookupUri); in onOptionsItemSelected() 308 if (mListener != null) mListener.onDeleteRequested(mLookupUri); in onOptionsItemSelected() 413 if (mListener != null) mListener.onDeleteRequested(mLookupUri); in handleKeyDown()
|
/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/Camera2/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()
|
/packages/apps/LegacyCamera/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 | FocusManager.java | 75 Listener mListener; field in FocusManager 93 mListener.startFaceDetection(); in handleMessage() 124 mListener = listener; in initialize() 147 mListener.setFocusParameters(); in onShutterDown() 173 mListener.setFocusParameters(); in onShutterUp() 227 mListener.playSound(MediaActionSound.FOCUS_COMPLETE); in onAutoFocus() 287 mListener.stopFaceDetection(); in onTouch() 290 mListener.setFocusParameters(); in onTouch() 320 mListener.autoFocus(); in autoFocus() 336 mListener.cancelAutoFocus(); in cancelAutoFocus() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ActionBarAdapter.java | 77 private Listener mListener; field in ActionBarAdapter 129 mListener = listener; in ActionBarAdapter() 257 mListener = listener; in setListener() 336 if (notifyListener && mListener != null) mListener.onSelectedTabChanged(); in setCurrentTab() 432 if (mListener != null) { in update() 433 mListener.onAction(Action.START_SEARCH_MODE); in update() 465 if (mListener != null) { in update() 466 mListener.onAction(Action.STOP_SEARCH_MODE); in update() 467 mListener.onSelectedTabChanged(); in update() 486 } else if (mListener != null) { in onQueryTextChange() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 231 private Listener mListener; field in ContactEditorFragment 271 private final AggregationSuggestionView.Listener mListener; field in ContactEditorFragment.AggregationSuggestionAdapter 278 mListener = listener; in AggregationSuggestionAdapter() 290 suggestionView.setListener(mListener); in getView() 463 mListener = value; in setListener() 528 if (mListener != null) { in setData() 531 mListener.onCustomEditContactActivityRequested( in setData() 559 mListener.onCustomEditContactActivityRequested(account, uri, null, false); in onExternalEditorRequest() 675 if (mListener != null) { in createContact() 676 mListener.onCustomCreateContactActivityRequested(account, mIntentExtras); in createContact() [all …]
|
D | LabeledEditorView.java | 88 private EditorListener mListener; field in LabeledEditorView 156 if (mListener != null) { in onFinishInflate() 157 mListener.onDeleteRequested(LabeledEditorView.this); in onFinishInflate() 230 if (mListener != null) { in onOptionalFieldVisibilityChange() 231 mListener.onRequest(EditorListener.EDITOR_FORM_CHANGED); in onOptionalFieldVisibilityChange() 237 mListener = listener; in setEditorListener() 305 if (mListener != null) { in notifyEditorListener() 306 mListener.onRequest(EditorListener.FIELD_CHANGED); in notifyEditorListener() 312 if (mListener != null) { in notifyEditorListener() 313 mListener.onRequest(EditorListener.FIELD_TURNED_EMPTY); in notifyEditorListener() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | ImportTask.java | 42 private Listener mListener; field in ImportTask 58 mListener = listener; in setListener() 68 mListener.onImportProgress(visited, total, null); in run() 83 if (mListener != null) { in run() 84 mListener.onImportProgress(visited, total, importedPath); in run() 87 if (mListener != null) { in run() 88 mListener.onImportFinish(objectsNotImported, visited); in run() 91 mListener = null; in run()
|
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ |
D | StreamItemAdapterTest.java | 41 private FakeOnClickListener mListener; field in StreamItemAdapterTest 48 mListener = new FakeOnClickListener(); in setUp() 49 mAdapter = new StreamItemAdapter(getContext(), mListener, mPhotoListener); in setUp() 55 mListener = null; in tearDown() 96 assertFalse("listener should have not been invoked yet", mListener.clicked); in assertStreamItemViewHasOnClickListener() 98 assertTrue("listener should have been invoked", mListener.clicked); in assertStreamItemViewHasOnClickListener() 103 assertFalse("listener should have not been invoked yet", mListener.clicked); in assertStreamItemViewHasNoOnClickListener() 105 assertFalse("listener should have not been invoked", mListener.clicked); in assertStreamItemViewHasNoOnClickListener()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | ImportProcessor.java | 54 private final VCardImportExportListener mListener; field in ImportProcessor 71 mListener = listener; in ImportProcessor() 90 if (mListener != null) { in onEntryCreated() 91 mListener.onImportParsed(mImportRequest, mJobId, entry, mCurrentCount, mTotalCount); in onEntryCreated() 106 if (isCancelled() && mListener != null) { in run() 107 mListener.onImportCanceled(mImportRequest, mJobId); in run() 196 if (mListener != null) { in runInternal() 199 mListener.onImportFinished(mImportRequest, mJobId, uris.get(0)); in runInternal() 205 mListener.onImportFinished(mImportRequest, mJobId, null); in runInternal()
|