/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageView.java | 80 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 …]
|
D | BlockingGLTextureView.java | 319 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/ |
D | CropView.java | 71 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/ |
D | TextureLayer.java | 36 private HardwareRenderer mRenderer; field in TextureLayer 44 mRenderer = renderer; in TextureLayer() 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/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | BasicGLSurfaceView.java | 14 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/ |
D | PlayerSession.java | 44 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/ |
D | BackdropFrameRenderer.java | 45 private ThreadedRenderer mRenderer; field in BackdropFrameRenderer 84 mRenderer = renderer; in BackdropFrameRenderer() 92 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/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MyLittleTextureView.java | 37 private HardwareRenderer mRenderer = new HardwareRenderer(); field in MyLittleTextureView 49 mRenderer.setSurface(reader.getSurface()); in onCreate() 50 mRenderer.setLightSourceAlpha(0.0f, 1.0f); in onCreate() 51 mRenderer.setLightSourceGeometry(100 / 2f, 0f, 800.0f, 20.0f); in onCreate() 77 mRenderer.setContentRoot(mContent); in onCreate() 78 mRenderer.createRenderRequest() in onCreate()
|
D | MultiProducerActivity.java | 135 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()
|
D | CustomRenderer.java | 33 private HardwareRenderer mRenderer = new HardwareRenderer(); field in CustomRenderer 96 mRenderer.createRenderRequest() in draw() 115 mRenderer.setContentRoot(mRootNode); 116 mRenderer.setSurface(holder.getSurface()); 125 mRenderer.destroy();
|
D | GLDepthTestActivity.java | 59 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/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 84 private GLWallpaperRenderer mRenderer; field in ImageWallpaper.GLEngine 115 mRenderer = new ImageWallpaperRenderer(getDisplayContext(), this /* SurfaceProxy */); in onCreate() 124 Size frameSize = mRenderer.reportSurfaceSize(); in updateSurfaceSize() 154 mWorker.getThreadHandler().post(() -> mRenderer.updateOffsets(xOffset, yOffset)); in onOffsetsChanged() 167 () -> mRenderer.updateAmbientMode(inAmbientMode, duration)); in onAmbientModeChanged() 199 mRenderer.finish(); 200 mRenderer = null; 212 mRenderer.onSurfaceCreated(); in onSurfaceCreated() 224 mRenderer.onSurfaceChanged(width, height); in onSurfaceChanged() 305 mRenderer.onSurfaceCreated(); in preRenderInternal() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoderPassThrough.cpp | 49 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()
|
D | NuPlayer.cpp | 860 if (mRenderer != NULL) { in onMessageReceived() 874 mRenderer->pause(); in onMessageReceived() 880 mRenderer->resume(); in onMessageReceived() 884 err = mRenderer->setPlaybackSettings(rate); in onMessageReceived() 928 if (mRenderer != NULL) { in onMessageReceived() 929 err = mRenderer->getPlaybackSettings(&rate); in onMessageReceived() 958 if (mRenderer != NULL) { in onMessageReceived() 959 err = mRenderer->setSyncSettings(sync, videoFpsHint); in onMessageReceived() 978 if (mRenderer != NULL) { in onMessageReceived() 979 err = mRenderer->getSyncSettings(&sync, &videoFps); in onMessageReceived() [all …]
|
D | NuPlayerDecoder.cpp | 70 mRenderer(renderer), in Decoder() 461 mRenderer = renderer; in onSetRenderer() 484 if (mRenderer != NULL) { in doFlush() 485 mRenderer->flush(mIsAudio, notifyComplete); in doFlush() 486 mRenderer->signalTimeDiscontinuity(); in doFlush() 773 if (mRenderer != NULL && !isDiscontinuityPending()) { in handleAnOutputBuffer() 774 mRenderer->queueEOS(mIsAudio, ERROR_END_OF_STREAM); in handleAnOutputBuffer() 786 if (mRenderer != NULL) { in handleAnOutputBuffer() 788 mRenderer->queueBuffer(mIsAudio, buffer, reply); in handleAnOutputBuffer() 790 mRenderer->queueEOS(mIsAudio, ERROR_END_OF_STREAM); in handleAnOutputBuffer() [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PageContentRepository.java | 76 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() 256 mRenderer.renderPage(mPageIndex, renderSpec, callback); in getPageContent() 258 mRenderer.getCachedPage(mPageIndex, renderSpec, callback); in getPageContent() [all …]
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
D | DemoPresentation.java | 44 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/ |
D | PdfManipulationService.java | 80 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/ |
D | Main.cpp | 303 mRenderer = desc.rendererFactory(); in setUp() 304 result = mRenderer->setUp(helper); in setUp() 325 if (mRenderer != nullptr) { in tearDown() 326 mRenderer->tearDown(); in tearDown() 327 delete mRenderer; in tearDown() 328 mRenderer = nullptr; in tearDown() 340 return mRenderer->render(mSurface); in render() 368 Renderer* mRenderer; member in Layer
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
D | GL2CameraEye.java | 75 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/ |
D | ClearActivity.java | 59 mRenderer = new ClearRenderer(); in ClearGLSurfaceView() 60 setRenderer(mRenderer); in ClearGLSurfaceView() 63 ClearRenderer mRenderer; field in ClearGLSurfaceView
|
/frameworks/native/libs/renderengine/gl/ |
D | GLExtensions.cpp | 60 mRenderer = (char const*)renderer; in initWithGLStrings() 75 return mRenderer.string(); in getRenderer()
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
D | MyGLSurfaceView.java | 48 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/packages/SystemUI/src/com/android/keyguard/clock/ |
D | DefaultClockController.java | 58 private final ViewPreviewer mRenderer = new ViewPreviewer(); field in DefaultClockController 131 return mRenderer.createPreview(view, width, height); in getPreview()
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
D | VideoDumpView.java | 68 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()
|