Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardRemotePreviewManager.kt57 val renderer = previewRendererFactory.create(request) in <lambda>() constant
60 activePreviews[renderer.hostToken]?.let { destroyObserver(it) } in <lambda>()
63 renderer, in <lambda>()
68 activePreviews[renderer.hostToken] = observer in <lambda>()
69 renderer.render() in <lambda>()
70 renderer.hostToken?.linkToDeath(observer, 0) in <lambda>()
74 renderer.surfacePackage, in <lambda>()
103 private val renderer: KeyguardPreviewRenderer, in <lambda>() constant in com.android.systemui.keyguard.ui.preview.KeyguardRemotePreviewManager.PreviewLifecycleObserver
122 ?.let { slotId -> renderer.onSlotSelected(slotId = slotId) } in <lambda>()
140 val hostToken = renderer.hostToken in <lambda>()
[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.java284 private static native void nEnableZ(long renderer, boolean enableZ); in nEnableZ() argument
286 private static native void nFinishRecording(long renderer, long renderNode); in nFinishRecording() argument
288 private static native void nDrawRenderNode(long renderer, long renderNode); in nDrawRenderNode() argument
290 private static native void nDrawTextureLayer(long renderer, long layer); in nDrawTextureLayer() argument
292 private static native void nDrawCircle(long renderer, long propCx, in nDrawCircle() argument
295 private static native void nDrawRipple(long renderer, long propCx, long propCy, long propRadius, in nDrawRipple() argument
298 private static native void nDrawRoundRect(long renderer, long propLeft, long propTop, in nDrawRoundRect() argument
/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/common/scenes/
DRecentsAnimation.cpp30 void createContent(int width, int height, Canvas& renderer) override { in createContent() argument
38 renderer.drawColor(Color::White, SkBlendMode::kSrcOver); in createContent()
39 renderer.enableZ(true); in createContent()
50 renderer.drawRenderNode(card.get()); in createContent()
55 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/layoutlib/bridge/src/android/view/
DAttachInfo_Accessor.java32 public static void setAttachInfo(ViewGroup view, HardwareRenderer renderer) { in setAttachInfo() argument
42 if (renderer != null) { in setAttachInfo()
43 renderer.registerAnimatingRenderNode(animator); in setAttachInfo()
/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/packages/SystemUI/plugin/src/com/android/systemui/plugins/log/
DLogMessageImpl.kt44 renderer: MessagePrinter, in reset()
50 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;
DNuPlayerDecoder.h33 const sp<Renderer> &renderer = NULL,
51 virtual void onSetRenderer(const sp<Renderer> &renderer);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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/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/gl/
DGLExtensions.cpp57 void GLExtensions::initWithGLStrings(GLubyte const* vendor, GLubyte const* renderer, in initWithGLStrings() argument
60 mRenderer = (char const*)renderer; in initWithGLStrings()
/frameworks/base/libs/hwui/tests/macrobench/
Dmain.cpp151 static bool setRenderer(const char* renderer) { in setRenderer() argument
152 if (!strcmp(renderer, "skiagl")) { in setRenderer()
154 } else if (!strcmp(renderer, "skiavk")) { in setRenderer()
157 fprintf(stderr, "Unknown format '%s'\n", renderer); in setRenderer()
/frameworks/base/packages/PrintSpooler/
DAndroid.bp50 "src/com/android/printspooler/renderer/IPdfRenderer.aidl",
51 "src/com/android/printspooler/renderer/IPdfEditor.aidl",
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/
Dcameraeffectsrecordingsample.graph47 @filter SurfaceRenderFilter renderer {
55 @connect camera[video] => renderer[frame];
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DIPdfEditor.aidl17 package com.android.printspooler.renderer;
DIPdfRenderer.aidl17 package com.android.printspooler.renderer;

123