Home
last modified time | relevance | path

Searched refs:FloatingWindowUtil (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DSwipeGestureListener.kt22 import com.android.systemui.screenshot.FloatingWindowUtil
46 abs(xVelocity) > FloatingWindowUtil.dpToPx(displayMetrics, FLING_THRESHOLD_DP) in onMotionEvent()
52 FloatingWindowUtil.dpToPx(displayMetrics, DISMISS_THRESHOLD_DP) in onMotionEvent()
DScreenshotShelfView.kt34 import com.android.systemui.screenshot.FloatingWindowUtil in <lambda>()
186 val padding = FloatingWindowUtil.dpToPx(displayMetrics, -1 * TOUCH_PADDING_DP).toInt() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DDraggableConstraintLayout.java186 rect.inset((int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP), in onComputeInternalInsets()
187 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP)); in onComputeInternalInsets()
291 return Math.abs(translationX) >= FloatingWindowUtil.dpToPx(mDisplayMetrics, in isPastDismissThreshold()
337 float velocityPxPerMs = FloatingWindowUtil.dpToPx(mDisplayMetrics, VELOCITY_DP_PER_MS); in createSwipeDismissAnimation()
358 FloatingWindowUtil.dpToPx(mDisplayMetrics, MAXIMUM_DISMISS_DISTANCE_DP)); in createSwipeDismissAnimation()
DFloatingWindowUtil.java33 public class FloatingWindowUtil { class
DScreenshotController.java316 mWindowLayoutParams = FloatingWindowUtil.getFloatingWindowParams(); in ScreenshotController()
319 mWindow = FloatingWindowUtil.getFloatingWindow(mContext); in ScreenshotController()
DScreenshotView.java276 int swipePadding = (int) FloatingWindowUtil.dpToPx( in getSwipeRegion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayWindow.java34 import com.android.systemui.screenshot.FloatingWindowUtil;
67 mWindowLayoutParams = FloatingWindowUtil.getFloatingWindowParams(); in ClipboardOverlayWindow()
DClipboardOverlayView.java63 import com.android.systemui.screenshot.FloatingWindowUtil;
266 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP), in isInTouchRegion()
267 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP)); in isInTouchRegion()
272 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP), in isInTouchRegion()
273 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP)); in isInTouchRegion()
278 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP), in isInTouchRegion()
279 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP)); in isInTouchRegion()