Searched refs:mPreview (Results 1 – 8 of 8) sorted by relevance
/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 | 52 private final TextureView mPreview; field in TextureViewHelper 79 mPreview = preview; in TextureViewHelper() 81 mPreview.addOnLayoutChangeListener(this); in TextureViewHelper() 82 mPreview.setSurfaceTextureListener(this); in TextureViewHelper() 108 int rotation = CameraUtil.getDisplayRotation((Activity) mPreview.getContext()); in onLayoutChange() 129 mPreview.setTransform(new Matrix()); in clearTransform() 195 mPreview.setTransform(matrix); in updateTransformFullScreen() 222 mPreview.setTransform(matrix); 359 mOrientation = CameraUtil.getDisplayRotation((Activity) mPreview.getContext()); 372 mPreview.setTransform(matrix); [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 172 mPreview.setBitmap(mResultBitmap, mResultLock); 199 mPreview = (TinyPlanetPreview) view.findViewById(R.id.preview); in onCreateView() 200 mPreview.setPreviewSizeChangeListener(this); in onCreateView()
|
/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/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()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperPreview.java | 102 private CheckBox mPreview; field in LiveWallpaperPreview 388 mPreview = (CheckBox) menu.findItem(R.id.preview).getActionView(); in setupPreviewMenu() 389 mPreview.setOnClickListener(this::setPreviewBehavior); in setupPreviewMenu() 425 if (mPreview != null) { in setPreviewChecked() 426 mPreview.setChecked(checked); in setPreviewChecked() 429 mPreview.setContentDescription(getResources().getString(resId)); in setPreviewChecked()
|