Searched defs:viewSize (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
H A DNotificationSwipeActionHelper.java55 public boolean swipedFarEnough(float translation, float viewSize); argument
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java2100 * @param viewSize The total size of the View in scroll direction, excluding
2110 int viewSize, int viewSizeOutOfBounds,
2116 float outOfBoundsRatio = Math.min(1f, 1f * absOutOfBounds / viewSize);
2109 interpolateOutOfBoundsScroll(RecyclerView recyclerView, int viewSize, int viewSizeOutOfBounds, int totalSize, long msSinceStartScroll) argument
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DItemTouchHelper.java2134 * @param viewSize The total size of the View in scroll direction, excluding
2145 int viewSize, int viewSizeOutOfBounds,
2151 float outOfBoundsRatio = Math.min(1f, 1f * absOutOfBounds / viewSize);
2144 interpolateOutOfBoundsScroll(@onNull RecyclerView recyclerView, int viewSize, int viewSizeOutOfBounds, int totalSize, long msSinceStartScroll) argument
/frameworks/base/core/java/android/widget/
H A DGridLayout.java1037 int viewSize = cellSize - getTotalMargin(c, horizontal);
1039 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
1041 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
2773 * @param viewSize the measured size of the view
2777 abstract int getAlignmentValue(View view, int viewSize, int mode); argument
2784 * The default implementation returns {@code viewSize}.
2787 * @param viewSize the measured size of the view
2791 int getSizeInCell(View view, int viewSize, int cellSize) { argument
2792 return viewSize;
2807 public int getAlignmentValue(View view, int viewSize, in
[all...]
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/
H A DGridLayout.java930 int viewSize = cellSize - getTotalMargin(c, horizontal);
932 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height);
934 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize);
2660 * @param viewSize the measured size of the view
2664 abstract int getAlignmentValue(View view, int viewSize, int mode); argument
2671 * The default implementation returns {@code viewSize}.
2674 * @param viewSize the measured size of the view
2678 int getSizeInCell(View view, int viewSize, int cellSize) { argument
2679 return viewSize;
2701 public int getAlignmentValue(View view, int viewSize, in
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java4779 public boolean swipedFarEnough(float translation, float viewSize) { argument

Completed in 212 milliseconds