/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | HardwareCameraPreview.java | 39 private CameraPreview mPreview; field in HardwareCameraPreview 43 mPreview = new CameraPreview(this); in HardwareCameraPreview() 47 CameraManager.get().setSurface(mPreview); in HardwareCameraPreview() 52 CameraManager.get().setSurface(mPreview); in HardwareCameraPreview() 63 CameraManager.get().setSurface(mPreview); in HardwareCameraPreview() 71 mPreview.onVisibilityChanged(visibility); in onVisibilityChanged() 77 mPreview.onDetachedFromWindow(); in onDetachedFromWindow() 83 mPreview.onAttachedToWindow(); in onAttachedToWindow() 89 mPreview.onRestoreInstanceState(); in onRestoreInstanceState() 94 widthMeasureSpec = mPreview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() [all …]
|
D | SoftwareCameraPreview.java | 37 private final CameraPreview mPreview; field in SoftwareCameraPreview 41 mPreview = new CameraPreview(this); in SoftwareCameraPreview() 45 CameraManager.get().setSurface(mPreview); in SoftwareCameraPreview() 51 CameraManager.get().setSurface(mPreview); in SoftwareCameraPreview() 65 mPreview.onVisibilityChanged(visibility); in onVisibilityChanged() 71 mPreview.onDetachedFromWindow(); in onDetachedFromWindow() 77 mPreview.onAttachedToWindow(); in onAttachedToWindow() 83 mPreview.onRestoreInstanceState(); in onRestoreInstanceState() 88 widthMeasureSpec = mPreview.getWidthMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() 89 heightMeasureSpec = mPreview.getHeightMeasureSpec(widthMeasureSpec, heightMeasureSpec); in onMeasure() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | TextureViewHelper.java | 51 private final TextureView mPreview; field in TextureViewHelper 78 mPreview = preview; in TextureViewHelper() 80 mPreview.addOnLayoutChangeListener(this); in TextureViewHelper() 81 mPreview.setSurfaceTextureListener(this); in TextureViewHelper() 128 mPreview.setTransform(new Matrix()); in clearTransform() 194 mPreview.setTransform(matrix); in updateTransformFullScreen() 221 mPreview.setTransform(matrix); 371 mPreview.setTransform(matrix); 383 mPreview.post(new Runnable() { 407 if (mPreview == null) { [all …]
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 157 private Bitmap mPreview; field in BitmapRegionTileSource.BitmapSource 194 mPreview = loadPreviewBitmap(opts); in loadInBackground() 198 mPreview = null; in loadInBackground() 202 if (mPreview == null) { in loadInBackground() 203 mPreview = loadPreviewBitmap(opts); in loadInBackground() 208 GLUtils.getInternalFormat(mPreview); in loadInBackground() 209 GLUtils.getType(mPreview); in loadInBackground() 228 return mPreview; in getPreviewBitmap() 387 private BasicTexture mPreview; field in BitmapRegionTileSource 409 mPreview = new BitmapTexture(preview); in BitmapRegionTileSource() [all …]
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 77 private BasicTexture mPreview; field in TiledImageRenderer 204 if (mPreview != null) { in calculateLevelCount() 206 mImageWidth / (float) mPreview.getWidth())); in calculateLevelCount() 225 mPreview = null; in notifyModelInvalidated() 229 mPreview = mModel.getPreview(); in notifyModelInvalidated() 450 } else if (mPreview != null) { in draw() 451 mPreview.draw(canvas, mOffsetX, mOffsetY, in draw() 468 return mRenderComplete || mPreview != null; in draw() 623 if (mPreview != null) { in drawTile() 625 float scaleX = (float) mPreview.getWidth() / mImageWidth; in drawTile() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 76 private BasicTexture mPreview; field in TiledImageRenderer 203 if (mPreview != null) { in calculateLevelCount() 205 mImageWidth / (float) mPreview.getWidth())); in calculateLevelCount() 224 mPreview = null; in notifyModelInvalidated() 228 mPreview = mModel.getPreview(); in notifyModelInvalidated() 449 } else if (mPreview != null) { in draw() 450 mPreview.draw(canvas, mOffsetX, mOffsetY, in draw() 467 return mRenderComplete || mPreview != null; in draw() 622 if (mPreview != null) { in drawTile() 624 float scaleX = (float) mPreview.getWidth() / mImageWidth; in drawTile() [all …]
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
D | TinyPlanetPreview.java | 46 private Bitmap mPreview; field in TinyPlanetPreview 67 mPreview = preview; in setBitmap() 84 if (mPreview != null && !mPreview.isRecycled()) { in onDraw() 85 canvas.drawBitmap(mPreview, 0, 0, mPaint); in onDraw()
|
D | TinyPlanetFragment.java | 93 private TinyPlanetPreview mPreview; field in TinyPlanetFragment 170 mPreview.setBitmap(mResultBitmap, mResultLock); 197 mPreview = (TinyPlanetPreview) view.findViewById(R.id.preview); in onCreateView() 198 mPreview.setPreviewSizeChangeListener(this); in onCreateView()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | DrawableTileSource.java | 38 private BitmapTexture mPreview; field in DrawableTileSource 71 if (mPreview == null){ in getPreview() 83 mPreview = new BitmapTexture(b); in getPreview() 85 return mPreview; in getPreview()
|
/packages/apps/Settings/src/com/android/settings/ |
D | Display.java | 55 mPreview = (TextView) findViewById(R.id.preview); in onCreate() 56 mPreview.setText(r.getText(R.string.font_size_preview_text)); in onCreate() 103 mPreview.setTextSize(TypedValue.COMPLEX_UNIT_PX, size); in updateFontScale() 134 private TextView mPreview; field in Display
|
/packages/wallpapers/Basic/src/com/android/wallpaper/ |
D | RenderScriptScene.java | 28 protected boolean mPreview; field in RenderScriptScene 41 mPreview = isPreview; in init() 46 return mPreview; in isPreview()
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
D | RenderScriptScene.java | 29 protected boolean mPreview; field in RenderScriptScene 43 mPreview = isPreview; in init() 48 return mPreview; in isPreview()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 58 private BasicTexture mPreview; field in BitmapRegionTileSource 88 mPreview = new BitmapTexture(preview); in BitmapRegionTileSource() 116 return mPreview; in getPreview()
|