Home
last modified time | relevance | path

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

/packages/apps/Launcher3/WallpaperPicker/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()
142 mRenderer.image.freeTextures();
169 mRenderer.source = source; in setTileSource()
170 mRenderer.isReadyCallback = isReadyCallback; in setTileSource()
171 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0; in setTileSource()
172 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; in setTileSource()
173 mRenderer.rotation = source != null ? source.getRotation() : 0; in setTileSource()
174 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/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/wallpapers/Basic/src/com/android/wallpaper/
DRenderScriptWallpaper.java35 private T mRenderer; field in RenderScriptWallpaper.RenderScriptEngine
51 if (mRenderer != null) { in destroyRenderer()
52 mRenderer.stop(); in destroyRenderer()
53 mRenderer = null; in destroyRenderer()
65 if (mRenderer != null) { in onVisibilityChanged()
67 mRenderer.start(); in onVisibilityChanged()
69 mRenderer.stop(); in onVisibilityChanged()
80 if (mRenderer == null) { in onSurfaceChanged()
81 mRenderer = createScene(width, height); in onSurfaceChanged()
82 mRenderer.init(mRs, getResources(), isPreview()); in onSurfaceChanged()
[all …]
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
DRenderScriptWallpaper.java39 private T mRenderer; field in RenderScriptWallpaper.RenderScriptEngine
56 if (mRenderer != null) { in destroyRenderer()
57 mRenderer.stop(true); in destroyRenderer()
58 mRenderer = null; in destroyRenderer()
69 if (mRenderer != null) { in onVisibilityChanged()
71 mRenderer.start(); in onVisibilityChanged()
73 mRenderer.stop(false); in onVisibilityChanged()
84 if (mRenderer == null) { in onSurfaceChanged()
85 mRenderer = createScene(width, height); in onSurfaceChanged()
86 mRenderer.init(mRs, getResources(), isPreview()); in onSurfaceChanged()
[all …]
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/
DRenderScriptWallpaper.java39 private T mRenderer; field in RenderScriptWallpaper.RenderScriptEngine
55 if (mRenderer != null) { in destroyRenderer()
56 mRenderer.stop(); in destroyRenderer()
57 mRenderer = null; in destroyRenderer()
68 if (mRenderer != null) { in onVisibilityChanged()
70 mRenderer.start(); in onVisibilityChanged()
72 mRenderer.stop(); in onVisibilityChanged()
83 if (mRenderer == null) { in onSurfaceChanged()
84 mRenderer = createScene(width, height); in onSurfaceChanged()
85 mRenderer.init(mRs, getResources(), isPreview()); in onSurfaceChanged()
[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/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/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/Camera2/src/com/android/camera/
DPhotoMenu.java61 mRenderer.addItem(item); in initialize()
67 mRenderer.addItem(item); in initialize()
73 mRenderer.addItem(item); in initialize()
78 mRenderer.addItem(more); in initialize()
84 mRenderer.addItem(item); in initialize()
106 mRenderer.addItem(item); in initialize()
DVideoMenu.java63 mRenderer.addItem(item); in initialize()
84 mRenderer.addItem(item); in initialize()
115 mRenderer.addItem(item); in initialize()
120 mRenderer.addItem(item); in initialize()
DPieController.java47 protected PieRenderer mRenderer; field in PieController
58 mRenderer = pie; in PieController()
65 mRenderer.clearItems(); in initialize()
187 mRenderer.addItem(item); in addItem()
/packages/apps/Camera/src/com/android/camera/
DPieController.java43 protected PieRenderer mRenderer; field in PieController
54 mRenderer = pie; in PieController()
61 mRenderer.clearItems(); in initialize()
104 mRenderer.addItem(item); in addItem()
DPhotoController.java79 mRenderer.addItem(item); in initialize()
98 mRenderer.addItem(hdr); in initialize()
119 mRenderer.addItem(item); in initialize()
DVideoController.java78 mRenderer.addItem(item); in initialize()
97 mRenderer.addItem(item); in initialize()