Home
last modified time | relevance | path

Searched refs:mPreview (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DCameraWidgetFrame.java67 private FixedSizeFrameLayout mPreview; field in CameraWidgetFrame
151 mPreview = new FixedSizeFrameLayout(context); in CameraWidgetFrame()
152 mPreview.addView(previewWidget); in CameraWidgetFrame()
153 addView(mPreview); in CameraWidgetFrame()
222 width, height, (int)(100*mPreview.getScaleX()))); in render()
229 mPreview.width = width; in render()
230 mPreview.height = height; in render()
231 mPreview.requestLayout(); in render()
246 final boolean isRtl = mPreview.getLayoutDirection() == LAYOUT_DIRECTION_RTL; in render()
247 mPreview.setPivotX(isRtl ? mPreview.width : 0); in render()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java76 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 …]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java162 private Bitmap mPreview; field in BitmapRegionTileSource.BitmapSource
194 mPreview = loadPreviewBitmap(opts); in loadInBackground()
210 return mPreview; in getPreviewBitmap()
369 private BasicTexture mPreview; field in BitmapRegionTileSource
397 mPreview = new BitmapTexture(preview); in BitmapRegionTileSource()
426 return mPreview; in getPreview()
/frameworks/base/docs/html/training/camera/
Dcameradirect.jd74 mPreview.setCamera(null);
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd607 private CameraPreview mPreview;
618 mPreview = new CameraPreview(this, mCamera);
620 preview.addView(mPreview);
837 mMediaRecorder.setPreviewDisplay(mPreview.getHolder().getSurface());
963 private SurfaceView mPreview;