Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardRemotePreviewManager.kt58 val renderer = previewRendererFactory.create(request) in <lambda>() constant
64 renderer, in <lambda>()
71 activePreviews[renderer.id]?.let { destroyObserver(it) } in <lambda>()
72 activePreviews[renderer.id] = observer in <lambda>()
73 renderer.render() in <lambda>()
74 renderer.hostToken?.linkToDeath(observer, 0) in <lambda>()
78 renderer.surfacePackage, in <lambda>()
126 renderer: KeyguardPreviewRenderer,
132 @VisibleForTesting var renderer: KeyguardPreviewRenderer? variable
136 this.renderer = renderer
[all …]
/frameworks/base/libs/hwui/
DFrameInfoVisualizer.cpp101 void FrameInfoVisualizer::draw(IProfileRenderer& renderer) { in draw() argument
109 renderer.drawRect(mDirtyRegion.fLeft, mDirtyRegion.fTop, mDirtyRegion.fRight, in draw()
124 initializeRects(renderer.getViewportHeight(), renderer.getViewportWidth()); in draw()
125 drawGraph(renderer); in draw()
126 drawThreshold(renderer); in draw()
208 void FrameInfoVisualizer::drawGraph(IProfileRenderer& renderer) { in drawGraph() argument
213 renderer.drawRects(mFastRects.get(), mNumFastRects * 4, paint); in drawGraph()
215 renderer.drawRects(mJankyRects.get(), mNumJankyRects * 4, paint); in drawGraph()
219 void FrameInfoVisualizer::drawThreshold(IProfileRenderer& renderer) { in drawThreshold() argument
223 float yLocation = renderer.getViewportHeight() - in drawThreshold()
[all …]
DFrameInfoVisualizer.h49 void draw(IProfileRenderer& renderer);
59 void drawGraph(IProfileRenderer& renderer);
60 void drawThreshold(IProfileRenderer& renderer);
/frameworks/base/graphics/java/android/graphics/
DTextureLayer.java36 private TextureLayer(@NonNull HardwareRenderer renderer, long deferredUpdater) { in TextureLayer() argument
37 if (renderer == null || deferredUpdater == 0) { in TextureLayer()
38 throw new IllegalArgumentException("Either hardware renderer: " + renderer in TextureLayer()
41 mRenderer = renderer; in TextureLayer()
141 /*package*/ static TextureLayer adoptTextureLayer(@NonNull HardwareRenderer renderer, in adoptTextureLayer() argument
143 return new TextureLayer(renderer, layer); in adoptTextureLayer()
DRecordingCanvas.java282 private static native void nEnableZ(long renderer, boolean enableZ); in nEnableZ() argument
284 private static native void nFinishRecording(long renderer, long renderNode); in nFinishRecording() argument
286 private static native void nDrawRenderNode(long renderer, long renderNode); in nDrawRenderNode() argument
288 private static native void nDrawTextureLayer(long renderer, long layer); in nDrawTextureLayer() argument
290 private static native void nDrawCircle(long renderer, long propCx, in nDrawCircle() argument
293 private static native void nDrawRipple(long renderer, long propCx, long propCy, long propRadius, in nDrawRipple() argument
296 private static native void nDrawRoundRect(long renderer, long propLeft, long propTop, in nDrawRoundRect() argument
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraTestInstance.cc128 auto renderer = std::make_shared<TestPatternRenderer>( in onStreamConfigured() local
132 if (mInputRenderers.try_emplace(streamId, renderer).second) { in onStreamConfigured()
133 renderer->start(); in onStreamConfigured()
152 std::shared_ptr<TestPatternRenderer> renderer; in onStreamClosed() local
157 renderer = std::move(it->second); in onStreamClosed()
161 if (renderer != nullptr) { in onStreamClosed()
162 renderer->stop(); in onStreamClosed()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/
DFrameBuffer.kt45 private val renderer = HardwareBufferRenderer(buffer) in <lambda>() constant
49 renderer.setContentRoot(it) in <lambda>()
72 renderer.close() in <lambda>()
85 if (renderer.isClosed) return in <lambda>()
86 renderer.obtainRenderRequest().setColorSpace(colorSpace).draw(executor) { result -> in <lambda>()
/frameworks/libs/systemui/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()
/frameworks/base/libs/hwui/tests/unit/
Dmain.cpp60 static RenderPipelineType parseRenderer(const char* renderer) { in parseRenderer() argument
62 if (!strcmp(renderer, "skiavk")) { in parseRenderer()
69 RenderPipelineType renderer = RenderPipelineType::SkiaGL; member
92 opts.renderer = parseRenderer(optarg); in parseOptions()
120 Properties::overrideRenderPipelineType(opts.renderer); in main()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/preview/
DKeyguardRemotePreviewManagerTest.kt25 val renderer = mock<KeyguardPreviewRenderer>() in onDestroy_clearsReferencesToRenderer() constant
28 val observer = PreviewLifecycleObserver(this, testDispatcher, renderer, onDestroy) in onDestroy_clearsReferencesToRenderer()
31 assertThat(observer.renderer).isNotNull() in onDestroy_clearsReferencesToRenderer()
38 assertThat(observer.renderer).isNull() in onDestroy_clearsReferencesToRenderer()
/frameworks/base/libs/hwui/tests/common/scenes/
DRecentsAnimation.cpp35 void createContent(int width, int height, Canvas& renderer) override { in createContent() argument
43 renderer.drawColor(Color::White, SkBlendMode::kSrcOver); in createContent()
44 renderer.enableZ(true); in createContent()
55 renderer.drawRenderNode(card.get()); in createContent()
60 renderer.enableZ(false); in createContent()
/frameworks/base/media/java/android/media/
DSubtitleController.java327 for (Renderer renderer: mRenderers) { in addTrack()
328 if (renderer.supports(format)) { in addTrack()
329 SubtitleTrack track = renderer.createTrack(format); in addTrack()
422 public void registerRenderer(Renderer renderer) { in registerRenderer() argument
425 if (!mRenderers.contains(renderer)) { in registerRenderer()
427 mRenderers.add(renderer); in registerRenderer()
436 for (Renderer renderer: mRenderers) { in hasRendererFor()
437 if (renderer.supports(format)) { in hasRendererFor()
/frameworks/base/core/java/android/webkit/
DWebViewRenderProcessClient.java60 @NonNull WebView view, @Nullable WebViewRenderProcess renderer); in onRenderProcessUnresponsive() argument
79 @NonNull WebView view, @Nullable WebViewRenderProcess renderer); in onRenderProcessResponsive() argument
/frameworks/base/packages/WallpaperCropper/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()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DHardwareBufferRendererActivity.java59 HardwareBufferRenderer renderer = new HardwareBufferRenderer(buffer); in onCreate() local
71 renderer.setContentRoot(node); in onCreate()
75 renderer.obtainRenderRequest() in onCreate()
DMultiProducerActivity.java122 ThreadedRenderer renderer = view.getThreadedRenderer();
123 if (renderer == null || view.getWidth() == 0) {
126 ThreadedRenderer threaded = (ThreadedRenderer) renderer;
146 FakeFrame(ThreadedRenderer renderer, View targetFrame, View targetBack) { in FakeFrame() argument
147 mRenderer = renderer; in FakeFrame()
/frameworks/base/packages/SystemUI/log/src/com/android/systemui/log/
DLogMessageImpl.kt48 renderer: MessagePrinter, in reset()
54 this.messagePrinter = renderer in reset()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerDecoderPassThrough.h30 const sp<Renderer> &renderer);
40 virtual void onSetRenderer(const sp<Renderer> &renderer);
DNuPlayerDecoderBase.h43 void setRenderer(const sp<Renderer> &renderer);
78 virtual void onSetRenderer(const sp<Renderer> &renderer) = 0;
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoderPassThrough.cpp45 const sp<Renderer> &renderer) in DecoderPassThrough() argument
48 mRenderer(renderer), in DecoderPassThrough()
55 ALOGW_IF(renderer == NULL, "expect a non-NULL renderer"); in DecoderPassThrough()
89 const sp<Renderer> &renderer) { in onSetRenderer() argument
91 ALOGW_IF(renderer != mRenderer, in onSetRenderer()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLExtensions.cpp57 void GLExtensions::initWithGLStrings(GLubyte const* vendor, GLubyte const* renderer, in initWithGLStrings() argument
60 mRenderer = (char const*)renderer; in initWithGLStrings()
/frameworks/native/libs/renderengine/skia/
DGLExtensions.cpp57 void GLExtensions::initWithGLStrings(GLubyte const* vendor, GLubyte const* renderer, in initWithGLStrings() argument
60 mRenderer = (char const*)renderer; in initWithGLStrings()
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/
Dcameraeffectsrecordingsample.graph47 @filter SurfaceRenderFilter renderer {
55 @connect camera[video] => renderer[frame];
/frameworks/base/packages/PrintSpooler/
DAndroid.bp50 "src/com/android/printspooler/renderer/IPdfRenderer.aidl",
51 "src/com/android/printspooler/renderer/IPdfEditor.aidl",

123