Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java83 private static final int SWIPE_PADDING_DP = 12; // extra padding around views to allow swipe field in ClipboardOverlayView
208 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP), in isInTouchRegion()
209 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP)); in isInTouchRegion()
214 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP), in isInTouchRegion()
215 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP)); in isInTouchRegion()
220 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP), in isInTouchRegion()
221 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP)); in isInTouchRegion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java126 private static final int SWIPE_PADDING_DP = 12; // extra padding around views to allow swipe field in ScreenshotView
283 tmpRect.inset((int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP), in getSwipeRegion()
284 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP)); in getSwipeRegion()
287 tmpRect.inset((int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP), in getSwipeRegion()
288 (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, -SWIPE_PADDING_DP)); in getSwipeRegion()
376 int swipePaddingPx = (int) FloatingWindowUtil.dpToPx(mDisplayMetrics, SWIPE_PADDING_DP); in onFinishInflate()