Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaController.java43 @NonNull public android.media.session.MediaController mDelegate; field in MediaController
48 mDelegate = delegate; in MediaController()
54 mDelegate = new android.media.session.MediaController(context, token); in MediaController()
55 mTransportDelegate = mDelegate.getTransportControls(); in MediaController()
60 return mDelegate; in getWrappedInstance()
72 return mDelegate.dispatchMediaButtonEvent(keyEvent); in dispatchMediaButtonEvent()
80 return mDelegate.getPlaybackState(); in getPlaybackState()
89 return mDelegate.getMetadata(); in getMetadata()
97 return mDelegate.getQueue(); in getQueue()
105 return mDelegate.getQueueTitle(); in getQueueTitle()
[all …]
DMediaBrowser.java34 android.media.browse.MediaBrowser mDelegate; field in MediaBrowser
40 mDelegate = delegate; in MediaBrowser()
48 mDelegate = new android.media.browse.MediaBrowser(context, serviceComponent, callback, in MediaBrowser()
74 mDelegate.connect(); in connect()
81 mDelegate.disconnect(); in disconnect()
88 return mDelegate.getExtras(); in getExtras()
95 mDelegate.getItem(mediaId, callback); in getItem()
102 return mDelegate.getRoot(); in getRoot()
109 return mDelegate.getServiceComponent(); in getServiceComponent()
116 return mDelegate.getSessionToken(); in getSessionToken()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocsSelectionHelper.java43 private SelectionTracker<String> mDelegate = new DummySelectionTracker<>(); field in DocsSelectionHelper
51 if (mDelegate != null) { in reset()
52 mDelegate.clearSelection(); in reset()
54 mDelegate = mFactory.create(selectionTracker); in reset()
59 mDelegate.addObserver(listener); in addObserver()
64 return mDelegate.hasSelection(); in hasSelection()
69 return mDelegate.getSelection(); in getSelection()
74 mDelegate.copySelection(dest); in copySelection()
79 return mDelegate.isSelected(id); in isSelected()
84 mDelegate.clearSelection(); in replaceSelection()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileProvider.java45 private final ContactsProvider2 mDelegate; field in ProfileProvider
48 mDelegate = delegate; in ProfileProvider()
62 return mDelegate.getTransactionHolder(); in getTransactionHolder()
77 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, in query()
87 return mDelegate.insertInTransaction(uri, values); in insertInTransaction()
94 return mDelegate.updateInTransaction(uri, values, selection, selectionArgs); in updateInTransaction()
100 return mDelegate.deleteInTransaction(uri, selection, selectionArgs); in deleteInTransaction()
105 return mDelegate.openAssetFileLocal(uri, mode); in openAssetFile()
116 mDelegate.notifyChange(); in notifyChange()
120 mDelegate.notifyChange(syncToNetwork, syncToMetadataNetWork); in notifyChange()
[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/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/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryAddonsAdapter.java42 private final DocumentsAdapter mDelegate; field in DirectoryAddonsAdapter
53 mDelegate = delegate; in DirectoryAddonsAdapter()
61 mDelegate.registerAdapterDataObserver(new EventRelay()); in DirectoryAddonsAdapter()
113 holder = mDelegate.createViewHolder(parent, viewType);
139 mDelegate.onBindViewHolder(holder, toDelegatePosition(p), payload);
157 mDelegate.onBindViewHolder(holder, toDelegatePosition(p));
167 ? mDelegate.getItemCount() + addons
168 : mDelegate.getItemCount() + addons + 1;
177 mDelegate.getModelUpdateListener().accept(event);
219 return mDelegate.getItemViewType(toDelegatePosition(p));
[all …]
/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/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/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/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java101 private WallpaperPickerDelegate mDelegate; field in TopLevelPickerActivity
160 mDelegate = new WallpaperPickerDelegate(this, this, injector); in onCreate()
166 @WallpaperSupportLevel int wallpaperSupportLevel = mDelegate.getWallpaperSupportLevel(); in onCreate()
179 if (mDelegate.getFormFactor() == FormFactorChecker.FORM_FACTOR_MOBILE) { in onCreate()
212 mDelegate.cleanUp(); in onDestroy()
227 mDelegate.requestCustomPhotoPicker(listener); in requestCustomPhotoPicker()
232 mDelegate.requestExternalStoragePermission(listener); in requestExternalStoragePermission()
239 return mDelegate.isReadExternalStoragePermissionGranted(); in isReadExternalStoragePermissionGranted()
264 mDelegate.initialize(shouldForceRefresh); in initializeMobile()
356 mDelegate.populateCategories(forceCategoryRefresh); in initializeDesktopOnline()
[all …]
/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()
/packages/apps/TV/src/com/android/tv/
DInputSessionManager.java520 private final TvInputCallbackCompat mDelegate; field in InputSessionManager.DelegateTvInputCallback
523 mDelegate = delegate; in DelegateTvInputCallback()
528 mDelegate.onConnectionFailed(inputId); in onConnectionFailed()
533 mDelegate.onDisconnected(inputId); in onDisconnected()
538 mDelegate.onChannelRetuned(inputId, channelUri); in onChannelRetuned()
543 mDelegate.onTracksChanged(inputId, tracks); in onTracksChanged()
548 mDelegate.onTrackSelected(inputId, type, trackId); in onTrackSelected()
553 mDelegate.onVideoSizeChanged(inputId, width, height); in onVideoSizeChanged()
558 mDelegate.onVideoAvailable(inputId); in onVideoAvailable()
563 mDelegate.onVideoUnavailable(inputId, reason); in onVideoUnavailable()
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DDelegateInputConsumer.java13 protected final InputConsumer mDelegate; field in DelegateInputConsumer
19 mDelegate = delegate; in DelegateInputConsumer()
26 return mDelegate.useSharedSwipeState(); in useSharedSwipeState()
31 return mDelegate.allowInterceptByParent() && mState != STATE_ACTIVE; in allowInterceptByParent()
36 mDelegate.onConsumerAboutToBeSwitched(); in onConsumerAboutToBeSwitched()
46 mDelegate.onMotionEvent(event); in setActive()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockTypeDialogFragmentTest.java75 mFragment.mDelegate = mock(OnLockTypeSelectedListener.class); in testThat_OnClickListener_IsCalled()
81 verify(mFragment.mDelegate, times(1)).onLockTypeSelected(any(ScreenLockType.class)); in testThat_OnClickListener_IsCalled()
86 mFragment.mDelegate = mock(OnLockTypeSelectedListener.class); in testThat_OnClickListener_IsNotCalledWhenCancelled()
91 verify(mFragment.mDelegate, never()).onLockTypeSelected(any(ScreenLockType.class)); in testThat_OnClickListener_IsNotCalledWhenCancelled()
103 private OnLockTypeSelectedListener mDelegate; field in ChooseLockTypeDialogFragmentTest.TestFragment
107 if (mDelegate != null) { in onLockTypeSelected()
108 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/ThemePicker/src/com/android/customization/picker/
DCustomizationPickerActivity.java93 private WallpaperPickerDelegate mDelegate; field in CustomizationPickerActivity
106 mDelegate = new WallpaperPickerDelegate(this, this, injector); in onCreate()
180 return mDelegate.getFormFactor() == FormFactorChecker.FORM_FACTOR_MOBILE in supportsCustomization()
320 mDelegate.requestExternalStoragePermission(listener); in requestExternalStoragePermission()
325 return mDelegate.isReadExternalStoragePermissionGranted(); in isReadExternalStoragePermissionGranted()
330 mDelegate.showViewOnlyPreview(wallpaperInfo); in showViewOnlyPreview()
338 mDelegate.show(collectionId); in show()
360 mDelegate.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
365 return mDelegate; in getMyPhotosStarter()
403 if (mDelegate.handleActivityResult(requestCode, resultCode, data)) { in onActivityResult()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/feature/
DTestableFeature.java35 private final Feature mDelegate; field in TestableFeature
49 mDelegate = delegate; in TestableFeature()
53 mDelegate = delegate; in TestableFeature()
92 return mDelegate.isEnabled(context); in isEnabled()
97 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseVoicemailProviderTest.java173 private static VvmProviderCalls mDelegate;
175 mDelegate = delegate;
194 return mDelegate.getDir(name, mode);
198 mDelegate.sendOrderedBroadcast(intent, receiverPermission);
202 return mDelegate.getPackageManager();
/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/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()

12