Searched refs:delegate (Results 1 - 25 of 40) sorted by path

12

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
H A DMediaController.java38 public static MediaController wrap(@Nullable android.media.session.MediaController delegate) { argument
39 return (delegate != null) ? new MediaController(delegate) : null;
42 public MediaController(@NonNull android.media.session.MediaController delegate) { argument
43 mDelegate = delegate;
44 mTransportDelegate = delegate.getTransportControls();
110 // delegate callbacks
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectCalendarsSimpleAdapter.java228 final View delegate = view.findViewById(R.id.color);
229 final View delegateParent = (View) delegate.getParent();
235 delegate.getHitRect(r);
240 delegateParent.setTouchDelegate(new TouchDelegate(r, delegate));
H A DSelectCalendarsSyncAdapter.java157 final View delegate = view.findViewById(R.id.color);
158 final View delegateParent = (View) delegate.getParent();
164 delegate.getHitRect(r);
169 delegateParent.setTouchDelegate(new TouchDelegate(r, delegate));
/packages/apps/Camera2/src/com/android/camera/async/
H A DForwardingBufferQueue.java28 public ForwardingBufferQueue(BufferQueue<T> delegate) { argument
29 mDelegate = delegate;
H A DForwardingObservable.java31 public ForwardingObservable(Observable<T> delegate) { argument
32 mDelegate = delegate;
/packages/apps/Camera2/src/com/android/camera/one/v2/
H A DCloseWhenDoneImageReader.java64 public CloseWhenDoneImageReader(ImageReaderProxy delegate) { argument
65 super(delegate);
H A DLoggingImageReader.java52 public LoggingImageReader(ImageReaderProxy delegate, Logger.Factory logFactory) { argument
53 super(delegate);
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DAndroidImageReaderProxy.java38 public AndroidImageReaderProxy(android.media.ImageReader delegate) { argument
40 mDelegate = delegate;
H A DForwardingImageReader.java28 public ForwardingImageReader(ImageReaderProxy delegate) { argument
29 mDelegate = delegate;
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
H A DObservableFrameServer.java55 private SessionImpl(Session delegate) { argument
57 mDelegate = delegate;
77 public ObservableFrameServer(FrameServer delegate) { argument
78 mDelegate = delegate;
H A DResponseListeners.java45 private ResponseListenerBase(Updatable<T> delegate) { argument
46 mDelegate = delegate;
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/
H A DAutoFlashZslImageFilter.java84 public AEConvergedTotalCaptureResult(TotalCaptureResultProxy delegate) { argument
85 mDelegate = delegate;
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DTestLoaderManagerBase.java27 * delegate to the original object.
85 * Sets the object to which we delegate the actual work.
91 public abstract void setDelegate(LoaderManager delegate); argument
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
H A DContactsExecutors.java208 protected Future<T> delegate() { method in class:ContactsExecutors.HandlerFuture
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DGroupsDaoIntegrationTests.java278 public GroupsDaoWrapper(ContactSaveService.GroupsDao delegate) { argument
279 mDelegate = delegate;
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
H A DTestLoaderManager.java52 * Sets the object to which we delegate the actual work.
57 public void setDelegate(LoaderManager delegate) { argument
58 if (delegate == null || (mDelegate != null && mDelegate != delegate)) {
62 mDelegate = delegate;
/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DDataModel.java1051 * Used to execute a delegate runnable and track its completion.
1058 private ExecutedRunnable(Runnable delegate) { argument
1059 this.mDelegate = delegate;
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
H A DPeriodicCallbackModel.java181 * Schedules the execution of the given delegate Runnable at the next callback time.
189 public PeriodicRunnable(Runnable delegate, Period period, long offset) { argument
190 mDelegate = delegate;
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
H A DAnswerVideoCallScreen.java38 @NonNull private final VideoCallScreenDelegate delegate; field in class:AnswerVideoCallScreen
50 delegate =
53 delegate.initVideoCallScreenDelegate(fragment.getContext(), this);
62 delegate.onVideoCallScreenUiReady();
63 delegate.getLocalVideoSurfaceTexture().attachToTextureView(textureView);
69 delegate.onVideoCallScreenUiUnready();
118 Point cameraDimensions = delegate.getLocalVideoSurfaceTexture().getSurfaceDimensions();
125 textureView, cameraDimensions.x, cameraDimensions.y, delegate.getDeviceOrientation());
130 textureView, cameraDimensions.y, cameraDimensions.x, delegate.getDeviceOrientation());
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
H A DButtonController.java65 @NonNull protected final InCallButtonUiDelegate delegate; field in class:ButtonController.CheckableButtonController
75 @NonNull InCallButtonUiDelegate delegate,
79 Assert.isNotNull(delegate);
80 this.delegate = delegate;
160 @NonNull InCallButtonUiDelegate delegate,
167 delegate,
188 protected final InCallButtonUiDelegate delegate; field in class:ButtonController.NonCheckableButtonController
196 InCallButtonUiDelegate delegate,
199 this.delegate
74 CheckableButtonController( @onNull InCallButtonUiDelegate delegate, @InCallButtonIds int buttonId, @StringRes int checkedContentDescription, @StringRes int uncheckedContentDescription) argument
159 SimpleCheckableButtonController( @onNull InCallButtonUiDelegate delegate, @InCallButtonIds int buttonId, @StringRes int checkedContentDescription, @StringRes int uncheckedContentDescription, @StringRes int label, @DrawableRes int icon) argument
195 NonCheckableButtonController( InCallButtonUiDelegate delegate, @InCallButtonIds int buttonId, @StringRes int contentDescription) argument
264 SimpleNonCheckableButtonController( InCallButtonUiDelegate delegate, @InCallButtonIds int buttonId, @StringRes int contentDescription, @StringRes int label, @DrawableRes int icon) argument
288 MuteButtonController(InCallButtonUiDelegate delegate) argument
307 @NonNull private final InCallButtonUiDelegate delegate; field in class:ButtonController.SpeakerButtonController
320 SpeakerButtonController(@onNull InCallButtonUiDelegate delegate) argument
416 DialpadButtonController(@onNull InCallButtonUiDelegate delegate) argument
434 HoldButtonController(@onNull InCallButtonUiDelegate delegate) argument
452 AddCallButtonController(@onNull InCallButtonUiDelegate delegate) argument
470 SwapButtonController(@onNull InCallButtonUiDelegate delegate) argument
488 MergeButtonController(@onNull InCallButtonUiDelegate delegate) argument
506 UpgradeToVideoButtonController(@onNull InCallButtonUiDelegate delegate) argument
[all...]
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/
H A DVideoSurfaceTextureImpl.java36 private VideoSurfaceDelegate delegate; field in class:VideoSurfaceTextureImpl
49 public void setDelegate(VideoSurfaceDelegate delegate) { argument
50 LogUtil.i("VideoSurfaceTextureImpl.setDelegate", "delegate: " + delegate + " " + toString());
51 this.delegate = delegate;
148 if (delegate != null) {
149 delegate.onSurfaceCreated(this);
151 LogUtil.e("VideoSurfaceTextureImpl.onSurfaceCreated", "delegate is null. " + toString());
156 if (delegate !
[all...]
/packages/apps/Dialer/java/com/android/incallui/videosurface/protocol/
H A DVideoSurfaceTexture.java40 void setDelegate(VideoSurfaceDelegate delegate); argument
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDirectoryAddonsAdapter.java49 DirectoryAddonsAdapter(Environment environment, DocumentsAdapter delegate) { argument
51 mDelegate = delegate;
57 // Relay events published by our delegate to our listeners (presumably RecyclerView)
163 // make sure the delegate handles the update before we do.
164 // This isn't ideal since the delegate might be listening
166 // since we read model ids from the delegate
214 * Returns the position of an item in the delegate, adjusting
218 * @return Position within the delegate
229 * @param p Position within the delegate
272 // Listener we add to our delegate
[all...]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestTimer.java135 public Task(TimerTask delegate) { argument
136 mDelegate = delegate;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DPhotoPageBottomControls.java60 public PhotoPageBottomControls(Delegate delegate, Context context, RelativeLayout layout) { argument
61 mDelegate = delegate;

Completed in 550 milliseconds

12