Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DCategoryAdapter.java37 private int mSelectedPosition; field in CategoryAdapter
77 mSelectedPosition = -1; in initializeSelection()
79 mSelectedPosition = 0; in initializeSelection()
83 mSelectedPosition = 0; in initializeSelection()
120 int old = mSelectedPosition; in setSelected()
121 mSelectedPosition = (Integer) v.getTag(); in setSelected()
125 invalidateView(mSelectedPosition); in setSelected()
129 return (Integer) v.getTag() == mSelectedPosition; in isSelected()
227 if (mSelectedPosition != selected) { in reflectImagePreset()
228 mSelectedPosition = selected; in reflectImagePreset()
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java62 private int mSelectedPosition = INVALID_POSITION; field in MenuLayoutManager
127 MenuRowView currentView = mMenuRowViews.get(mSelectedPosition); in layout()
132 mSelectedPosition = firstVisiblePosition; in layout()
290 MenuRowView selectedView = mMenuRowViews.get(mSelectedPosition); in getViewLayouts()
303 int position = mSelectedPosition + 1; in getViewLayouts()
329 for (int i = mSelectedPosition - 1; i >= 0; --i) { in getViewLayouts()
362 + mSelectedPosition in setSelectedPosition()
365 if (mSelectedPosition == position) { in setSelectedPosition()
378 if (Utils.isIndexValid(mMenuRowViews, mSelectedPosition)) { in setSelectedPosition()
379 mMenuRowViews.get(mSelectedPosition).onDeselected(); in setSelectedPosition()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DSlidingTabLayout.java43 private int mSelectedPosition; field in SlidingTabLayout
120 mSelectedPosition = position; in onViewPagerPageChanged()
143 View selectedTitle = mTitleView.getChildAt(mSelectedPosition); in getIndicatorLeft()
145 if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { in getIndicatorLeft()
146 View nextTitle = mTitleView.getChildAt(mSelectedPosition + 1); in getIndicatorLeft()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSlidingTabLayout.java43 private int mSelectedPosition; field in SlidingTabLayout
120 mSelectedPosition = position; in onViewPagerPageChanged()
143 View selectedTitle = mTitleView.getChildAt(mSelectedPosition); in getIndicatorLeft()
145 if (mSelectionOffset > 0f && mSelectedPosition < (getChildCount() - 1)) { in getIndicatorLeft()
146 View nextTitle = mTitleView.getChildAt(mSelectedPosition + 1); in getIndicatorLeft()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DChannelsBlockedFragment.java51 private int mSelectedPosition = INVALID_POSITION; field in ChannelsBlockedFragment
67 if (mSelectedPosition != INVALID_POSITION) { in onCreateView()
68 setSelectedPosition(mSelectedPosition); in onCreateView()
153 mSelectedPosition = mItems.size() - 1; in getItemList()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DPersonalWorkSlidingTabStrip.java53 private int mSelectedPosition = 0; field in PersonalWorkSlidingTabStrip
86 mSelectedPosition = pos; in updateTabTextColor()
96 updateTabTextColor(mSelectedPosition); in onLayout()