Home
last modified time | relevance | path

Searched refs:CropBoundary (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DCropView.java60 public enum CropBoundary { enum in CropView
76 private CropBoundary mCurrentDraggingBoundary = CropBoundary.NONE;
174 if (mCurrentDraggingBoundary != CropBoundary.NONE) { in onTouchEvent()
184 if (mCurrentDraggingBoundary != CropBoundary.NONE) { in onTouchEvent()
203 && mCurrentDraggingBoundary != CropBoundary.NONE) { in onTouchEvent()
210 && mCurrentDraggingBoundary != CropBoundary.NONE) { in onTouchEvent()
217 if (mCurrentDraggingBoundary != CropBoundary.NONE in onTouchEvent()
249 public void setBoundaryPosition(CropBoundary boundary, float position) { in setBoundaryPosition()
274 private float getBoundaryPosition(CropBoundary boundary) { in getBoundaryPosition()
288 private static boolean isVertical(CropBoundary boundary) { in isVertical()
[all …]
DMagnifierView.java62 private CropView.CropBoundary mCropBoundary;
144 if (mCropBoundary == CropView.CropBoundary.BOTTOM) { in onDraw()
153 public void onCropDragStarted(CropView.CropBoundary boundary, float boundaryPosition, in onCropDragStarted()
175 public void onCropDragMoved(CropView.CropBoundary boundary, float boundaryPosition, in onCropDragMoved()
DLongScreenshotActivity.java59 import com.android.systemui.screenshot.scroll.CropView.CropBoundary;
254 mCropView.setBoundaryPosition(CropBoundary.TOP, topFraction); in onLongScreenshotReceived()
255 mCropView.setBoundaryPosition(CropBoundary.BOTTOM, bottomFraction); in onLongScreenshotReceived()