Home
last modified time | relevance | path

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

/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/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/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/screensavers/Basic/src/com/android/dreams/basic/
DColors.java48 private ColorsGLRenderer mRenderer; field in Colors
82 if (mRenderer != null) { in onSurfaceTextureAvailable()
83 mRenderer.stop(); in onSurfaceTextureAvailable()
85 mRenderer = new ColorsGLRenderer(surface, width, height); in onSurfaceTextureAvailable()
86 mRenderer.start(); in onSurfaceTextureAvailable()
99 if (mRenderer != null) { in onSurfaceTextureSizeChanged()
100 mRenderer.setSize(width, height); in onSurfaceTextureSizeChanged()
113 if (mRenderer != null) { in onSurfaceTextureDestroyed()
114 mRenderer.stop(); in onSurfaceTextureDestroyed()
115 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.java79 private SlotRenderer mRenderer; field in SlotView
98 mRenderer = slotDrawer; in setSlotRenderer()
99 if (mRenderer != null) { in setSlotRenderer()
100 mRenderer.onSlotSizeChanged(mLayout.mSlotWidth, mLayout.mSlotHeight); in setSlotRenderer()
101 mRenderer.onVisibleRangeChanged(getVisibleStart(), getVisibleEnd()); in setSlotRenderer()
241 if (mRenderer == null) return; in render()
242 mRenderer.prepareDrawing(); in render()
324 int result = mRenderer.renderSlot( in renderItem()
506 if (mRenderer != null) { in initLayoutParameters()
507 mRenderer.onSlotSizeChanged(mSlotWidth, mSlotHeight); in initLayoutParameters()
[all …]
/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.java77 mRenderer.addItem(item); in initialize()
96 mRenderer.addItem(hdr); in initialize()
114 mRenderer.addItem(item); in initialize()
DVideoController.java78 mRenderer.addItem(item); in initialize()
97 mRenderer.addItem(item); in initialize()