Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DAppClipsActivity.java93 private ImageView mPreview; field in AppClipsActivity
160 mPreview = mLayout.findViewById(R.id.preview); in onCreate()
161 mPreview.addOnLayoutChangeListener( in onCreate()
215 mPreview.setImageDrawable(drawable); in setScreenshot()
216 mPreview.setAlpha(1f); in setScreenshot()
235 Drawable drawable = mPreview.getDrawable(); in saveScreenshotThenFinish()
309 Drawable drawable = mPreview.getDrawable(); in updateImageDimensions()
316 int previewWidth = mPreview.getWidth() - mPreview.getPaddingLeft() in updateImageDimensions()
317 - mPreview.getPaddingRight(); in updateImageDimensions()
318 int previewHeight = mPreview.getHeight() - mPreview.getPaddingTop() in updateImageDimensions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DLongScreenshotActivity.java91 private ImageView mPreview; field in LongScreenshotActivity
139 mPreview = requireViewById(R.id.preview); in onCreate()
155 mPreview.addOnLayoutChangeListener( in onCreate()
192 if (mPreview.getDrawable() != null) { in onStart()
230 mPreview.setImageDrawable(drawable); in onLongScreenshotReceived()
253 mPreview.animate().alpha(1f); in onLongScreenshotReceived()
281 mPreview.setImageDrawable(drawable); in onCachedImageLoaded()
282 mPreview.setAlpha(1f); in onCachedImageLoaded()
404 Drawable drawable = mPreview.getDrawable(); in startExport()
456 Drawable drawable = mPreview.getDrawable(); in updateImageDimensions()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java75 private BasicTexture mPreview; field in TiledImageRenderer
200 if (mPreview != null) { in calculateLevelCount()
202 mImageWidth / (float) mPreview.getWidth())); in calculateLevelCount()
221 mPreview = null; in notifyModelInvalidated()
225 mPreview = mModel.getPreview(); in notifyModelInvalidated()
446 } else if (mPreview != null) { in draw()
447 mPreview.draw(canvas, mOffsetX, mOffsetY, in draw()
464 return mRenderComplete || mPreview != null; in draw()
619 if (mPreview != null) { in drawTile()
621 float scaleX = (float) mPreview.getWidth() / mImageWidth; in drawTile()
[all …]
/frameworks/base/tests/graphics/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()