Home
last modified time | relevance | path

Searched refs:childState (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java316 ExpandableViewState childState = childRow.getViewState(); in initAlgorithmState() local
317 childState.notGoneIndex = notGoneIndex; in initAlgorithmState()
523 ExpandableViewState childState = row.getViewState();
524 if (topHeadsUpEntry == null && row.mustStayOnScreen() && !childState.headsUpIsVisible) {
526 childState.location = ExpandableViewState.LOCATION_FIRST_HUN;
529 float unmodifiedEndLocation = childState.yTranslation + childState.height;
531 if (row.mustStayOnScreen() && !childState.headsUpIsVisible
534 clampHunToTop(ambientState, row, childState);
537 clampHunToMaxTranslation(ambientState, row, childState);
538 childState.hidden = false;
[all …]
DNotificationChildrenContainer.java558 ExpandableViewState childState = child.getViewState();
560 childState.height = intrinsicHeight;
561 childState.yTranslation = yPosition + launchTransitionCompensation;
562 childState.hidden = false;
565 childState.zTranslation =
569 childState.dimmed = parentState.dimmed;
570 childState.hideSensitive = parentState.hideSensitive;
571 childState.belowSpeedBump = parentState.belowSpeedBump;
572 childState.clipTopAmount = 0;
573 childState.alpha = 0;
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java115 int childState = 0; in tryOnMeasure() local
122 childState = combineMeasuredStates(childState, topPanel.getMeasuredState()); in tryOnMeasure()
133 childState = combineMeasuredStates(childState, buttonPanel.getMeasuredState()); in tryOnMeasure()
150 childState = combineMeasuredStates(childState, middlePanel.getMeasuredState()); in tryOnMeasure()
172 childState = combineMeasuredStates(childState, buttonPanel.getMeasuredState()); in tryOnMeasure()
192 childState = combineMeasuredStates(childState, middlePanel.getMeasuredState()); in tryOnMeasure()
206 final int widthSizeAndState = resolveSizeAndState(maxWidth, widthMeasureSpec, childState); in tryOnMeasure()
DDialogViewAnimator.java49 int childState = 0; in onMeasure() local
83 childState = combineMeasuredStates(childState, state); in onMeasure()
102 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
104 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
DWatchListDecorLayout.java169 int childState = 0; in onMeasure() local
180 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
205 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
207 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
DActionBarOverlayLayout.java378 int childState = 0;
389 childState = combineMeasuredStates(childState, mActionBarTop.getMeasuredState());
399 childState = combineMeasuredStates(childState, mActionBarBottom.getMeasuredState());
469 childState = combineMeasuredStates(childState, mContent.getMeasuredState());
479 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState),
481 childState << MEASURED_HEIGHT_STATE_SHIFT));
/frameworks/base/cmds/statsd/src/condition/
Dcondition_util.cpp43 ConditionState childState = conditionCache[childIndex]; in evaluateCombinationCondition() local
44 if (childState == ConditionState::kUnknown) { in evaluateCombinationCondition()
48 if (childState == ConditionState::kFalse) { in evaluateCombinationCondition()
51 if (childState == ConditionState::kTrue) { in evaluateCombinationCondition()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java63 int childState = 0; in onMeasure() local
102 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
121 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, childState), in onMeasure()
123 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
/frameworks/base/core/java/android/widget/
DDayPickerViewPager.java65 int childState = 0; in onMeasure() local
74 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
99 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
101 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
DToolbar.java1695 int childState = 0; in onMeasure() local
1717 childState = combineMeasuredStates(childState, mNavButtonView.getMeasuredState()); in onMeasure()
1727 childState = combineMeasuredStates(childState, mCollapseButtonView.getMeasuredState()); in onMeasure()
1741 childState = combineMeasuredStates(childState, mMenuView.getMeasuredState()); in onMeasure()
1753 childState = combineMeasuredStates(childState, mExpandedActionView.getMeasuredState()); in onMeasure()
1761 childState = combineMeasuredStates(childState, mLogoView.getMeasuredState()); in onMeasure()
1776 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
1789 childState = combineMeasuredStates(childState, mTitleTextView.getMeasuredState()); in onMeasure()
1798 childState = combineMeasuredStates(childState, mSubtitleTextView.getMeasuredState()); in onMeasure()
1811 widthMeasureSpec, childState & MEASURED_STATE_MASK); in onMeasure()
[all …]
DFrameLayout.java189 int childState = 0; in onMeasure() local
200 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
225 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
227 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
DLinearLayout.java775 int childState = 0; in measureVertical() local
894 childState = combineMeasuredStates(childState, child.getMeasuredState()); in measureVertical()
998 childState = combineMeasuredStates(childState, child.getMeasuredState() in measureVertical()
1060 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in measureVertical()
1105 int childState = 0; in measureHorizontal() local
1241 childState = combineMeasuredStates(childState, child.getMeasuredState()); in measureHorizontal()
1386 childState = combineMeasuredStates(childState, in measureHorizontal()
1479 setMeasuredDimension(widthSizeAndState | (childState&MEASURED_STATE_MASK), in measureHorizontal()
1481 (childState<<MEASURED_HEIGHT_STATE_SHIFT))); in measureHorizontal()
DGridView.java1080 int childState = 0; in onMeasure() local
1104 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
DListView.java1288 int childState = 0; in onMeasure() local
1301 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
1313 widthSize |= (childState & MEASURED_STATE_MASK); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusIconContainer.java278 StatusIconState childState = getViewStateFromChild(child); in calculateIconTranslations() local
282 childState.visibleState = STATE_HIDDEN; in calculateIconTranslations()
287 childState.visibleState = STATE_ICON; in calculateIconTranslations()
288 childState.xTranslation = translationX - getViewTotalWidth(child); in calculateIconTranslations()
289 mLayoutStates.add(0, childState); in calculateIconTranslations()
DNotificationIconContainer.java259 ViewState childState = mIconStates.get(child); in applyIconStates() local
260 if (childState != null) { in applyIconStates()
261 childState.applyToView(child); in applyIconStates()
647 ViewState childState = mIconStates.get(child); in setAnimationsEnabled() local
648 if (childState != null) { in setAnimationsEnabled()
649 childState.cancelAnimations(child); in setAnimationsEnabled()
650 childState.applyToView(child); in setAnimationsEnabled()
/frameworks/base/core/java/android/util/
DLauncherIcons.java170 MyConstantState(Bitmap shadow, ConstantState childState) { in MyConstantState() argument
172 mChildState = childState; in MyConstantState()
/frameworks/base/core/java/android/app/
DLocalActivityManager.java527 final Bundle childState = new Bundle(); in saveInstanceState() local
528 r.activity.performSaveInstanceState(childState); in saveInstanceState()
529 r.instanceState = childState; in saveInstanceState()
/frameworks/base/media/java/android/media/tv/
DTvView.java722 int childState = mSurfaceView.getMeasuredState(); in onMeasure() local
723 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, childState), in onMeasure()
725 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1651 const State& childState = useDrawing ? child->mDrawingState : child->mCurrentState; in makeTraversalList() local
1652 if (childState.zOrderRelativeOf != nullptr) { in makeTraversalList()
1751 const State& childState = useDrawing ? child->mDrawingState : child->mCurrentState; in makeChildrenTraversalList() local
1756 childState.zOrderRelativeOf.promote().get())) { in makeChildrenTraversalList()
/frameworks/base/core/java/android/view/
DViewGroup.java7343 int[] childState = getChildAt(i).getDrawableState(); in onCreateDrawableState() local
7345 if (childState != null) { in onCreateDrawableState()
7346 need += childState.length; in onCreateDrawableState()
7353 int[] childState = getChildAt(i).getDrawableState(); in onCreateDrawableState() local
7355 if (childState != null) { in onCreateDrawableState()
7356 state = mergeDrawableStates(state, childState); in onCreateDrawableState()