Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/widget/
H A DSpinner.java647 int childrenLeft = mSpinnerPadding.left; in layout() local
675 int selectedOffset = childrenLeft; in layout()
680 selectedOffset = childrenLeft + (childrenWidth / 2) - (width / 2); in layout()
683 selectedOffset = childrenLeft + childrenWidth - width; in layout()
H A DGridView.java1445 private View makeAndAddView(int position, int y, boolean flow, int childrenLeft, in makeAndAddView() argument
1453 setupChild(activeView, position, y, flow, childrenLeft, selected, true, where); in makeAndAddView()
1463 setupChild(child, position, y, flow, childrenLeft, selected, mIsScrap[0], where); in makeAndAddView()
1486 private void setupChild(View child, int position, int y, boolean flowDown, int childrenLeft, in setupChild() argument
1567 childLeft = childrenLeft; in setupChild()
1570 childLeft = childrenLeft + ((mColumnWidth - w) / 2); in setupChild()
1573 childLeft = childrenLeft + mColumnWidth - w; in setupChild()
1576 childLeft = childrenLeft; in setupChild()
H A DListView.java2050 private View makeAndAddView(int position, int y, boolean flow, int childrenLeft, in makeAndAddView() argument
2058 setupChild(activeView, position, y, flow, childrenLeft, selected, true); in makeAndAddView()
2068 setupChild(child, position, y, flow, childrenLeft, selected, mIsScrap[0]); in makeAndAddView()
2089 private void setupChild(View child, int position, int y, boolean flowDown, int childrenLeft, in setupChild() argument
2173 final int childRight = childrenLeft + w; in setupChild()
2175 child.layout(childrenLeft, childTop, childRight, childBottom); in setupChild()
2177 child.offsetLeftAndRight(childrenLeft - child.getLeft()); in setupChild()
H A DGallery.java651 int childrenLeft = mSpinnerPadding.left; in layout() local
693 int selectedOffset = childrenLeft + (childrenWidth / 2) - (sel.getWidth() / 2) + in layout()