Home
last modified time | relevance | path

Searched refs:mDelegate (Results 1 – 25 of 42) 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/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DDelegatingContentLimitingAdapter.java39 private final RecyclerView.Adapter<T> mDelegate; field in DelegatingContentLimitingAdapter
101 mDelegate = delegate; in DelegatingContentLimitingAdapter()
105 mDelegate.registerAdapterDataObserver(new Observer()); in DelegatingContentLimitingAdapter()
148 return mDelegate.onCreateViewHolder(parent, viewType); in onCreateViewHolderImpl()
153 mDelegate.onBindViewHolder(holder, position); in onBindViewHolderImpl()
158 return mDelegate.getItemViewType(position); in getItemViewTypeImpl()
163 mDelegate.onViewRecycled(holder); in onViewRecycledImpl()
168 return mDelegate.onFailedToRecycleView(holder); in onFailedToRecycleViewImpl()
173 mDelegate.onViewAttachedToWindow(holder); in onViewAttachedToWindowImpl()
178 mDelegate.onViewDetachedFromWindow(holder); in onViewDetachedFromWindowImpl()
[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);
141 mDelegate.onBindViewHolder(holder, toDelegatePosition(p), payload);
159 mDelegate.onBindViewHolder(holder, toDelegatePosition(p));
169 ? mDelegate.getItemCount() + addons
170 : mDelegate.getItemCount() + addons + 1;
179 mDelegate.getModelUpdateListener().accept(event);
221 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/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/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java105 private WallpaperPickerDelegate mDelegate; field in TopLevelPickerActivity
165 mDelegate = new WallpaperPickerDelegate(this, this, injector); in onCreate()
172 mDelegate.getCategoryProvider().resetIfNeeded(); in onCreate()
174 @WallpaperSupportLevel int wallpaperSupportLevel = mDelegate.getWallpaperSupportLevel(); in onCreate()
187 if (mDelegate.getFormFactor() == FormFactorChecker.FORM_FACTOR_MOBILE) { in onCreate()
220 mDelegate.cleanUp(); in onDestroy()
250 mDelegate.requestCustomPhotoPicker(listener); in requestCustomPhotoPicker()
255 mDelegate.requestExternalStoragePermission(listener); in requestExternalStoragePermission()
262 return mDelegate.isReadExternalStoragePermissionGranted(); in isReadExternalStoragePermissionGranted()
402 mDelegate.populateCategories(forceCategoryRefresh); in initializeDesktopOnline()
[all …]
/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/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/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DDelegateInputConsumer.java16 protected final InputConsumer mDelegate; field in DelegateInputConsumer
22 mDelegate = delegate; in DelegateInputConsumer()
32 return mDelegate.getActiveConsumerInHierarchy(); in getActiveConsumerInHierarchy()
37 return mDelegate.allowInterceptByParent() && mState != STATE_ACTIVE; in allowInterceptByParent()
42 mDelegate.onConsumerAboutToBeSwitched(); in onConsumerAboutToBeSwitched()
53 mDelegate.onMotionEvent(event); in setActive()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DCustomizationPickerActivity.java102 private WallpaperPickerDelegate mDelegate; field in CustomizationPickerActivity
114 mDelegate = new WallpaperPickerDelegate(this, this, injector); in onCreate()
127 mDelegate.getCategoryProvider().resetIfNeeded(); in onCreate()
210 return mDelegate.getFormFactor() == FormFactorChecker.FORM_FACTOR_MOBILE in supportsCustomization()
363 mDelegate.requestExternalStoragePermission(listener); in requestExternalStoragePermission()
368 return mDelegate.isReadExternalStoragePermissionGranted(); in isReadExternalStoragePermissionGranted()
373 mDelegate.showViewOnlyPreview(wallpaperInfo, isViewAsHome); in showViewOnlyPreview()
378 mDelegate.show(collectionId); in show()
388 mDelegate.initialize(!mDelegate.getCategoryProvider().isCategoriesFetched()); in fetchCategories()
410 mDelegate.onRequestPermissionsResult(requestCode, permissions, grantResults); in onRequestPermissionsResult()
[all …]
/packages/apps/Car/libs/car-uxr-client-lib/src/com/android/car/uxr/
DLifeCycleObserverUxrContentLimiter.java41 private final UxrContentLimiterImpl mDelegate; field in LifeCycleObserverUxrContentLimiter
44 mDelegate = delegate; in LifeCycleObserverUxrContentLimiter()
49 mDelegate.start(); in onStart()
54 mDelegate.stop(); in onStop()
59 mDelegate.setAdapter(adapter); in setAdapter()
/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.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();

12