Home
last modified time | relevance | path

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

123

/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 …]
/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.java193 PreviewSurfaceRenderer renderer = new PreviewSurfaceRenderer(getContext(), request); in getPreview() local
195 observer = new PreviewLifecycleObserver(renderer); in getPreview()
200 renderer.loadAsync(); in getPreview()
201 renderer.getHostToken().linkToDeath(observer, 0); in getPreview()
204 result.putParcelable(KEY_SURFACE_PACKAGE, renderer.getSurfacePackage()); in getPreview()
226 observer.renderer.getHostToken().unlinkToDeath(observer, 0); in destroyObserver()
227 Executors.MAIN_EXECUTOR.execute(observer.renderer::destroy); in destroyObserver()
236 public final PreviewSurfaceRenderer renderer; field in GridCustomizationsProvider.PreviewLifecycleObserver
239 PreviewLifecycleObserver(PreviewSurfaceRenderer renderer) { in PreviewLifecycleObserver() argument
240 this.renderer = renderer; in PreviewLifecycleObserver()
[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/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoStreamGraphRtpRx.cpp73 BaseNode* renderer = new IVideoRendererNode(mCallback); in create() local
74 renderer->SetMediaType(IMS_MEDIA_VIDEO); in create()
75 renderer->SetConfig(mConfig); in create()
76 renderer->SetSchedulerCallback(std::static_pointer_cast<StreamSchedulerCallback>(mScheduler)); in create()
77 AddNode(renderer); in create()
78 rtpPayloadDecoder->ConnectRearNode(renderer); in create()
253 IVideoRendererNode* renderer = reinterpret_cast<IVideoRendererNode*>(node); in setSurface() local
254 renderer->UpdateSurface(surface); in setSurface()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DBitmapRenderer.java35 static Bitmap createSoftwareBitmap(int width, int height, BitmapRenderer renderer) { in createSoftwareBitmap() argument
38 renderer.draw(new Canvas(result)); in createSoftwareBitmap()
43 static Bitmap createHardwareBitmap(int width, int height, BitmapRenderer renderer) { in createHardwareBitmap() argument
45 return createSoftwareBitmap(width, height, renderer); in createHardwareBitmap()
50 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/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextStreamGraphRtpRx.cpp72 BaseNode* renderer = new TextRendererNode(mCallback); in create() local
73 renderer->SetMediaType(IMS_MEDIA_TEXT); in create()
74 renderer->SetConfig(mConfig); in create()
75 renderer->SetSchedulerCallback(std::static_pointer_cast<StreamSchedulerCallback>(mScheduler)); in create()
76 AddNode(renderer); in create()
77 rtpPayloadDecoder->ConnectRearNode(renderer); in create()
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java19 import static android.car.cluster.renderer.InstrumentClusterRenderingService.EXTRA_BUNDLE_KEY_FOR_I…
30 import android.car.cluster.renderer.IInstrumentCluster;
31 import android.car.cluster.renderer.IInstrumentClusterHelper;
32 import android.car.cluster.renderer.IInstrumentClusterNavigation;
250 IInstrumentCluster renderer; in getNavigationBinder() local
255 renderer = waitForRendererLocked(); in getNavigationBinder()
259 if (renderer == null) { in getNavigationBinder()
261 renderer = waitForRendererLocked(); in getNavigationBinder()
263 if (renderer == null) { in getNavigationBinder()
268 navigationBinder = renderer.getNavigationService(); in getNavigationBinder()
[all …]
/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;
DInstrumentClusterRenderer.java16 package android.car.cluster.renderer;
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java207 BitmapRendererDrawable(BitmapRenderer renderer) { in BitmapRendererDrawable() argument
208 mRenderer = renderer; in BitmapRendererDrawable()
235 MyConstantState(BitmapRenderer renderer) { in MyConstantState() argument
236 mRenderer = renderer; in MyConstantState()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DLoggingClusterRenderingService.java19 import android.car.cluster.renderer.InstrumentClusterRenderingService;
20 import android.car.cluster.renderer.NavigationRenderer;
/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/libs/car-test-lib/src/android/car/testapi/
DFakeInstrumentClusterNavigation.java19 import android.car.cluster.renderer.IInstrumentClusterNavigation;
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DStartJobTask.java168 try (PdfRenderer renderer = new PdfRenderer( in doInBackground() argument
170 PdfRenderer.Page page = renderer.openPage(0)) { in doInBackground()

123