Home
last modified time | relevance | path

Searched refs:mDelegate (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaController.java33 public @NonNull android.media.session.MediaController mDelegate; field in MediaController
43 mDelegate = delegate; in MediaController()
49 return mDelegate; in getWrappedInstance()
57 return mDelegate.dispatchMediaButtonEvent(keyEvent); in dispatchMediaButtonEvent()
61 return mDelegate.getPlaybackState(); in getPlaybackState()
65 return mDelegate.getMetadata(); in getMetadata()
69 return mDelegate.getQueue(); in getQueue()
73 return mDelegate.getQueueTitle(); in getQueueTitle()
77 return mDelegate.getExtras(); in getExtras()
81 return mDelegate.getRatingType(); in getRatingType()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileProvider.java44 private final ContactsProvider2 mDelegate; field in ProfileProvider
47 mDelegate = delegate; in ProfileProvider()
61 return mDelegate.getTransactionHolder(); in getTransactionHolder()
75 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, in query()
85 return mDelegate.insertInTransaction(uri, values); in insertInTransaction()
92 return mDelegate.updateInTransaction(uri, values, selection, selectionArgs); in updateInTransaction()
98 return mDelegate.deleteInTransaction(uri, selection, selectionArgs); in deleteInTransaction()
103 return mDelegate.openAssetFileLocal(uri, mode); in openAssetFile()
114 mDelegate.notifyChange(); in notifyChange()
118 mDelegate.notifyChange(syncToNetwork, syncToMetadataNetWork); in notifyChange()
[all …]
/packages/apps/Gallery2/src/com/android/photos/
DMultiChoiceManager.java67 private Delegate mDelegate; field in MultiChoiceManager
77 if (mDelegate == delegate) { in setDelegate()
83 mDelegate = delegate; in setDelegate()
92 int count = mDelegate.getSelectedItemCount(); in updateSelectedTitle()
98 int type = mDelegate.getItemMediaType(item); in getItemMimetype()
112 Object item = mDelegate.getItemAtPosition(position); in onItemCheckedStateChanged()
114 int supported = mDelegate.getItemSupportedOperations(item); in onItemCheckedStateChanged()
117 ArrayList<Uri> subItems = mDelegate.getSubItemUrisForItem(item); in onItemCheckedStateChanged()
126 mDelegate.getItemMediaType(item), in onItemCheckedStateChanged()
189 private Delegate mDelegate; field in MultiChoiceManager.BulkDeleteTask
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DForwardingImageReader.java26 private final ImageReaderProxy mDelegate; field in ForwardingImageReader
29 mDelegate = delegate; in ForwardingImageReader()
34 return mDelegate.getWidth(); in getWidth()
39 return mDelegate.getHeight(); in getHeight()
44 return mDelegate.getImageFormat(); in getImageFormat()
49 return mDelegate.getMaxImages(); in getMaxImages()
55 return mDelegate.getSurface(); in getSurface()
61 return mDelegate.acquireLatestImage(); in acquireLatestImage()
67 return mDelegate.acquireNextImage(); in acquireNextImage()
74 mDelegate.setOnImageAvailableListener(listener, handler); in setOnImageAvailableListener()
[all …]
DAndroidImageReaderProxy.java36 private final android.media.ImageReader mDelegate; field in AndroidImageReaderProxy
40 mDelegate = delegate; in AndroidImageReaderProxy()
80 return mDelegate.getWidth(); in getWidth()
87 return mDelegate.getHeight(); in getHeight()
94 return mDelegate.getImageFormat(); in getImageFormat()
101 return mDelegate.getMaxImages(); in getMaxImages()
109 return mDelegate.getSurface(); in getSurface()
117 Image image = mDelegate.acquireLatestImage(); in acquireLatestImage()
130 Image image = mDelegate.acquireNextImage(); in acquireNextImage()
144 mDelegate.setOnImageAvailableListener( in setOnImageAvailableListener()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryAddonsAdapter.java40 private final DocumentsAdapter mDelegate; field in DirectoryAddonsAdapter
51 mDelegate = delegate; in DirectoryAddonsAdapter()
59 mDelegate.registerAdapterDataObserver(new EventRelay()); in DirectoryAddonsAdapter()
104 holder = mDelegate.createViewHolder(parent, viewType);
130 mDelegate.onBindViewHolder(holder, toDelegatePosition(p), payload);
148 mDelegate.onBindViewHolder(holder, toDelegatePosition(p));
158 ? mDelegate.getItemCount() + addons
159 : mDelegate.getItemCount() + addons + 1;
168 mDelegate.getModelUpdateListener().accept(event);
210 return mDelegate.getItemViewType(toDelegatePosition(p));
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DTestLoaderManager.java44 private LoaderManager mDelegate; field in TestLoaderManager
58 if (delegate == null || (mDelegate != null && mDelegate != delegate)) { in setDelegate()
62 mDelegate = delegate; in setDelegate()
66 return mDelegate; in getDelegate()
89 (AsyncTaskLoader<?>) mDelegate.getLoader(loaderId); in waitForLoaders()
136 return mDelegate.initLoader(id, args, new LoaderManager.LoaderCallbacks<D>() { in initLoader()
159 return mDelegate.restartLoader(id, args, callback);
164 mDelegate.destroyLoader(id);
169 return mDelegate.getLoader(id);
174 mDelegate.dump(prefix, fd, writer, args);
/packages/apps/Camera2/src/com/android/camera/async/
DForwardingBufferQueue.java26 private final BufferQueue<T> mDelegate; field in ForwardingBufferQueue
29 mDelegate = delegate; in ForwardingBufferQueue()
34 mDelegate.close(); in close()
39 return mDelegate.getNext(); in getNext()
45 return mDelegate.getNext(timeout, unit); in getNext()
50 return mDelegate.peekNext(); in peekNext()
55 mDelegate.discardNext(); in discardNext()
60 return mDelegate.isClosed(); in isClosed()
65 return mDelegate.toString(); in toString()
DForwardingObservable.java29 private final Observable<T> mDelegate; field in ForwardingObservable
32 mDelegate = delegate; in ForwardingObservable()
39 return mDelegate.addCallback(callback, executor); in addCallback()
45 return mDelegate.get(); in get()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/
DAutoFlashZslImageFilter.java82 private final TotalCaptureResultProxy mDelegate; field in AutoFlashZslImageFilter.AEConvergedTotalCaptureResult
85 mDelegate = delegate; in AEConvergedTotalCaptureResult()
92 Integer aeState = (Integer) mDelegate.get(key); in get()
97 return mDelegate.get(key); in get()
103 return mDelegate.getKeys(); in getKeys()
109 return mDelegate.getRequest(); in getRequest()
114 return mDelegate.getFrameNumber(); in getFrameNumber()
119 return mDelegate.getSequenceId(); in getSequenceId()
125 return mDelegate.getPartialResults(); in getPartialResults()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DObservableFrameServer.java49 private final FrameServer mDelegate; field in ObservableFrameServer
53 private final Session mDelegate; field in ObservableFrameServer.SessionImpl
57 mDelegate = delegate; in SessionImpl()
64 mDelegate.submitRequest(burstRequests, type); in submitRequest()
72 mDelegate.close(); in close()
78 mDelegate = delegate; in ObservableFrameServer()
91 Session session = mDelegate.createExclusiveSession(); in createExclusiveSession()
105 Session session = mDelegate.tryCreateExclusiveSession(); in tryCreateExclusiveSession()
DResponseListeners.java43 private final Updatable<T> mDelegate; field in ResponseListeners.ResponseListenerBase
46 mDelegate = delegate; in ResponseListenerBase()
51 return mDelegate.hashCode(); in hashCode()
56 return mDelegate.equals(other); in equals()
/packages/apps/TV/src/com/android/tv/
DInputSessionManager.java496 private final TvInputCallback mDelegate; field in InputSessionManager.DelegateTvInputCallback
499 mDelegate = delegate; in DelegateTvInputCallback()
504 mDelegate.onConnectionFailed(inputId); in onConnectionFailed()
509 mDelegate.onDisconnected(inputId); in onDisconnected()
514 mDelegate.onChannelRetuned(inputId, channelUri); in onChannelRetuned()
519 mDelegate.onTracksChanged(inputId, tracks); in onTracksChanged()
524 mDelegate.onTrackSelected(inputId, type, trackId); in onTrackSelected()
529 mDelegate.onVideoSizeChanged(inputId, width, height); in onVideoSizeChanged()
534 mDelegate.onVideoAvailable(inputId); in onVideoAvailable()
539 mDelegate.onVideoUnavailable(inputId, reason); in onVideoUnavailable()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockTypeDialogFragmentTest.java81 mFragment.mDelegate = mock(OnLockTypeSelectedListener.class); in testThat_OnClickListener_IsCalled()
85 verify(mFragment.mDelegate, times(1)).onLockTypeSelected(any(ScreenLockType.class)); in testThat_OnClickListener_IsCalled()
90 mFragment.mDelegate = mock(OnLockTypeSelectedListener.class); in testThat_OnClickListener_IsNotCalledWhenCancelled()
93 verify(mFragment.mDelegate, never()).onLockTypeSelected(any(ScreenLockType.class)); in testThat_OnClickListener_IsNotCalledWhenCancelled()
107 OnLockTypeSelectedListener mDelegate; field in ChooseLockTypeDialogFragmentTest.TestFragment
110 if (mDelegate != null) { in onLockTypeSelected()
111 mDelegate.onLockTypeSelected(lock); in onLockTypeSelected()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPageBottomControls.java41 private Delegate mDelegate; field in PhotoPageBottomControls
61 mDelegate = delegate; in PhotoPageBottomControls()
79 mDelegate.refreshBottomControlsWhenReady(); in PhotoPageBottomControls()
97 boolean visible = mDelegate.canDisplayBottomControls(); in refresh()
112 boolean curVisibility = mDelegate.canDisplayBottomControl(control.getId()); in refresh()
135 mDelegate.onBottomControlClicked(view.getId()); in onClick()
/packages/apps/TV/common/src/com/android/tv/common/feature/
DTestableFeature.java36 private final Feature mDelegate; field in TestableFeature
54 mDelegate = delegate; in TestableFeature()
58 mDelegate = delegate; in TestableFeature()
96 return mDelegate.isEnabled(context); in isEnabled()
101 String msg = mDelegate.toString(); in toString()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DCustomActionsPopup.java43 private final LauncherAccessibilityDelegate mDelegate; field in CustomActionsPopup
51 mDelegate = container.getAccessibilityDelegate(); in CustomActionsPopup()
53 mDelegate = launcher.getAccessibilityDelegate(); in CustomActionsPopup()
63 mDelegate.addSupportedActions(mIcon, info, true); in getActionList()
91 return mDelegate.performAction(mIcon, (ItemInfo) mIcon.getTag(), menuItem.getItemId()); in onMenuItemClick()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DJobLimiter.java44 private Future<T> mDelegate; field in JobLimiter.JobWrapper
55 mDelegate = future; in setFuture()
66 if (mDelegate != null) { in cancel()
67 mDelegate.cancel(); in cancel()
68 mDelegate = null; in cancel()
/packages/apps/Contacts/tests/src/com/android/contacts/
DGroupsDaoIntegrationTests.java276 private final ContactSaveService.GroupsDao mDelegate; field in GroupsDaoIntegrationTests.GroupsDaoWrapper
279 mDelegate = delegate; in GroupsDaoWrapper()
284 final Uri result = mDelegate.create(title, account); in create()
291 return mDelegate.delete(groupUri); in delete()
296 return mDelegate.captureDeletionUndoData(groupUri); in captureDeletionUndoData()
301 final Uri result = mDelegate.undoDeletion(undoData); in undoDeletion()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DPeriodicCallbackModel.java120 if (periodicRunnable.mDelegate == runnable) { in removePeriodicCallback()
185 private final Runnable mDelegate; field in PeriodicCallbackModel.PeriodicRunnable
190 mDelegate = delegate; in PeriodicRunnable()
198 mDelegate.run(); in run()
205 mDelegate.run(); in runAndReschedule()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseVoicemailProviderTest.java162 private static VvmProviderCalls mDelegate;
164 mDelegate = delegate;
183 return mDelegate.getDir(name, mode);
187 mDelegate.sendOrderedBroadcast(intent, receiverPermission);
191 return mDelegate.getPackageManager();
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DAppCompatPreferenceActivity.java33 private AppCompatDelegate mDelegate; field in AppCompatPreferenceActivity
116 if (mDelegate == null) { in getDelegate()
117 mDelegate = AppCompatDelegate.create(this, null); in getDelegate()
119 return mDelegate; in getDelegate()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestTimer.java133 private TimerTask mDelegate; field in TestTimer.Task
136 mDelegate = delegate; in Task()
142 return mDelegate.cancel(); in cancel()
147 mDelegate.run(); in run()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DDragAndDropAccessibilityDelegate.java45 protected final LauncherAccessibilityDelegate mDelegate; field in DragAndDropAccessibilityDelegate
53 mDelegate = Launcher.getLauncher(mContext).getAccessibilityDelegate(); in DragAndDropAccessibilityDelegate()
91 mDelegate.handleAccessibleDrop(mView, getItemBounds(viewId), confirmation); in onPerformActionForVirtualView()
132 LauncherAccessibilityDelegate.DragInfo dragInfo = mDelegate.getDragInfo(); in getItemBounds()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsDialogBuilder.java96 private final DelegateInterface mDelegate; field in TrustedCredentialsDialogBuilder.DialogEventHandler
111 mDelegate = delegate; in DialogEventHandler()
151 if (!mDelegate.startConfirmCredentialIfNotConfirmed(certHolder.getUserId(), in onClickTrust()
163 mDelegate.removeOrInstallCert(certHolder); in onClickEnableOrDisable()
280 List<X509Certificate> certificates = mDelegate.getX509CertsFromCertHolder(certHolder); in getCertLayout()

12