Home
last modified time | relevance | path

Searched refs:viewSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/widget/
DGridLayout.java1054 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/
DNotificationSwipeActionHelper.java55 public boolean swipedFarEnough(float translation, float viewSize); in swipedFarEnough() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java332 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/
DSwipeHelper.java193 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/
DItemTouchHelper.java2110 int viewSize, int viewSizeOutOfBounds, in interpolateOutOfBoundsScroll() argument
2116 float outOfBoundsRatio = Math.min(1f, 1f * absOutOfBounds / viewSize); in interpolateOutOfBoundsScroll()