Home
last modified time | relevance | path

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

/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/Launcher3/src/com/android/launcher3/
DWorkspaceStateTransitionAnimation.java150 public void applyChildState(LauncherState state, CellLayout cl, int childIndex) { in applyChildState() argument
151 applyChildState(state, cl, childIndex, state.getWorkspacePageAlphaProvider(mLauncher), in applyChildState()
155 private void applyChildState(LauncherState state, CellLayout cl, int childIndex, in applyChildState() argument
158 float pageAlpha = pageAlphaProvider.getPageAlpha(childIndex); in applyChildState()
/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/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java356 int childIndex = 0; in inflateLayers() local
368 childIndex = BACKGROUND_ID; in inflateLayers()
370 childIndex = FOREGROUND_ID; in inflateLayers()
396 addLayer(childIndex, layer); in inflateLayers()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java130 int childIndex = childList.indexOf(child); in getChildView()
135 if (i != childIndex) { in getChildView()