Home
last modified time | relevance | path

Searched refs:renderer (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DRenderOverlay.java64 for (Renderer renderer : clients) { in getPieRenderer()
65 if (renderer instanceof PieRenderer) { in getPieRenderer()
66 return (PieRenderer) renderer; in getPieRenderer()
72 public void addRenderer(Renderer renderer) { in addRenderer() argument
73 clients.add(renderer); in addRenderer()
74 renderer.setOverlay(this); in addRenderer()
75 if (renderer.handlesTouch()) { in addRenderer()
76 touchClients.add(0, renderer); in addRenderer()
78 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
81 public void addRenderer(int pos, Renderer renderer) { in addRenderer() argument
[all …]
DFocusOverlayManager.java118 public void setFocusRenderer(PieRenderer renderer) { in setFocusRenderer() argument
119 pieRenderer = renderer; in setFocusRenderer()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DRenderOverlay.java61 for (Renderer renderer : mClients) { in getPieRenderer()
62 if (renderer instanceof PieRenderer) { in getPieRenderer()
63 return (PieRenderer) renderer; in getPieRenderer()
69 public void addRenderer(Renderer renderer) { in addRenderer() argument
70 mClients.add(renderer); in addRenderer()
71 renderer.setOverlay(this); in addRenderer()
72 if (renderer.handlesTouch()) { in addRenderer()
73 mTouchClients.add(0, renderer); in addRenderer()
75 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
78 public void addRenderer(int pos, Renderer renderer) { in addRenderer() argument
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridCustomizationsProvider.java206 PreviewSurfaceRenderer renderer = new PreviewSurfaceRenderer(getContext(), request); in getPreview() local
209 destroyObserver(mActivePreviews.get(renderer.getHostToken())); in getPreview()
211 observer = new PreviewLifecycleObserver(renderer); in getPreview()
212 mActivePreviews.put(renderer.getHostToken(), observer); in getPreview()
214 renderer.loadAsync(); in getPreview()
215 renderer.getHostToken().linkToDeath(observer, 0); in getPreview()
218 result.putParcelable(KEY_SURFACE_PACKAGE, renderer.getSurfacePackage()); in getPreview()
240 observer.renderer.getHostToken().unlinkToDeath(observer, 0); in destroyObserver()
241 Executors.MAIN_EXECUTOR.execute(observer.renderer::destroy); in destroyObserver()
242 PreviewLifecycleObserver cached = mActivePreviews.get(observer.renderer.getHostToken()); in destroyObserver()
[all …]
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DControllerRendererPool.java91 for (ContextualCardRenderer renderer : mRenderers) { in getRenderer()
92 if (renderer.getClass() == clz) { in getRenderer()
94 return renderer; in getRenderer()
98 final ContextualCardRenderer renderer = createCardRenderer(context, lifecycleOwner, clz); in getRenderer() local
99 if (renderer != null) { in getRenderer()
100 mRenderers.add(renderer); in getRenderer()
102 return renderer; in getRenderer()
DContextualCardsAdapter.java78 final ContextualCardRenderer renderer = mControllerRendererPool.getRendererByViewType( in onCreateViewHolder() local
81 return renderer.createViewHolder(view, viewType); in onCreateViewHolder()
87 final ContextualCardRenderer renderer = mControllerRendererPool.getRendererByViewType( in onBindViewHolder() local
89 renderer.bindView(holder, card); in onBindViewHolder()
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java18 import static android.car.cluster.renderer.InstrumentClusterRenderingService.EXTRA_BUNDLE_KEY_FOR_I…
27 import android.car.cluster.renderer.IInstrumentCluster;
28 import android.car.cluster.renderer.IInstrumentClusterHelper;
29 import android.car.cluster.renderer.IInstrumentClusterNavigation;
232 IInstrumentCluster renderer; in getNavigationBinder() local
237 renderer = waitForRendererLocked(); in getNavigationBinder()
241 if (renderer == null) { in getNavigationBinder()
243 renderer = waitForRendererLocked(); in getNavigationBinder()
247 navigationBinder = renderer.getNavigationService(); in getNavigationBinder()
251 renderer = null; in getNavigationBinder()
/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageView.java133 private void updateScaleIfNecessaryLocked(ImageRendererWrapper renderer) { in updateScaleIfNecessaryLocked() argument
134 if (renderer == null || renderer.source == null in updateScaleIfNecessaryLocked()
135 || renderer.scale > 0 || getWidth() == 0) { in updateScaleIfNecessaryLocked()
138 renderer.scale = Math.min( in updateScaleIfNecessaryLocked()
139 (float) getWidth() / (float) renderer.source.getImageWidth(), in updateScaleIfNecessaryLocked()
140 (float) getHeight() / (float) renderer.source.getImageHeight()); in updateScaleIfNecessaryLocked()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorRemoteVideo.java144 @NonNull private final Renderer renderer; field in SimulatorRemoteVideo.RenderThread
146 RenderThread(@NonNull Renderer renderer) { in RenderThread() argument
148 this.renderer = Assert.isNotNull(renderer); in RenderThread()
155 renderer.schedule(); in onLooperPrepared()
160 return renderer; in getRenderer()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageView.java180 private void updateScaleIfNecessaryLocked(ImageRendererWrapper renderer) { in updateScaleIfNecessaryLocked() argument
181 if (renderer == null || renderer.source == null in updateScaleIfNecessaryLocked()
182 || renderer.scale > 0 || getWidth() == 0) { in updateScaleIfNecessaryLocked()
185 renderer.scale = Math.min( in updateScaleIfNecessaryLocked()
186 (float) getWidth() / (float) renderer.source.getImageWidth(), in updateScaleIfNecessaryLocked()
187 (float) getHeight() / (float) renderer.source.getImageHeight()); in updateScaleIfNecessaryLocked()
DBlockingGLTextureView.java47 public void setRenderer(Renderer renderer) { in setRenderer() argument
51 mRenderThread = new RenderThread(renderer); in setRenderer()
325 public RenderThread(Renderer renderer) { in RenderThread() argument
327 mRenderer = renderer; in RenderThread()
/packages/apps/Camera2/src/com/android/camera/ui/motion/
DDynamicAnimator.java61 for (DynamicAnimation renderer : animations) { in draw()
62 if (renderer.isActive()) { in draw()
63 renderer.draw(mDrawTimeMillis, dt, canvas); in draw()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/
DCubesTestFragment.java37 final CubeRenderer renderer = new CubeRenderer(false); in onCreateView() local
38 mSurfaceView.setRenderer(renderer); in onCreateView()
43 renderer.explode(); in onCreateView()
/packages/services/Car/car-lib/src/android/car/cluster/renderer/
DIInstrumentCluster.aidl16 package android.car.cluster.renderer;
18 import android.car.cluster.renderer.IInstrumentClusterNavigation;
DIInstrumentClusterHelper.aidl16 package android.car.cluster.renderer;
DIInstrumentClusterNavigation.aidl16 package android.car.cluster.renderer;
DNavigationRenderer.java16 package android.car.cluster.renderer;
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DLoggingClusterRenderingService.java19 import android.car.cluster.renderer.InstrumentClusterRenderingService;
20 import android.car.cluster.renderer.NavigationRenderer;
DClusterRenderingService.java28 import android.car.cluster.renderer.InstrumentClusterRenderingService;
29 import android.car.cluster.renderer.NavigationRenderer;
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt187 MissingNullability: android.car.cluster.renderer.InstrumentClusterRenderer#createNavigationRenderer…
189 MissingNullability: android.car.cluster.renderer.InstrumentClusterRenderer#onCreate(android.content…
191 MissingNullability: android.car.cluster.renderer.InstrumentClusterRenderingService#dump(java.io.Fil…
193 MissingNullability: android.car.cluster.renderer.InstrumentClusterRenderingService#dump(java.io.Fil…
195 MissingNullability: android.car.cluster.renderer.InstrumentClusterRenderingService#dump(java.io.Fil…
197 MissingNullability: android.car.cluster.renderer.InstrumentClusterRenderingService#getBitmap(androi…
199 MissingNullability: android.car.cluster.renderer.InstrumentClusterRenderingService#getBitmap(androi…
201 MissingNullability: android.car.cluster.renderer.InstrumentClusterRenderingService#onBind(android.c…
203 MissingNullability: android.car.cluster.renderer.InstrumentClusterRenderingService#onBind(android.c…
205 MissingNullability: android.car.cluster.renderer.NavigationRenderer#getNavigationProperties():
[all …]
Dsystem-removed.txt2 package android.car.cluster.renderer {
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DControllerRendererPoolTest.java128 final ContextualCardRenderer renderer = mPool.getRendererByViewType(mContext, in getRenderer_hasUnsupportedViewType_shouldReturnNullAndPoolIsEmpty() local
132 assertThat(renderer).isNull(); in getRenderer_hasUnsupportedViewType_shouldReturnNullAndPoolIsEmpty()
/packages/apps/Camera2/src/com/android/camera/
DSurfaceTextureRenderer.java68 Handler handler, FrameDrawer renderer) { in SurfaceTextureRenderer() argument
70 mFrameDrawer = renderer; in SurfaceTextureRenderer()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
DInstrumentClusterServiceTest.java32 import android.car.cluster.renderer.IInstrumentCluster;
33 import android.car.cluster.renderer.IInstrumentClusterNavigation;
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DToolbarControllerImpl.java616 MenuItemRenderer renderer = new MenuItemRenderer(item, mMenuItemsContainer); in setMenuItemsInternal() local
617 mMenuItemRenderers.add(renderer); in setMenuItemsInternal()
618 renderer.createView(view -> { in setMenuItemsInternal()
878 for (MenuItemRenderer renderer : mMenuItemRenderers) { in update()
879 renderer.setToolbarIsSearching(searchMode == SearchMode.SEARCH); in update()

12