Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/
DGammaFontRenderer.h59 delete mRenderer; in ~ShaderGammaFontRenderer() local
63 delete mRenderer; in clear() local
64 mRenderer = nullptr; in clear()
68 if (mRenderer) { in flush()
69 mRenderer->flushLargeCaches(); in flush()
74 if (!mRenderer) { in getFontRenderer()
75 mRenderer = new FontRenderer; in getFontRenderer()
77 return *mRenderer; in getFontRenderer()
85 return mRenderer ? mRenderer->getCacheSize(format) : 0; in getFontRendererSize()
96 FontRenderer* mRenderer; variable
[all …]
DGammaFontRenderer.cpp100 mRenderer = nullptr; in ShaderGammaFontRenderer()
132 if (mRenderer) { in endPrecaching()
133 mRenderer->endPrecaching(); in endPrecaching()
152 mRenderer = nullptr; in LookupGammaFontRenderer()
156 if (mRenderer) { in endPrecaching()
157 mRenderer->endPrecaching(); in endPrecaching()
DDisplayList.h73 : mRenderer(renderer) in PlaybackStateStruct()
78 OpenGLRenderer& mRenderer;
87 return mRenderer.allocPathForFrame(); in allocPathForFrame()
DTextDropShadowCache.h148 mRenderer = &fontRenderer; in setFontRenderer()
171 FontRenderer* mRenderer; variable
DDisplayListOp.h93 applyState(deferStruct.mRenderer, saveCount); in defer()
102 applyState(replayStruct.mRenderer, saveCount); in replay()
120 deferStruct.mDeferredList.addDrawOp(deferStruct.mRenderer, this); in defer()
129 applyDraw(replayStruct.mRenderer, replayStruct.mDirty); in replay()
278 int newSaveCount = deferStruct.mRenderer.save(mFlags); in defer()
279 deferStruct.mDeferredList.addSave(deferStruct.mRenderer, this, newSaveCount); in defer()
304 deferStruct.mDeferredList.addRestoreToCount(deferStruct.mRenderer, in defer()
306 deferStruct.mRenderer.restoreToCount(saveCount + mCount); in defer()
343 int newSaveCount = deferStruct.mRenderer.getSaveCount(); in defer()
344 deferStruct.mDeferredList.addSaveLayer(deferStruct.mRenderer, this, newSaveCount); in defer()
[all …]
/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.java36 private HardwareRenderer mRenderer; field in HardwareLayer
44 mRenderer = renderer; in HardwareLayer()
56 mRenderer.pushLayerUpdate(this); in setLayerPaint()
76 mRenderer.onLayerDestroyed(this); in destroy()
77 mRenderer = null; in destroy()
94 return mRenderer.copyLayerInto(this, bitmap); in copyInto()
119 mRenderer.pushLayerUpdate(this); in setTransform()
126 mRenderer.detachSurfaceTexture(mFinalizer.get()); in detachSurfaceTexture()
135 mRenderer.pushLayerUpdate(this); in setSurfaceTexture()
140 mRenderer.pushLayerUpdate(this); in updateSurfaceTexture()
/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/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java68 private final AsyncRenderer mRenderer; field in PageContentRepository
82 mRenderer = new AsyncRenderer(context); in PageContentRepository()
96 mRenderer.open(source, callback); in open()
106 mRenderer.close(callback); in close()
124 mRenderer.destroy(); in destroy()
138 mRenderer.startPreload(firstShownPage, lastShownPage, mLastRenderSpec); in startPreload()
143 mRenderer.stopPreload(); in stopPreload()
147 return mRenderer.getPageCount(); in getFilePageCount()
232 mRenderer.renderPage(mPageIndex, renderSpec, callback); in getPageContent()
234 mRenderer.getCachedPage(mPageIndex, renderSpec, callback); in getPageContent()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoderPassThrough.cpp48 mRenderer(renderer), in DecoderPassThrough()
77 status_t err = mRenderer->openAudioSink( in onConfigure()
92 ALOGW_IF(renderer != mRenderer, in onSetRenderer()
298 if (mRenderer != NULL) { in onInputBufferFetched()
299 mRenderer->queueEOS(true /* audio */, ERROR_END_OF_STREAM); in onInputBufferFetched()
333 if (mRenderer == NULL) { in onInputBufferFetched()
342 mRenderer->queueBuffer(true /* audio */, buffer, reply); in onInputBufferFetched()
376 if (mRenderer != NULL) { in doFlush()
377 mRenderer->flush(true /* audio */, notifyComplete); in doFlush()
378 mRenderer->signalTimeDiscontinuity(); in doFlush()
DNuPlayer.cpp716 if (mRenderer != NULL) { in onMessageReceived()
717 err = mRenderer->setPlaybackSettings(rate); in onMessageReceived()
754 if (mRenderer != NULL) { in onMessageReceived()
755 err = mRenderer->getPlaybackSettings(&rate); in onMessageReceived()
784 if (mRenderer != NULL) { in onMessageReceived()
785 err = mRenderer->setSyncSettings(sync, videoFpsHint); in onMessageReceived()
804 if (mRenderer != NULL) { in onMessageReceived()
805 err = mRenderer->getSyncSettings(&sync, &videoFps); in onMessageReceived()
938 mRenderer->queueEOS(audio, err); in onMessageReceived()
1109 if (mRenderer == NULL) { in onMessageReceived()
[all …]
DNuPlayerDecoder.cpp58 mRenderer(renderer), in Decoder()
341 bool hadNoRenderer = (mRenderer == NULL); in onSetRenderer()
342 mRenderer = renderer; in onSetRenderer()
343 if (hadNoRenderer && mRenderer != NULL) { in onSetRenderer()
368 if (mRenderer != NULL) { in doFlush()
369 mRenderer->flush(mIsAudio, notifyComplete); in doFlush()
370 mRenderer->signalTimeDiscontinuity(); in doFlush()
450 if (isDiscontinuityPending() || mRenderer == NULL) { in doRequestBuffers()
602 if (mRenderer != NULL) { in handleAnOutputBuffer()
604 mRenderer->queueBuffer(mIsAudio, buffer, reply); in handleAnOutputBuffer()
[all …]
DNuPlayerDecoderPassThrough.h53 sp<Renderer> mRenderer; member
/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/renderer/
DPdfManipulationService.java80 private PdfRenderer mRenderer; field in PdfManipulationService.PdfRendererImpl
90 mRenderer = new PdfRenderer(source); in openDocument()
91 return mRenderer.getPageCount(); in openDocument()
111 PdfRenderer.Page page = mRenderer.openPage(pageIndex); in renderPage()
121 final boolean scaleContent = mRenderer.shouldScaleForPrinting(); in renderPage()
180 mRenderer.close(); in closeDocument()
181 mRenderer = null; in closeDocument()
199 if (mRenderer != null) { in throwIfOpened()
205 if (mRenderer == null) { in throwIfNotOpened()
/frameworks/native/cmds/flatland/
DMain.cpp305 mRenderer = desc.rendererFactory(); in setUp()
306 result = mRenderer->setUp(helper); in setUp()
327 if (mRenderer != NULL) { in tearDown()
328 mRenderer->tearDown(); in tearDown()
329 delete mRenderer; in tearDown()
330 mRenderer = NULL; in tearDown()
342 return mRenderer->render(mSurface); in render()
372 Renderer* mRenderer; member in Layer
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLExtensions.cpp40 mRenderer = (char const*)renderer; in initWithGLStrings()
71 return mRenderer.string(); in getRenderer()
DGLExtensions.h42 String8 mRenderer; variable
/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()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java68 VideoDumpRenderer mRenderer; field in VideoDumpView
116 mRenderer = new VideoDumpRenderer(context); in VideoDumpView()
117 setRenderer(mRenderer); in VideoDumpView()
155 mRenderer.setMediaPlayer(mMediaPlayer); in onResume()
156 mRenderer.setImageListWriter(mImageListWriter); in onResume()

12