Home
last modified time | relevance | path

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

12

/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/core/java/android/view/
DTextureLayer.java39 private TextureLayer(HardwareRenderer renderer, long deferredUpdater) { in TextureLayer() argument
40 if (renderer == null || deferredUpdater == 0) { in TextureLayer()
41 throw new IllegalArgumentException("Either hardware renderer: " + renderer in TextureLayer()
44 mRenderer = renderer; in TextureLayer()
144 public static TextureLayer adoptTextureLayer(HardwareRenderer renderer, long layer) { in adoptTextureLayer() argument
145 return new TextureLayer(renderer, layer); in adoptTextureLayer()
/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/graphics/java/android/graphics/
DRecordingCanvas.java289 private static native void nCallDrawGLFunction(long renderer, in nCallDrawGLFunction() argument
305 private static native void nInsertReorderBarrier(long renderer, boolean enableReorder); in nInsertReorderBarrier() argument
307 private static native long nFinishRecording(long renderer); in nFinishRecording() argument
309 private static native void nDrawRenderNode(long renderer, long renderNode); in nDrawRenderNode() argument
311 private static native void nDrawTextureLayer(long renderer, long layer); in nDrawTextureLayer() argument
313 private static native void nDrawCircle(long renderer, long propCx, in nDrawCircle() argument
316 private static native void nDrawRoundRect(long renderer, long propLeft, long propTop, in nDrawRoundRect() argument
/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.insertReorderBarrier(true); in createContent()
50 renderer.drawRenderNode(card.get()); in createContent()
55 renderer.insertReorderBarrier(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/packages/SystemUI/src/com/android/systemui/log/
DLogMessageImpl.kt45 renderer: LogMessage.() -> String in reset()
50 this.printer = renderer in reset()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoderPassThrough.h30 const sp<Renderer> &renderer);
40 virtual void onSetRenderer(const sp<Renderer> &renderer);
DNuPlayerDecoderPassThrough.cpp46 const sp<Renderer> &renderer) in DecoderPassThrough() argument
49 mRenderer(renderer), in DecoderPassThrough()
56 ALOGW_IF(renderer == NULL, "expect a non-NULL renderer"); in DecoderPassThrough()
90 const sp<Renderer> &renderer) { in onSetRenderer() argument
92 ALOGW_IF(renderer != mRenderer, in onSetRenderer()
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);
DNuPlayerDecoderBase.cpp86 void NuPlayer::DecoderBase::setRenderer(const sp<Renderer> &renderer) { in setRenderer() argument
88 msg->setObject("renderer", renderer); in setRenderer()
/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/base/libs/hwui/tests/macrobench/
Dmain.cpp149 static bool setRenderer(const char* renderer) { in setRenderer() argument
150 if (!strcmp(renderer, "skiagl")) { in setRenderer()
152 } else if (!strcmp(renderer, "skiavk")) { in setRenderer()
155 fprintf(stderr, "Unknown format '%s'", renderer); in setRenderer()
/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/packages/PrintSpooler/
DAndroid.bp22 "src/com/android/printspooler/renderer/IPdfRenderer.aidl",
23 "src/com/android/printspooler/renderer/IPdfEditor.aidl",
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/glwallpaper/
DImageWallpaperRendererTest.java79 ImageWallpaperRenderer renderer = new ImageWallpaperRenderer(mContext); in testWcgContent() local
80 assertThat(renderer.isWcgContent()).isFalse(); in testWcgContent()
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/
Dcameraeffectsrecordingsample.graph47 @filter SurfaceRenderFilter renderer {
55 @connect camera[video] => renderer[frame];
/frameworks/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java147 TriangleBuffer renderer = new TriangleBuffer(); in paintRectShadow() local
148 renderer.setSize(imgW, imgH, 0); in paintRectShadow()
153renderer.drawTriangles(ambientTriangulator.getIndices(), ambientTriangulator.getVertices(), in paintRectShadow()
161 renderer.drawTriangles(strips[i], ShadowConstants.SPOT_SHADOW_STRENGTH * alpha); in paintRectShadow()
165 Bitmap img = renderer.createImage(); in paintRectShadow()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DIPdfEditor.aidl17 package com.android.printspooler.renderer;
DIPdfRenderer.aidl17 package com.android.printspooler.renderer;

12