Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DGridLayout.java1022 int viewSize = cellSize - getTotalMargin(c, horizontal); in measureChildrenWithMargins() local
1024 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins()
1026 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins()
2762 abstract int getAlignmentValue(View view, int viewSize, int mode);
2776 int getSizeInCell(View view, int viewSize, int cellSize) {
2777 return viewSize;
2792 public int getAlignmentValue(View view, int viewSize, int mode) {
2808 public int getAlignmentValue(View view, int viewSize, int mode) {
2824 public int getAlignmentValue(View view, int viewSize, int mode) {
2825 return viewSize;
[all …]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java921 int viewSize = cellSize - getTotalMargin(c, horizontal); in measureChildrenWithMargins() local
923 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins()
925 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins()
2655 abstract int getAlignmentValue(View view, int viewSize, int mode);
2669 int getSizeInCell(View view, int viewSize, int cellSize) {
2670 return viewSize;
2692 public int getAlignmentValue(View view, int viewSize, int mode) {
2713 public int getAlignmentValue(View view, int viewSize, int mode) {
2734 public int getAlignmentValue(View view, int viewSize, int mode) {
2735 return viewSize;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java184 float viewSize = getSize(view); in getSwipeProgressForOffset() local
185 float result = Math.abs(translation / viewSize); in getSwipeProgressForOffset()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java2130 int viewSize, int viewSizeOutOfBounds, in interpolateOutOfBoundsScroll() argument
2136 float outOfBoundsRatio = Math.min(1f, 1f * absOutOfBounds / viewSize); in interpolateOutOfBoundsScroll()