Home
last modified time | relevance | path

Searched refs:sel (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListViewCompat.java80 public void setSelector(Drawable sel) { in setSelector() argument
81 mSelector = sel != null ? new GateKeeperDrawable(sel) : null; in setSelector()
85 if (sel != null) { in setSelector()
86 sel.getPadding(padding); in setSelector()
188 protected void positionSelectorLikeTouchCompat(int position, View sel, float x, float y) { in positionSelectorLikeTouchCompat() argument
189 positionSelectorLikeFocusCompat(position, sel); in positionSelectorLikeTouchCompat()
197 protected void positionSelectorLikeFocusCompat(int position, View sel) { in positionSelectorLikeFocusCompat() argument
206 positionSelectorCompat(position, sel); in positionSelectorLikeFocusCompat()
217 protected void positionSelectorCompat(int position, View sel) { in positionSelectorCompat() argument
219 selectorRect.set(sel.getLeft(), sel.getTop(), sel.getRight(), sel.getBottom()); in positionSelectorCompat()
[all …]
/frameworks/base/core/java/android/widget/
DListView.java784 View sel = makeAndAddView(position, childrenTop, true, in fillFromMiddle() local
788 int selHeight = sel.getMeasuredHeight(); in fillFromMiddle()
790 sel.offsetTopAndBottom((height - selHeight) / 2); in fillFromMiddle()
793 fillAboveAndBelow(sel, position); in fillFromMiddle()
801 return sel; in fillFromMiddle()
811 private void fillAboveAndBelow(View sel, int position) { in fillAboveAndBelow() argument
814 fillUp(position - 1, sel.getTop() - dividerHeight); in fillAboveAndBelow()
816 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow()
818 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow()
820 fillUp(position - 1, sel.getTop() - dividerHeight); in fillAboveAndBelow()
[all …]
DGridView.java475 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 …]
DAbsListView.java2554 void positionSelectorLikeTouch(int position, View sel, float x, float y) { in positionSelectorLikeTouch() argument
2555 positionSelector(position, sel, true, x, y); in positionSelectorLikeTouch()
2561 void positionSelectorLikeFocus(int position, View sel) { in positionSelectorLikeFocus() argument
2566 positionSelector(position, sel, true, x, y); in positionSelectorLikeFocus()
2568 positionSelector(position, sel); in positionSelectorLikeFocus()
2572 void positionSelector(int position, View sel) { in positionSelector() argument
2573 positionSelector(position, sel, false, -1, -1); in positionSelector()
2576 private void positionSelector(int position, View sel, boolean manageHotspot, float x, float y) { in positionSelector() argument
2583 selectorRect.set(sel.getLeft(), sel.getTop(), sel.getRight(), sel.getBottom()); in positionSelector()
2584 if (sel instanceof SelectionBoundsAdjuster) { in positionSelector()
[all …]
DSpinner.java650 View sel = makeView(mSelectedPosition, true); in layout() local
651 int width = sel.getMeasuredWidth(); in layout()
663 sel.offsetLeftAndRight(selectedOffset); in layout()
DGallery.java676 View sel = makeAndAddView(mSelectedPosition, 0, 0, true); in layout() local
679 int selectedOffset = childrenLeft + (childrenWidth / 2) - (sel.getWidth() / 2) + in layout()
681 sel.offsetLeftAndRight(selectedOffset); in layout()