/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/ |
D | MediaController.java | 43 @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 …]
|
D | MediaBrowser.java | 34 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/ |
D | DocsSelectionHelper.java | 43 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/ |
D | ProfileProvider.java | 45 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/ |
D | ForwardingImageReader.java | 26 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 …]
|
D | AndroidImageReaderProxy.java | 36 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/ |
D | MultiChoiceManager.java | 67 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/ |
D | DirectoryAddonsAdapter.java | 42 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/ |
D | ForwardingBufferQueue.java | 26 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()
|
D | ForwardingObservable.java | 29 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/ |
D | TestLoaderManager.java | 44 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/ |
D | AutoFlashZslImageFilter.java | 82 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/ |
D | ObservableFrameServer.java | 49 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/ |
D | TopLevelPickerActivity.java | 104 private WallpaperPickerDelegate mDelegate; field in TopLevelPickerActivity 163 mDelegate = new WallpaperPickerDelegate(this, this, injector); in onCreate() 169 @WallpaperSupportLevel int wallpaperSupportLevel = mDelegate.getWallpaperSupportLevel(); in onCreate() 182 if (mDelegate.getFormFactor() == FormFactorChecker.FORM_FACTOR_MOBILE) { in onCreate() 215 mDelegate.cleanUp(); in onDestroy() 230 mDelegate.requestCustomPhotoPicker(listener); in requestCustomPhotoPicker() 235 mDelegate.requestExternalStoragePermission(listener); in requestExternalStoragePermission() 242 return mDelegate.isReadExternalStoragePermissionGranted(); in isReadExternalStoragePermissionGranted() 290 mDelegate.initialize(shouldForceRefresh); in initializeMobile() 382 mDelegate.populateCategories(forceCategoryRefresh); in initializeDesktopOnline() [all …]
|
/packages/apps/TV/src/com/android/tv/ |
D | InputSessionManager.java | 520 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/ |
D | DelegateInputConsumer.java | 13 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/ |
D | ChooseLockTypeDialogFragmentTest.java | 75 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/ |
D | PhotoPageBottomControls.java | 41 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/ |
D | CustomizationPickerActivity.java | 93 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/ |
D | TestableFeature.java | 35 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/ |
D | CustomActionsPopup.java | 43 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/ |
D | JobLimiter.java | 44 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/ |
D | BaseVoicemailProviderTest.java | 173 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/ |
D | PeriodicCallbackModel.java | 123 if (periodicRunnable.mDelegate == runnable) { in removePeriodicCallback() 188 private final Runnable mDelegate; field in PeriodicCallbackModel.PeriodicRunnable 193 mDelegate = delegate; in PeriodicRunnable() 201 mDelegate.run(); in run() 208 mDelegate.run(); in runAndReschedule()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | GroupsDaoIntegrationTests.java | 276 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()
|