/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ListViewCompat.java | 77 public void setSelector(Drawable sel) { in setSelector() argument 78 mSelector = sel != null ? new GateKeeperDrawable(sel) : null; in setSelector() 82 if (sel != null) { in setSelector() 83 sel.getPadding(padding); in setSelector() 175 protected void positionSelectorLikeTouchCompat(int position, View sel, float x, float y) { in positionSelectorLikeTouchCompat() argument 176 positionSelectorLikeFocusCompat(position, sel); in positionSelectorLikeTouchCompat() 184 protected void positionSelectorLikeFocusCompat(int position, View sel) { in positionSelectorLikeFocusCompat() argument 193 positionSelectorCompat(position, sel); in positionSelectorLikeFocusCompat() 204 protected void positionSelectorCompat(int position, View sel) { in positionSelectorCompat() argument 206 selectorRect.set(sel.getLeft(), sel.getTop(), sel.getRight(), sel.getBottom()); in positionSelectorCompat() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ListView.java | 782 View sel = makeAndAddView(position, childrenTop, true, in fillFromMiddle() local 786 int selHeight = sel.getMeasuredHeight(); in fillFromMiddle() 788 sel.offsetTopAndBottom((height - selHeight) / 2); in fillFromMiddle() 791 fillAboveAndBelow(sel, position); in fillFromMiddle() 799 return sel; in fillFromMiddle() 809 private void fillAboveAndBelow(View sel, int position) { in fillAboveAndBelow() argument 812 fillUp(position - 1, sel.getTop() - dividerHeight); in fillAboveAndBelow() 814 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow() 816 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow() 818 fillUp(position - 1, sel.getTop() - dividerHeight); in fillAboveAndBelow() [all …]
|
D | GridView.java | 475 final View sel = makeRow(mStackFromBottom ? rowEnd : rowStart, topSelectionPixel, true); in fillSelection() local 496 return sel; in fillSelection() 725 View sel; in fillFromSelection() local 732 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, selectedTop, true); in fillFromSelection() 751 return sel; in fillFromSelection() 913 View sel; in moveSelection() local 924 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldBottom + verticalSpacing, true); in moveSelection() 935 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldTop - verticalSpacing, false); in moveSelection() 946 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldTop, true); in moveSelection() 960 return sel; in moveSelection() [all …]
|
D | AbsListView.java | 2504 void positionSelectorLikeTouch(int position, View sel, float x, float y) { in positionSelectorLikeTouch() argument 2505 positionSelector(position, sel, true, x, y); in positionSelectorLikeTouch() 2511 void positionSelectorLikeFocus(int position, View sel) { in positionSelectorLikeFocus() argument 2516 positionSelector(position, sel, true, x, y); in positionSelectorLikeFocus() 2518 positionSelector(position, sel); in positionSelectorLikeFocus() 2522 void positionSelector(int position, View sel) { in positionSelector() argument 2523 positionSelector(position, sel, false, -1, -1); in positionSelector() 2526 private void positionSelector(int position, View sel, boolean manageHotspot, float x, float y) { in positionSelector() argument 2533 selectorRect.set(sel.getLeft(), sel.getTop(), sel.getRight(), sel.getBottom()); in positionSelector() 2534 if (sel instanceof SelectionBoundsAdjuster) { in positionSelector() [all …]
|
D | Spinner.java | 638 View sel = makeView(mSelectedPosition, true); in layout() local 639 int width = sel.getMeasuredWidth(); in layout() 651 sel.offsetLeftAndRight(selectedOffset); in layout()
|
D | Gallery.java | 668 View sel = makeAndAddView(mSelectedPosition, 0, 0, true); in layout() local 671 int selectedOffset = childrenLeft + (childrenWidth / 2) - (sel.getWidth() / 2) + in layout() 673 sel.offsetLeftAndRight(selectedOffset); in layout()
|