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/
DLongScreenshotActivity.java77 private ImageView mPreview; field in LongScreenshotActivity
118 mPreview = requireViewById(R.id.preview); in onCreate()
134 mPreview.addOnLayoutChangeListener( in onCreate()
158 if (mPreview.getDrawable() != null) { in onStart()
196 mPreview.setImageDrawable(drawable); in onLongScreenshotReceived()
219 mPreview.animate().alpha(1f); in onLongScreenshotReceived()
249 mPreview.setImageDrawable(drawable); in onCachedImageLoaded()
250 mPreview.setAlpha(1f); in onCachedImageLoaded()
369 Drawable drawable = mPreview.getDrawable(); in startExport()
417 Drawable drawable = mPreview.getDrawable(); in updateImageDimensions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockInfo.java31 private final Supplier<Bitmap> mPreview; field in ClockInfo
39 mPreview = preview; in ClockInfo()
74 return mPreview.get(); in getPreview()
86 private Supplier<Bitmap> mPreview; field in ClockInfo.Builder
89 return new ClockInfo(mName, mTitle, mId, mThumbnail, mPreview); in build()
113 mPreview = preview; in setPreview()
/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/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()