Home
last modified time | relevance | path

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

/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
DTiledImageView.java69 protected ImageRendererWrapper mRenderer; field in TiledImageView
77 mRenderer = new ImageRendererWrapper(); in TiledImageView()
78 mRenderer.image = new TiledImageRenderer(this); in TiledImageView()
104 mRenderer.image.freeTextures();
118 mRenderer.source = source; in setTileSource()
119 mRenderer.isReadyCallback = isReadyCallback; in setTileSource()
120 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0; in setTileSource()
121 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; in setTileSource()
122 mRenderer.rotation = source != null ? source.getRotation() : 0; in setTileSource()
123 mRenderer.scale = 0; in setTileSource()
[all …]
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageView.java80 private 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()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DCropView.java72 final float imageWidth = mRenderer.source.getImageWidth(); in getImageDims()
73 final float imageHeight = mRenderer.source.getImageHeight(); in getImageDims()
90 float initialCenterX = mRenderer.source.getImageWidth() / 2f; in getEdgesHelper()
91 float initialCenterY = mRenderer.source.getImageHeight() / 2f; in getEdgesHelper()
100 final float scale = mRenderer.scale; in getEdgesHelper()
117 return mRenderer.rotation; in getImageRotation()
123 final float scale = mRenderer.scale; in getCrop()
134 return new Point(mRenderer.source.getImageWidth(), mRenderer.source.getImageHeight()); in getSourceDimensions()
139 mCenterX = mRenderer.centerX; in setTileSource()
140 mCenterY = mRenderer.centerY; in setTileSource()
[all …]
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColors.java48 private ColorsGLRenderer mRenderer; field in Colors
83 if (mRenderer != null) { in onSurfaceTextureAvailable()
84 mRenderer.stop(); in onSurfaceTextureAvailable()
86 mRenderer = new ColorsGLRenderer(surface, width, height); in onSurfaceTextureAvailable()
87 mRenderer.start(); in onSurfaceTextureAvailable()
100 if (mRenderer != null) { in onSurfaceTextureSizeChanged()
101 mRenderer.setSize(width, height); in onSurfaceTextureSizeChanged()
114 if (mRenderer != null) { in onSurfaceTextureDestroyed()
115 mRenderer.stop(); in onSurfaceTextureDestroyed()
116 mRenderer = null; in onSurfaceTextureDestroyed()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceView.java36 private MosaicRendererSurfaceViewRenderer mRenderer; field in MosaicRendererSurfaceView
94 mRenderer = new MosaicRendererSurfaceViewRenderer(mIsLandscapeOrientation); in init()
95 setRenderer(mRenderer); in init()
334 mRenderer.setReady(); in setReady()
344 mRenderer.preprocess(transformMatrix); in preprocess()
354 mRenderer.transferGPUtoCPU(); in transferGPUtoCPU()
365 mRenderer.setWarping(flag); in setWarping()
371 return mRenderer; in getRenderer()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java80 private SlotRenderer mRenderer; field in SlotView
99 mRenderer = slotDrawer; in setSlotRenderer()
100 if (mRenderer != null) { in setSlotRenderer()
101 mRenderer.onSlotSizeChanged(mLayout.mSlotWidth, mLayout.mSlotHeight); in setSlotRenderer()
102 mRenderer.onVisibleRangeChanged(getVisibleStart(), getVisibleEnd()); in setSlotRenderer()
242 if (mRenderer == null) return; in render()
243 mRenderer.prepareDrawing(); in render()
325 int result = mRenderer.renderSlot( in renderItem()
507 if (mRenderer != null) { in initLayoutParameters()
508 mRenderer.onSlotSizeChanged(mSlotWidth, mSlotHeight); in initLayoutParameters()
[all …]
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java66 private InstrumentClusterRenderer mRenderer; field in InstrumentClusterService
139 mRenderer = renderer; in initUiDone()
201 return mRenderer != null ? mRenderer.getNavigationRenderer() : null; in getNavigationRenderer()