Home
last modified time | relevance | path

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

/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java394 ExpandableViewState childState = childRow.getViewState(); in initAlgorithmState() local
395 childState.notGoneIndex = notGoneIndex; in initAlgorithmState()
739 ExpandableViewState childState = trackedHeadsUpRow.getViewState(); in updateHeadsUpStates() local
740 if (childState != null) { in updateHeadsUpStates()
741 float endPos = childState.getYTranslation() - ambientState.getStackTranslation(); in updateHeadsUpStates()
742 childState.setYTranslation(MathUtils.lerp( in updateHeadsUpStates()
757 ExpandableViewState childState = row.getViewState(); in updateHeadsUpStates() local
758 if (topHeadsUpEntry == null && row.mustStayOnScreen() && !childState.headsUpIsVisible) { in updateHeadsUpStates()
760 childState.location = ExpandableViewState.LOCATION_FIRST_HUN; in updateHeadsUpStates()
763 float unmodifiedEndLocation = childState.getYTranslation() + childState.height; in updateHeadsUpStates()
[all …]
DNotificationChildrenContainer.java658 ExpandableViewState childState = child.getViewState();
660 childState.height = intrinsicHeight;
661 childState.setYTranslation(yPosition + launchTransitionCompensation);
662 childState.hidden = false;
670 childState.setZTranslation(child.getTranslationZ());
674 childState.setZTranslation(parentState.getZTranslation());
676 childState.setZTranslation(0);
678 childState.dimmed = parentState.dimmed;
679 childState.hideSensitive = parentState.hideSensitive;
680 childState.belowSpeedBump = parentState.belowSpeedBump;
[all …]
/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.java811 int childState = 0; in measureVertical() local
930 childState = combineMeasuredStates(childState, child.getMeasuredState()); in measureVertical()
1034 childState = combineMeasuredStates(childState, child.getMeasuredState() in measureVertical()
1096 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in measureVertical()
1141 int childState = 0; in measureHorizontal() local
1277 childState = combineMeasuredStates(childState, child.getMeasuredState()); in measureHorizontal()
1438 childState = combineMeasuredStates(childState, in measureHorizontal()
1535 setMeasuredDimension(widthSizeAndState | (childState&MEASURED_STATE_MASK), in measureHorizontal()
1537 (childState<<MEASURED_HEIGHT_STATE_SHIFT))); in measureHorizontal()
DGridView.java1081 int childState = 0; in onMeasure() local
1105 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/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/native/services/surfaceflinger/tests/unittests/
DTransactionTracingTest.cpp120 ComposerState childState; in SetUp() local
121 childState.state.surface = fakeChildLayerHandle; in SetUp()
122 childState.state.what = layer_state_t::eLayerChanged; in SetUp()
123 childState.state.z = 43; in SetUp()
124 transaction.states.add(childState); in SetUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusIconContainer.java327 StatusIconState childState = getViewStateFromChild(child); in calculateIconTranslations() local
331 childState.visibleState = STATE_HIDDEN; in calculateIconTranslations()
339 childState.visibleState = STATE_ICON; in calculateIconTranslations()
340 childState.setXTranslation(translationX); in calculateIconTranslations()
341 mLayoutStates.add(0, childState); in calculateIconTranslations()
DNotificationIconContainer.java302 ViewState childState = mIconStates.get(child); in applyIconStates() local
303 if (childState != null) { in applyIconStates()
304 childState.applyToView(child); in applyIconStates()
649 ViewState childState = mIconStates.get(child); in setAnimationsEnabled() local
650 if (childState != null) { in setAnimationsEnabled()
651 childState.cancelAnimations(child); in setAnimationsEnabled()
652 childState.applyToView(child); in setAnimationsEnabled()
/frameworks/base/core/java/android/util/
DLauncherIcons.java173 MyConstantState(Bitmap shadow, ConstantState childState) { in MyConstantState() argument
175 mChildState = childState; in MyConstantState()
/frameworks/base/core/java/android/app/
DLocalActivityManager.java555 final Bundle childState = new Bundle(); in saveInstanceState() local
556 r.activity.performSaveInstanceState(childState); in saveInstanceState()
557 r.instanceState = childState; in saveInstanceState()
/frameworks/base/media/java/android/media/tv/interactive/
DTvInteractiveAppView.java251 int childState = mSurfaceView.getMeasuredState(); in onMeasure() local
252 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, childState), in onMeasure()
254 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
/frameworks/base/media/java/android/media/tv/
DTvView.java760 int childState = mSurfaceView.getMeasuredState(); in onMeasure() local
761 setMeasuredDimension(resolveSizeAndState(width, widthMeasureSpec, childState), in onMeasure()
763 childState << MEASURED_HEIGHT_STATE_SHIFT)); in onMeasure()
/frameworks/base/core/java/android/view/
DViewGroup.java7598 int[] childState = getChildAt(i).getDrawableState(); in onCreateDrawableState() local
7600 if (childState != null) { in onCreateDrawableState()
7601 need += childState.length; in onCreateDrawableState()
7608 int[] childState = getChildAt(i).getDrawableState(); in onCreateDrawableState() local
7610 if (childState != null) { in onCreateDrawableState()
7611 state = mergeDrawableStates(state, childState); in onCreateDrawableState()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1809 const State& childState = useDrawing ? child->mDrawingState : child->mDrawingState; in makeChildrenTraversalList() local
1814 childState.zOrderRelativeOf.promote().get())) { in makeChildrenTraversalList()