Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorPadViewPager.java203 for (int childIndex = childCount - 1; childIndex >= 0; --childIndex) { in onInterceptTouchEvent()
204 if (getChildAt(childIndex).isAccessibilityFocused()) { in onInterceptTouchEvent()
205 mClickedItemIndex = childIndex; in onInterceptTouchEvent()
219 final int childIndex = getChildDrawingOrder(childCount, i); in onInterceptTouchEvent() local
220 final View child = getChildAt(childIndex); in onInterceptTouchEvent()
225 mClickedItemIndex = childIndex; in onInterceptTouchEvent()
227 return childIndex != getCurrentItem(); in onInterceptTouchEvent()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java612 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument
613 if (childIndex == 0) { in hasDividerBeforeChildAt()
615 } else if (childIndex == getChildCount()) { in hasDividerBeforeChildAt()
619 for (int i = childIndex - 1; i >= 0; i--) { in hasDividerBeforeChildAt()
1042 int measureNullChild(int childIndex) { in measureNullChild() argument
1059 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument
1266 int childIndex = start + dir * i; in layoutHorizontal() local
1267 final View child = getVirtualChildAt(childIndex); in layoutHorizontal()
1270 childLeft += measureNullChild(childIndex); in layoutHorizontal()
1324 if (hasDividerBeforeChildAt(childIndex)) { in layoutHorizontal()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary_utils.cpp78 for (int childIndex = 0; childIndex < childDicNodes.getSizeAndLock(); ++childIndex) { in processChildDicNodes() local
79 DicNode *const childDicNode = childDicNodes[childIndex]; in processChildDicNodes()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java942 int childIndex = firstIndex + i;
943 if (childHasFocus(childIndex)) {
987 int childIndex = lastIndex - 1 - i;
988 if (childHasFocus(childIndex)) {
1069 int childIndex = firstExpandableIndex();
1070 int last = Math.min(lastExpandableIndex(), childIndex + mItemsOnOffAxis);
1071 for (int i = childIndex; i < last; i++) {
1353 int childIndex = lastExpandableIndex() - 1;
1354 int gridPos = getAdapterIndex(childIndex) % mItemsOnOffAxis;
1355 for (int i = childIndex - gridPos; i < lastExpandableIndex(); i++) {
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java131 int childIndex = childList.indexOf(child); in getChildView()
136 if (i != childIndex) { in getChildView()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java1300 int childIndex = parent.indexOfChild(child); in onRequestChildFocusMarioStyle() local
1304 for (int i = childIndex; i >= 0; i--) { in onRequestChildFocusMarioStyle()