Searched refs:viewSize (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 1054 int viewSize = cellSize - getTotalMargin(c, horizontal); in measureChildrenWithMargins() local 1056 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins() 1058 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins() 2794 abstract int getAlignmentValue(View view, int viewSize, int mode); 2808 int getSizeInCell(View view, int viewSize, int cellSize) { 2809 return viewSize; 2825 public int getAlignmentValue(View view, int viewSize, int mode) { 2841 public int getAlignmentValue(View view, int viewSize, int mode) { 2857 public int getAlignmentValue(View view, int viewSize, int mode) { 2858 return viewSize; [all …]
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/ |
D | NotificationSwipeActionHelper.java | 55 public boolean swipedFarEnough(float translation, float viewSize); in swipedFarEnough() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelper.java | 332 public boolean swipedFastEnough(float translation, float viewSize) { in swipedFastEnough() argument 343 public boolean swipedFarEnough(float translation, float viewSize) { in swipedFarEnough() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 193 float viewSize = getSize(view); in getSwipeProgressForOffset() local 194 float result = Math.abs(translation / viewSize); in getSwipeProgressForOffset()
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 2110 int viewSize, int viewSizeOutOfBounds, in interpolateOutOfBoundsScroll() argument 2116 float outOfBoundsRatio = Math.min(1f, 1f * absOutOfBounds / viewSize); in interpolateOutOfBoundsScroll()
|