Home
last modified time | relevance | path

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

/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorPadViewPager.java59 for (int childIndex = 0; childIndex < viewGroup.getChildCount(); ++childIndex) {
60 recursivelySetEnabled(viewGroup.getChildAt(childIndex), enabled);
70 for (int childIndex = 0; childIndex < getChildCount(); ++childIndex) {
72 recursivelySetEnabled(getChildAt(childIndex), childIndex == position);
DCalculatorNumericPadLayout.java56 for (int childIndex = getChildCount() - 1; childIndex >= 0; --childIndex) { in onFinishInflate()
57 final View v = getChildAt(childIndex); in onFinishInflate()
DCalculatorPadLayout.java72 for (int childIndex = 0; childIndex < getChildCount(); ++childIndex) { in onLayout()
73 final View childView = getChildAt(childIndex); in onLayout()
/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/ExactCalculator/src/com/android/calculator2/
DCalculatorPadViewPager.java123 final int childIndex = getChildDrawingOrder(childCount, i); in onInterceptTouchEvent() local
124 final View child = getChildAt(childIndex); in onInterceptTouchEvent()
128 shouldIntercept = (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/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/ContactsCommon/src/com/android/contacts/common/list/
DContactTileAdapter.java503 private void addTileFromEntry(ContactEntry entry, int childIndex, boolean isLastRow) {
506 if (getChildCount() <= childIndex) {
524 contactTile = (ContactTileView) getChildAt(childIndex);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java135 int childIndex = childList.indexOf(child); in getChildView()
140 if (i != childIndex) { in getChildView()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsGridAdapter.java366 private boolean shouldDrawItemSection(ViewHolder holder, int childIndex, in shouldDrawItemSection() argument
376 return (childIndex == 0) || in shouldDrawItemSection()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java1282 int childIndex = parent.indexOfChild(child); in onRequestChildFocusMarioStyle() local
1286 for (int i = childIndex; i >= 0; i--) { in onRequestChildFocusMarioStyle()