Home
last modified time | relevance | path

Searched refs:viewIndex (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/list/
DPinnedHeaderListView.java55 View getPinnedHeaderView(int viewIndex, View convertView, ViewGroup parent); in getPinnedHeaderView() argument
71 int getScrollPositionForHeader(int viewIndex); in getScrollPositionForHeader() argument
248 public int getPinnedHeaderHeight(int viewIndex) { in getPinnedHeaderHeight() argument
249 ensurePinnedHeaderLayout(viewIndex); in getPinnedHeaderHeight()
250 return mHeaders[viewIndex].view.getHeight(); in getPinnedHeaderHeight()
260 public void setHeaderPinnedAtTop(int viewIndex, int y, boolean animate) { in setHeaderPinnedAtTop() argument
261 ensurePinnedHeaderLayout(viewIndex); in setHeaderPinnedAtTop()
262 PinnedHeader header = mHeaders[viewIndex]; in setHeaderPinnedAtTop()
278 public void setHeaderPinnedAtBottom(int viewIndex, int y, boolean animate) { in setHeaderPinnedAtBottom() argument
279 ensurePinnedHeaderLayout(viewIndex); in setHeaderPinnedAtBottom()
[all …]
DIndexerListAdapter.java138 public View getPinnedHeaderView(int viewIndex, View convertView, ViewGroup parent) { in getPinnedHeaderView() argument
139 if (isSectionHeaderDisplayEnabled() && viewIndex == getPinnedHeaderCount() - 1) { in getPinnedHeaderView()
145 return super.getPinnedHeaderView(viewIndex, convertView, parent); in getPinnedHeaderView()
DPinnedHeaderListAdapter.java166 public int getScrollPositionForHeader(int viewIndex) { in getScrollPositionForHeader() argument
167 return getPositionForPartition(viewIndex); in getScrollPositionForHeader()
/packages/apps/Contacts/src/com/android/contacts/editor/
DViewIdGenerator.java72 int viewIndex) { in getId() argument
73 final String k = getMapKey(entity, kind, values, viewIndex); in getId()
85 int viewIndex) { in getMapKey() argument
98 if (viewIndex != NO_VIEW_INDEX) { in getMapKey()
100 sWorkStringBuilder.append(viewIndex); in getMapKey()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DMinimizedControlBar.java115 int viewIndex = 0; in updateViewsLayout() local
121 } else if (mViews != null && viewIndex < mViews.length) { in updateViewsLayout()
123 viewToUse = mViews[viewIndex]; in updateViewsLayout()
124 viewIndex++; in updateViewsLayout()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java1250 int viewIndex = lastExpandableIndex();
1267 viewIndex = firstExpandableIndex();
1275 View child = getChildAt(viewIndex + i);
1322 h.mScrollCenter = computeScrollCenter(viewIndex + i);
1912 int viewIndex = expandableIndexFromAdapterIndex(adapterIndex);
1913 if (mDataSetChangedFlag || viewIndex < firstExpandableIndex() ||
1914 viewIndex >= lastExpandableIndex()) {
1920 View view = getChildAt(viewIndex);
1924 if (scrollPosition > 0 && viewIndex + mItemsOnOffAxis < lastExpandableIndex()) {
1925 int nextCenter = getScrollCenter(getChildAt(viewIndex + mItemsOnOffAxis));
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlWheel.java254 private void injectMotionEvent(int viewIndex, MotionEvent event, int action) { in injectMotionEvent() argument
255 View v = getChildAt(viewIndex); in injectMotionEvent()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperSectionController.java214 int viewIndex = parent.indexOfChild(workspaceSurface); in updateWorkspacePreview() local
220 parent.addView(workspaceSurface, viewIndex); in updateWorkspacePreview()