Home
last modified time | relevance | path

Searched refs:mCropView (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DLongScreenshotActivity.java83 private CropView mCropView; field in LongScreenshotActivity
122 mCropView = requireViewById(R.id.crop_view); in onCreate()
124 mCropView.setCropInteractionListener(mMagnifierView); in onCreate()
220 mCropView.setBoundaryPosition( in onLongScreenshotReceived()
222 mCropView.setBoundaryPosition( in onLongScreenshotReceived()
224 mCropView.animateEntrance(); in onLongScreenshotReceived()
225 mCropView.setVisibility(View.VISIBLE); in onLongScreenshotReceived()
253 mCropView.setVisibility(View.VISIBLE); in onCachedImageLoaded()
375 Rect bounds = mCropView.getCropBoundaries(drawable.getIntrinsicWidth(), in startExport()
443 mCropView.setExtraPadding(extraPadding + mPreview.getPaddingTop(), in updateImageDimensions()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java75 protected CropView mCropView; field in WallpaperCropActivity
91 mCropView = findViewById(R.id.cropView); in init()
137 if (mCropView != null) { in onDestroy()
138 mCropView.destroy(); in onDestroy()
173 mCropView.setTileSource( in setCropViewTileSource()
175 mCropView.setTouchEnabled(touchEnabled); in setCropViewTileSource()
177 mCropView.moveToLeft(); in setCropViewTileSource()
333 Point inSize = mCropView.getSourceDimensions(); in cropImageAndSetWallpaper()
359 boolean ltr = mCropView.getLayoutDirection() == View.LAYOUT_DIRECTION_LTR; in cropImageAndSetWallpaper()
368 RectF cropRect = mCropView.getCrop(); in cropImageAndSetWallpaper()
[all …]