Home
last modified time | relevance | path

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

/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/tests/HwAccelerationTest/src/com/android/test/hwui/
DSingleFrameTextureViewTestActivity.java45 private View mPreview; field in SingleFrameTextureViewTestActivity
55 mPreview = preview; in onCreate()
62 content.addView(mPreview, in onCreate()
215 mPreview.setVisibility(View.GONE); in onSurfaceTextureUpdated()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java160 private Bitmap mPreview; field in BitmapRegionTileSource.BitmapSource
192 mPreview = loadPreviewBitmap(opts); in loadInBackground()
208 return mPreview; in getPreviewBitmap()
370 private BasicTexture mPreview; field in BitmapRegionTileSource
398 mPreview = new BitmapTexture(preview); in BitmapRegionTileSource()
427 return mPreview; in getPreview()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DNavBarTuner.java82 private PreviewNavInflater mPreview; field in NavBarTuner
102 mPreview = (PreviewNavInflater) LayoutInflater.from(getContext().createConfigurationContext( in inflatePreview()
104 final ViewGroup.LayoutParams layoutParams = mPreview.getLayoutParams(); in inflatePreview()
115 view.addView(mPreview); in inflatePreview()
118 mPreview.findViewById(R.id.rot0).setVisibility(View.GONE); in inflatePreview()
119 final View rot90 = mPreview.findViewById(R.id.rot90); in inflatePreview()
121 mPreview.findViewById(R.id.rot90).setVisibility(View.GONE); in inflatePreview()
122 final View rot0 = mPreview.findViewById(R.id.rot0); in inflatePreview()
127 mPreview.onTuningChanged(NAV_BAR_VIEWS, mNavBarAdapter.getNavString()); in notifyChanged()
/frameworks/base/docs/html/training/camera/
Dcameradirect.jd74 mPreview.setCamera(null);
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd614 private CameraPreview mPreview;
625 mPreview = new CameraPreview(this, mCamera);
627 preview.addView(mPreview);
844 mMediaRecorder.setPreviewDisplay(mPreview.getHolder().getSurface());
970 private SurfaceView mPreview;