Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollAlgorithm.java287 StackViewState childState in initAlgorithmState() local
289 childState.notGoneIndex = notGoneIndex; in initAlgorithmState()
411 StackViewState childState = resultState.getViewStateForView(row); in updateHeadsUpStates() local
414 childState.location = StackViewState.LOCATION_FIRST_HUN; in updateHeadsUpStates()
417 float unmodifiedEndLocation = childState.yTranslation + childState.height; in updateHeadsUpStates()
420 clampHunToTop(ambientState, row, childState); in updateHeadsUpStates()
421 clampHunToMaxTranslation(ambientState, row, childState); in updateHeadsUpStates()
424 childState.yTranslation = Math.max(childState.yTranslation, 0); in updateHeadsUpStates()
425 childState.height = Math.max(row.getIntrinsicHeight(), childState.height); in updateHeadsUpStates()
431 childState.height = row.getIntrinsicHeight(); in updateHeadsUpStates()
[all …]
DNotificationChildrenContainer.java461 StackViewState childState = resultState.getViewStateForView(child);
466 if (updateChildStateForExpandedGroup(child, parentHeight, childState, yPosition)) {
469 childState.isBottomClipped = true;
472 childState.hidden = false;
473 childState.height = intrinsicHeight;
474 childState.isBottomClipped = false;
476 childState.yTranslation = yPosition;
479 childState.zTranslation = childrenExpanded
482 childState.dimmed = parentState.dimmed;
483 childState.dark = parentState.dark;
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java113 int childState = 0; in tryOnMeasure() local
120 childState = combineMeasuredStates(childState, topPanel.getMeasuredState()); in tryOnMeasure()
131 childState = combineMeasuredStates(childState, buttonPanel.getMeasuredState()); in tryOnMeasure()
148 childState = combineMeasuredStates(childState, middlePanel.getMeasuredState()); in tryOnMeasure()
170 childState = combineMeasuredStates(childState, buttonPanel.getMeasuredState()); in tryOnMeasure()
190 childState = combineMeasuredStates(childState, middlePanel.getMeasuredState()); in tryOnMeasure()
204 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.java368 int childState = 0;
379 childState = combineMeasuredStates(childState, mActionBarTop.getMeasuredState());
389 childState = combineMeasuredStates(childState, mActionBarBottom.getMeasuredState());
452 childState = combineMeasuredStates(childState, mContent.getMeasuredState());
462 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState),
464 childState << MEASURED_HEIGHT_STATE_SHIFT));
/frameworks/support/design/src/android/support/design/internal/
DBaselineLayout.java52 int childState = 0; in onMeasure() local
68 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
78 ViewCompat.resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
80 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintOptionsLayout.java62 int childState = 0; in onMeasure() local
101 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
120 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, childState), in onMeasure()
122 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
/frameworks/base/core/java/android/widget/
DDayPickerViewPager.java70 int childState = 0; in onMeasure() local
79 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
104 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
106 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
DToolbar.java1552 int childState = 0; in onMeasure() local
1574 childState = combineMeasuredStates(childState, mNavButtonView.getMeasuredState()); in onMeasure()
1584 childState = combineMeasuredStates(childState, mCollapseButtonView.getMeasuredState()); in onMeasure()
1598 childState = combineMeasuredStates(childState, mMenuView.getMeasuredState()); in onMeasure()
1610 childState = combineMeasuredStates(childState, mExpandedActionView.getMeasuredState()); in onMeasure()
1618 childState = combineMeasuredStates(childState, mLogoView.getMeasuredState()); in onMeasure()
1633 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
1646 childState = combineMeasuredStates(childState, mTitleTextView.getMeasuredState()); in onMeasure()
1655 childState = combineMeasuredStates(childState, mSubtitleTextView.getMeasuredState()); in onMeasure()
1668 widthMeasureSpec, childState & MEASURED_STATE_MASK); in onMeasure()
[all …]
DFrameLayout.java180 int childState = 0; in onMeasure() local
191 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
216 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
218 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
DLinearLayout.java694 int childState = 0; in measureVertical() local
810 childState = combineMeasuredStates(childState, child.getMeasuredState()); in measureVertical()
914 childState = combineMeasuredStates(childState, child.getMeasuredState() in measureVertical()
976 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in measureVertical()
1021 int childState = 0; in measureHorizontal() local
1154 childState = combineMeasuredStates(childState, child.getMeasuredState()); in measureHorizontal()
1298 childState = combineMeasuredStates(childState, in measureHorizontal()
1391 setMeasuredDimension(widthSizeAndState | (childState&MEASURED_STATE_MASK), in measureHorizontal()
1393 (childState<<MEASURED_HEIGHT_STATE_SHIFT))); in measureHorizontal()
DGridView.java1060 int childState = 0; in onMeasure() local
1084 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
DListView.java1198 int childState = 0; in onMeasure() local
1211 childState = combineMeasuredStates(childState, child.getMeasuredState()); in onMeasure()
1223 widthSize |= (childState & MEASURED_STATE_MASK); in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionBarOverlayLayout.java335 int childState = 0;
346 childState = ViewUtils.combineMeasuredStates(childState,
399 childState = ViewUtils.combineMeasuredStates(childState,
411 ViewCompat.resolveSizeAndState(maxWidth, widthMeasureSpec, childState),
413 childState << MEASURED_HEIGHT_STATE_SHIFT));
DToolbar.java1574 int childState = 0; in onMeasure() local
1596 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1607 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1622 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1635 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1644 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1660 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1674 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1684 childState = ViewUtils.combineMeasuredStates(childState, in onMeasure()
1698 widthMeasureSpec, childState & ViewCompat.MEASURED_STATE_MASK); in onMeasure()
[all …]
DLinearLayoutCompat.java596 int childState = 0; in measureVertical() local
709 childState = ViewUtils.combineMeasuredStates(childState, in measureVertical()
820 childState = ViewUtils.combineMeasuredStates(childState, in measureVertical()
884 setMeasuredDimension(ViewCompat.resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in measureVertical()
929 int childState = 0; in measureHorizontal() local
1057 childState = ViewUtils.combineMeasuredStates(childState, in measureHorizontal()
1210 childState = ViewUtils.combineMeasuredStates(childState, in measureHorizontal()
1304 setMeasuredDimension(widthSizeAndState | (childState&ViewCompat.MEASURED_STATE_MASK), in measureHorizontal()
1306 (childState<<ViewCompat.MEASURED_HEIGHT_STATE_SHIFT))); in measureHorizontal()
/frameworks/base/core/java/android/app/
DLocalActivityManager.java501 final Bundle childState = new Bundle(); in saveInstanceState() local
502 r.activity.performSaveInstanceState(childState); in saveInstanceState()
503 r.instanceState = childState; in saveInstanceState()
/frameworks/support/core-ui/java/android/support/v4/view/
DPagerTitleStrip.java457 final int childState = ViewCompat.getMeasuredState(mCurrText); in onMeasure() local
459 childState << ViewCompat.MEASURED_HEIGHT_STATE_SHIFT); in onMeasure()
/frameworks/base/media/java/android/media/tv/
DTvView.java718 int childState = mSurfaceView.getMeasuredState(); in onMeasure() local
719 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, childState), in onMeasure()
721 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java728 int childState = 0; in onMeasure() local
785 childState = ViewCompat.combineMeasuredStates(childState, in onMeasure()
790 childState & ViewCompat.MEASURED_STATE_MASK); in onMeasure()
792 childState << ViewCompat.MEASURED_HEIGHT_STATE_SHIFT); in onMeasure()
/frameworks/base/core/java/android/view/
DViewGroup.java6474 int[] childState = getChildAt(i).getDrawableState(); in onCreateDrawableState() local
6476 if (childState != null) { in onCreateDrawableState()
6477 need += childState.length; in onCreateDrawableState()
6484 int[] childState = getChildAt(i).getDrawableState(); in onCreateDrawableState() local
6486 if (childState != null) { in onCreateDrawableState()
6487 state = mergeDrawableStates(state, childState); in onCreateDrawableState()