Home
last modified time | relevance | path

Searched refs:mRenderer (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/libs/hwui/
DGammaFontRenderer.h30 mRenderer.reset(nullptr); in clear()
34 if (mRenderer) { in flush()
35 mRenderer->flushLargeCaches(); in flush()
40 if (!mRenderer) { in getFontRenderer()
45 mRenderer.reset(new FontRenderer(table)); in getFontRenderer()
47 return *mRenderer; in getFontRenderer()
51 if (mRenderer) { in dumpMemoryUsage()
52 mRenderer->dumpMemoryUsage(log); in dumpMemoryUsage()
59 return mRenderer ? mRenderer->getSize() : 0; in getSize()
65 std::unique_ptr<FontRenderer> mRenderer;
DProfileRenderer.cpp24 mRenderer.drawRect(left, top, right, bottom, &paint); in drawRect()
28 mRenderer.drawRects(rects, count, &paint); in drawRects()
32 return mRenderer.getViewportWidth(); in getViewportWidth()
36 return mRenderer.getViewportHeight(); in getViewportHeight()
DGammaFontRenderer.cpp37 if (mRenderer) { in endPrecaching()
38 mRenderer->endPrecaching(); in endPrecaching()
DProfileRenderer.h27 : mRenderer(renderer) { in ProfileRenderer()
38 BakedOpRenderer& mRenderer;
DTextDropShadowCache.h142 mRenderer = &fontRenderer; in setFontRenderer()
159 FontRenderer* mRenderer = nullptr; variable
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageView.java80 protected ImageRendererWrapper mRenderer; field in TiledImageView
96 mRenderer = new ImageRendererWrapper(); in TiledImageView()
97 mRenderer.image = new TiledImageRenderer(this); in TiledImageView()
130 mRenderer.image.freeTextures();
157 mRenderer.source = source; in setTileSource()
158 mRenderer.isReadyCallback = isReadyCallback; in setTileSource()
159 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0; in setTileSource()
160 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; in setTileSource()
161 mRenderer.rotation = source != null ? source.getRotation() : 0; in setTileSource()
162 mRenderer.scale = 0; in setTileSource()
[all …]
DBlockingGLTextureView.java319 private Renderer mRenderer; field in BlockingGLTextureView.RenderThread
327 mRenderer = renderer; in RenderThread()
332 if (mRenderer == null) { in checkRenderer()
400 mRenderer.onSurfaceCreated(mGL, mEglHelper.mEglConfig); in handleMessageLocked()
404 mRenderer.onSurfaceChanged(mGL, mWidth, mHeight); in handleMessageLocked()
407 mRenderer.onDrawFrame(mGL); in handleMessageLocked()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DCropView.java71 final float imageWidth = mRenderer.source.getImageWidth(); in getImageDims()
72 final float imageHeight = mRenderer.source.getImageHeight(); in getImageDims()
89 float initialCenterX = mRenderer.source.getImageWidth() / 2f; in getEdgesHelper()
90 float initialCenterY = mRenderer.source.getImageHeight() / 2f; in getEdgesHelper()
99 final float scale = mRenderer.scale; in getEdgesHelper()
116 return mRenderer.rotation; in getImageRotation()
122 final float scale = mRenderer.scale; in getCrop()
133 return new Point(mRenderer.source.getImageWidth(), mRenderer.source.getImageHeight()); in getSourceDimensions()
138 mCenterX = mRenderer.centerX; in setTileSource()
139 mCenterY = mRenderer.centerY; in setTileSource()
[all …]
/frameworks/base/core/java/android/view/
DHardwareLayer.java37 private ThreadedRenderer mRenderer; field in HardwareLayer
45 mRenderer = renderer; in HardwareLayer()
57 mRenderer.pushLayerUpdate(this); in setLayerPaint()
77 mRenderer.onLayerDestroyed(this); in destroy()
78 mRenderer = null; in destroy()
95 return mRenderer.copyLayerInto(this, bitmap); in copyInto()
120 mRenderer.pushLayerUpdate(this); in setTransform()
127 mRenderer.detachSurfaceTexture(mFinalizer.get()); in detachSurfaceTexture()
136 mRenderer.pushLayerUpdate(this); in setSurfaceTexture()
141 mRenderer.pushLayerUpdate(this); in updateSurfaceTexture()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DBasicGLSurfaceView.java14 private final BasicGLRenderer mRenderer; field in BasicGLSurfaceView
19 mRenderer = new BasicGLRenderer(context, this); in BasicGLSurfaceView()
26 mRenderer = new BasicGLRenderer(context, this); in BasicGLSurfaceView()
31 setRenderer(mRenderer); in setup()
46 mRenderer.onResume(); in onResume()
51 mRenderer.onPause(); in onPause()
57 mRenderer.onTouchEvent(e); in onTouchEvent()
68 mRenderer.onJoystick(x,y); in onGenericMotionEvent()
77 mRenderer.onKeyDown(keyCode, event); in onKeyDown()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java44 protected Renderer mRenderer; field in PlayerSession
58 mRenderer = new LocalRenderer(context, null); in PlayerSession()
66 mRenderer.registerListener(mRenderListener); in PlayerSession()
89 if (mRenderer != null) { in onDestroy()
90 mRenderer.unregisterListener(mRenderListener); in onDestroy()
91 mRenderer.onDestroy(); in onDestroy()
111 mRenderer.setContent(request); in setContent()
116 mRenderer.setNextContent(request); in setNextContent()
140 long position = mRenderer == null ? -1 : mRenderer.getSeekPosition(); in updateState()
182 if (mRenderer != null) { in onStateChanged()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java45 private ThreadedRenderer mRenderer; field in BackdropFrameRenderer
85 mRenderer = renderer; in BackdropFrameRenderer()
93 mRenderer.addRenderNode(mFrameAndBackdropNode, true); in BackdropFrameRenderer()
147 mRenderer.addRenderNode(mSystemBarBackgroundNode, false); in addSystemBarNodeIfNeeded()
177 if (mRenderer != null) { in onConfigurationChange()
191 if (mRenderer != null) { in releaseRenderer()
193 mRenderer.setContentDrawBounds(0, 0, 0, 0); in releaseRenderer()
197 mRenderer.removeRenderNode(mFrameAndBackdropNode); in releaseRenderer()
199 mRenderer.removeRenderNode(mSystemBarBackgroundNode); in releaseRenderer()
202 mRenderer = null; in releaseRenderer()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoderPassThrough.cpp49 mRenderer(renderer), in DecoderPassThrough()
77 status_t err = mRenderer->openAudioSink( in onConfigure()
92 ALOGW_IF(renderer != mRenderer, in onSetRenderer()
301 if (mRenderer != NULL) { in onInputBufferFetched()
302 mRenderer->queueEOS(true /* audio */, ERROR_END_OF_STREAM); in onInputBufferFetched()
335 if (mRenderer == NULL) { in onInputBufferFetched()
347 mRenderer->queueBuffer(true /* audio */, mcBuffer, reply); in onInputBufferFetched()
381 if (mRenderer != NULL) { in doFlush()
382 mRenderer->flush(true /* audio */, notifyComplete); in doFlush()
383 mRenderer->signalTimeDiscontinuity(); in doFlush()
DNuPlayer.cpp833 if (mRenderer != NULL) { in onMessageReceived()
847 mRenderer->pause(); in onMessageReceived()
853 mRenderer->resume(); in onMessageReceived()
857 err = mRenderer->setPlaybackSettings(rate); in onMessageReceived()
901 if (mRenderer != NULL) { in onMessageReceived()
902 err = mRenderer->getPlaybackSettings(&rate); in onMessageReceived()
931 if (mRenderer != NULL) { in onMessageReceived()
932 err = mRenderer->setSyncSettings(sync, videoFpsHint); in onMessageReceived()
951 if (mRenderer != NULL) { in onMessageReceived()
952 err = mRenderer->getSyncSettings(&sync, &videoFps); in onMessageReceived()
[all …]
DNuPlayerDecoder.cpp69 mRenderer(renderer), in Decoder()
454 mRenderer = renderer; in onSetRenderer()
471 if (mRenderer != NULL) { in doFlush()
472 mRenderer->flush(mIsAudio, notifyComplete); in doFlush()
473 mRenderer->signalTimeDiscontinuity(); in doFlush()
750 if (mRenderer != NULL) { in handleAnOutputBuffer()
752 mRenderer->queueBuffer(mIsAudio, buffer, reply); in handleAnOutputBuffer()
754 mRenderer->queueEOS(mIsAudio, ERROR_END_OF_STREAM); in handleAnOutputBuffer()
773 } else if (mRenderer != NULL) { in handleOutputFormatChange()
787 mRenderer->changeAudioFormat( in handleOutputFormatChange()
[all …]
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DDemoPresentation.java44 private CubeRenderer mRenderer; field in DemoPresentation
65 mRenderer = new CubeRenderer(false); in onCreate()
67 mSurfaceView.setRenderer(mRenderer); in onCreate()
74 mRenderer.explode(); in onCreate()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java76 private final AsyncRenderer mRenderer; field in PageContentRepository
91 mRenderer = new AsyncRenderer(context); in PageContentRepository()
105 mRenderer.open(source, callback); in open()
115 mRenderer.close(callback); in close()
134 mRenderer.destroy(); in destroy()
158 mRenderer.startPreload(visiblePages, selectedPages, writtenPages, mLastRenderSpec); in startPreload()
163 mRenderer.stopPreload(); in stopPreload()
167 return mRenderer.getPageCount(); in getFilePageCount()
253 mRenderer.renderPage(mPageIndex, renderSpec, callback); in getPageContent()
255 mRenderer.getCachedPage(mPageIndex, renderSpec, callback); in getPageContent()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMultiProducerActivity.java135 ThreadedRenderer mRenderer; field in MultiProducerActivity.FakeFrame
147 mRenderer = renderer; in FakeFrame()
174 mRenderer.addRenderNode(nodeBack, true); in run()
180 mRenderer.addRenderNode(nodeFrame, false); in run()
190 mRenderer.setContentDrawBounds(surfaceOrigin[0], surfaceOrigin[1], in run()
239 mRenderer.drawRenderNode(nodeFrame); in run()
242 mRenderer.drawRenderNode(nodeBack); in run()
249 mRenderer.removeRenderNode(nodeFrame); in run()
252 mRenderer.removeRenderNode(nodeBack); in run()
DGLDepthTestActivity.java59 mRenderer = new GLES20TriangleRenderer(this); in onCreate()
60 mGLSurfaceView.setRenderer(mRenderer); in onCreate()
94 mRenderer.toggleDepthTest(); in onTouchEvent()
100 private GLES20TriangleRenderer mRenderer; field in GLDepthTestActivity
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java80 private PdfRenderer mRenderer; field in PdfManipulationService.PdfRendererImpl
90 mRenderer = new PdfRenderer(source); in openDocument()
91 return mRenderer.getPageCount(); in openDocument()
111 try (PdfRenderer.Page page = mRenderer.openPage(pageIndex)) { in renderPage()
120 final boolean scaleContent = mRenderer.shouldScaleForPrinting(); in renderPage()
183 mRenderer.close(); in closeDocument()
184 mRenderer = null; in closeDocument()
202 if (mRenderer != null) { in throwIfOpened()
208 if (mRenderer == null) { in throwIfNotOpened()
/frameworks/native/cmds/flatland/
DMain.cpp304 mRenderer = desc.rendererFactory(); in setUp()
305 result = mRenderer->setUp(helper); in setUp()
326 if (mRenderer != NULL) { in tearDown()
327 mRenderer->tearDown(); in tearDown()
328 delete mRenderer; in tearDown()
329 mRenderer = NULL; in tearDown()
341 return mRenderer->render(mSurface); in render()
371 Renderer* mRenderer; member in Layer
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLExtensions.cpp40 mRenderer = (char const*)renderer; in initWithGLStrings()
71 return mRenderer.string(); in getRenderer()
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java75 mRenderer = new CamRenderer(context); in CamGLSurfaceView()
76 setRenderer(mRenderer); in CamGLSurfaceView()
85 mRenderer.setPosition(event.getX() / getWidth(), in onTouchEvent()
109 mRenderer.setCamera(mCamera); in onResume()
121 mRenderer.setAcceleration(accelerationVector); in onSensorChanged()
130 CamRenderer mRenderer; field in CamGLSurfaceView
/frameworks/native/opengl/tests/lighting1709/src/com/android/lightingtest/
DClearActivity.java59 mRenderer = new ClearRenderer(); in ClearGLSurfaceView()
60 setRenderer(mRenderer); in ClearGLSurfaceView()
63 ClearRenderer mRenderer; field in ClearGLSurfaceView
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java48 MyRenderer mRenderer; field in MyGLSurfaceView
61 mRenderer = new MyRenderer(context); in init()
62 setRenderer(mRenderer); in init()
76 return mRenderer.getSurfaceTexture(); in getSurfaceTexture()

12