Searched refs:FloatingWindowUtil (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/ |
D | SwipeGestureListener.kt | 22 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()
|
D | ScreenshotShelfView.kt | 34 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/ |
D | DraggableConstraintLayout.java | 186 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()
|
D | FloatingWindowUtil.java | 33 public class FloatingWindowUtil { class
|
D | ScreenshotController.java | 316 mWindowLayoutParams = FloatingWindowUtil.getFloatingWindowParams(); in ScreenshotController() 319 mWindow = FloatingWindowUtil.getFloatingWindow(mContext); in ScreenshotController()
|
D | ScreenshotView.java | 276 int swipePadding = (int) FloatingWindowUtil.dpToPx( in getSwipeRegion()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayWindow.java | 34 import com.android.systemui.screenshot.FloatingWindowUtil; 67 mWindowLayoutParams = FloatingWindowUtil.getFloatingWindowParams(); in ClipboardOverlayWindow()
|
D | ClipboardOverlayView.java | 63 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()
|