Home
last modified time | relevance | path

Searched refs:renderer (Results 1 – 25 of 37) 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 …]
DFocusOverlayManager.java124 public void setFocusRenderer(PieRenderer renderer) { in setFocusRenderer() argument
125 mPieRenderer = renderer; in setFocusRenderer()
/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/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBitmapRenderer.java31 static Bitmap createSoftwareBitmap(int width, int height, BitmapRenderer renderer) { in createSoftwareBitmap() argument
33 renderer.draw(new Canvas(result)); in createSoftwareBitmap()
38 static Bitmap createHardwareBitmap(int width, int height, BitmapRenderer renderer) { in createHardwareBitmap() argument
40 return createSoftwareBitmap(width, height, renderer); in createHardwareBitmap()
44 renderer.draw(picture.beginRecording(width, height)); in createHardwareBitmap()
/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;
DInvalidSizeException.java16 package android.car.cluster.renderer;
DIInstrumentClusterNavigation.aidl16 package android.car.cluster.renderer;
DNavigationRenderer.java16 package android.car.cluster.renderer;
/packages/apps/Car/Cluster/src/android/car/cluster/
DLoggingClusterRenderingService.java18 import android.car.cluster.renderer.InstrumentClusterRenderingService;
19 import android.car.cluster.renderer.NavigationRenderer;
DClusterRenderingService.java25 import android.car.cluster.renderer.InstrumentClusterRenderingService;
26 import android.car.cluster.renderer.NavigationRenderer;
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DControllerRendererPoolTest.java101 final ContextualCardRenderer renderer = mPool.getRendererByViewType(mContext, in getRenderer_hasUnsupportedViewType_shouldReturnNullAndPoolIsEmpty() local
105 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/apps/UnifiedEmail/src/com/android/mail/utils/
DHtmlSanitizer.java385 final HtmlStreamRenderer renderer = HtmlStreamRenderer.create( in sanitizeHtml() local
398 final org.owasp.html.HtmlSanitizer.Policy policy = POLICY_DEFINITION.apply(renderer); in sanitizeHtml()
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java23 import android.car.cluster.renderer.IInstrumentCluster;
24 import android.car.cluster.renderer.IInstrumentClusterNavigation;

12