Searched refs:mCropView (Results 1 – 3 of 3) sorted by relevance
98 private CropView mCropView; field in LongScreenshotActivity144 mCropView = requireViewById(R.id.crop_view); in onCreate()146 mCropView.setCropInteractionListener(mMagnifierView); in onCreate()254 mCropView.setBoundaryPosition(CropBoundary.TOP, topFraction); in onLongScreenshotReceived()255 mCropView.setBoundaryPosition(CropBoundary.BOTTOM, bottomFraction); in onLongScreenshotReceived()256 mCropView.animateEntrance(); in onLongScreenshotReceived()257 mCropView.setVisibility(View.VISIBLE); in onLongScreenshotReceived()285 mCropView.setVisibility(View.VISIBLE); in onCachedImageLoaded()410 Rect bounds = mCropView.getCropBoundaries(drawable.getIntrinsicWidth(), in startExport()482 mCropView.setExtraPadding(extraPadding + mPreview.getPaddingTop(), in updateImageDimensions()[all …]
94 private CropView mCropView; field in AppClipsActivity158 mCropView = mLayout.findViewById(R.id.crop_view); in onCreate()241 Rect bounds = mCropView.getCropBoundaries(drawable.getIntrinsicWidth(), in saveScreenshotThenFinish()327 mCropView.setExtraPadding(extraPadding, extraPadding); in updateImageDimensions()328 mCropView.setImageWidth(previewWidth); in updateImageDimensions()331 mCropView.setExtraPadding(mPreview.getPaddingTop(), mPreview.getPaddingBottom()); in updateImageDimensions()332 mCropView.setImageWidth((int) (previewHeight * imageRatio)); in updateImageDimensions()
75 protected CropView mCropView; field in WallpaperCropActivity91 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 …]