Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/condition/
DCombinationConditionTracker.cpp51 for (const int childIndex : mChildren) { in init() local
52 if (conditionCache[childIndex] == ConditionState::kNotEvaluated) { in init()
53 allConditionTrackers[childIndex]->init(allConditionConfig, allConditionTrackers, in init()
90 int childIndex = it->second; in init() local
91 const auto& childTracker = allConditionTrackers[childIndex]; in init()
93 if (stack[childIndex]) { in init()
112 if (allConditionTrackers[childIndex]->isSliced()) { in init()
114 mSlicedChildren.push_back(childIndex); in init()
116 mUnSlicedChildren.push_back(childIndex); in init()
118 mChildren.push_back(childIndex); in init()
[all …]
Dcondition_util.cpp42 for (auto childIndex : children) { in evaluateCombinationCondition() local
43 ConditionState childState = conditionCache[childIndex]; in evaluateCombinationCondition()
/packages/modules/StatsD/statsd/src/matchers/
DCombinationAtomMatchingTracker.cpp82 int childIndex = pair->second; in init() local
85 if (stack[childIndex]) { in init()
93 allAtomMatchingTrackers[childIndex]->init( in init()
94 childIndex, allAtomMatchers, allAtomMatchingTrackers, matcherMap, stack); in init()
110 mChildren.push_back(childIndex); in init()
112 const set<int>& childTagIds = allAtomMatchingTrackers[childIndex]->getAtomIds(); in init()
157 for (const int childIndex : mChildren) { in onLogEvent() local
158 if (matcherResults[childIndex] == MatchingState::kNotComputed) { in onLogEvent()
159 const sp<AtomMatchingTracker>& child = allAtomMatchingTrackers[childIndex]; in onLogEvent()
160 child->onLogEvent(event, childIndex, allAtomMatchingTrackers, matcherResults, in onLogEvent()
Dmatcher_util.cpp43 for (const int childIndex : children) { in combinationMatch() local
44 if (matcherResults[childIndex] != MatchingState::kMatched) { in combinationMatch()
53 for (const int childIndex : children) { in combinationMatch() local
54 if (matcherResults[childIndex] == MatchingState::kMatched) { in combinationMatch()
66 for (const int childIndex : children) { in combinationMatch() local
67 if (matcherResults[childIndex] != MatchingState::kMatched) { in combinationMatch()
75 for (const int childIndex : children) { in combinationMatch() local
76 if (matcherResults[childIndex] == MatchingState::kMatched) { in combinationMatch()
/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/Launcher3/src/com/android/launcher3/
DWorkspaceStateTransitionAnimation.java215 public void applyChildState(LauncherState state, CellLayout cl, int childIndex) { in applyChildState() argument
216 applyChildState(state, cl, childIndex, state.getWorkspacePageAlphaProvider(mLauncher), in applyChildState()
220 private void applyChildState(LauncherState state, CellLayout cl, int childIndex, in applyChildState() argument
223 float pageAlpha = pageAlphaProvider.getPageAlpha(childIndex); in applyChildState()
234 private void applyPageTranslation(CellLayout cellLayout, int childIndex, in applyPageTranslation() argument
237 float pageTranslation = pageTranslationProvider.getPageTranslation(childIndex); in applyPageTranslation()
DPagedView.java1643 private int getDisplacementFromScreenCenter(int childIndex, int screenCenter) { in getDisplacementFromScreenCenter() argument
1644 int childSize = getChildVisibleSize(childIndex); in getDisplacementFromScreenCenter()
1646 int childCenter = getChildOffset(childIndex) + halfChildSize; in getDisplacementFromScreenCenter()
1650 protected int getDisplacementFromScreenCenter(int childIndex) { in getDisplacementFromScreenCenter() argument
1653 return getDisplacementFromScreenCenter(childIndex, screenCenter); in getDisplacementFromScreenCenter()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java613 protected boolean hasDividerBeforeChildAt(int childIndex) { in hasDividerBeforeChildAt() argument
614 if (childIndex == 0) { in hasDividerBeforeChildAt()
616 } else if (childIndex == getChildCount()) { in hasDividerBeforeChildAt()
620 for (int i = childIndex - 1; i >= 0; i--) { in hasDividerBeforeChildAt()
1043 int measureNullChild(int childIndex) { in measureNullChild() argument
1060 void measureChildBeforeLayout(View child, int childIndex, in measureChildBeforeLayout() argument
1267 int childIndex = start + dir * i; in layoutHorizontal() local
1268 final View child = getVirtualChildAt(childIndex); in layoutHorizontal()
1271 childLeft += measureNullChild(childIndex); in layoutHorizontal()
1325 if (hasDividerBeforeChildAt(childIndex)) { in layoutHorizontal()
[all …]
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/safetycenter/lint/
DParserExceptionDetector.kt102 for (childIndex in 0 until element.childNodes.length) { in visitElement() variable
103 val child = element.childNodes.item(childIndex) in visitElement()
/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.java353 int childIndex = 0; in inflateLayers() local
365 childIndex = BACKGROUND_ID; in inflateLayers()
367 childIndex = FOREGROUND_ID; in inflateLayers()
393 addLayer(childIndex, layer); in inflateLayers()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java134 int childIndex = childList.indexOf(child); in getChildView()
139 if (i != childIndex) { in getChildView()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java336 int childIndex = ThreadLocalRandom.current().nextInt(0, resources.size()); in fuzzTest() local
337 children.add(resources.get(childIndex)); in fuzzTest()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java4623 private void getPersistentChildPosition(int childIndex, int midPointScroll, RectF outRect) {
4624 View child = getChildAt(childIndex);
4647 private float getHorizontalOffsetSize(int childIndex, int midpointIndex, float offsetProgress) {
4670 getPersistentChildPosition(childIndex, midpointScroll, taskPosition);
4675 getPersistentChildPosition(childIndex, getScrollForPage(childIndex), taskPosition);
4720 private float getVerticalOffsetSize(int childIndex, float offsetProgress) {
4728 TaskView child = getTaskViewAt(childIndex);