Home
last modified time | relevance | path

Searched refs:getLayoutParams (Results 1 – 25 of 185) sorted by relevance

12345678

/frameworks/base/core/tests/coretests/src/android/view/
DIncludeTest.java54 button1.getLayoutParams().width != button2.getLayoutParams().width); in testIncludedWithLayoutParams()
56 button1.getLayoutParams().height != button2.getLayoutParams().height); in testIncludedWithLayoutParams()
73 final ViewGroup.LayoutParams lp = button1.getLayoutParams(); in testIncludedWithSize()
DViewStubTest.java79 stub.getLayoutParams().width, swapped.getLayoutParams().width); in testInflatedLayoutParams()
81 stub.getLayoutParams().height, swapped.getLayoutParams().height); in testInflatedLayoutParams()
/frameworks/base/core/java/com/android/internal/widget/
DOrientationHelper.java275 view.getLayoutParams(); in createHorizontalHelper()
283 view.getLayoutParams(); in createHorizontalHelper()
291 view.getLayoutParams(); in createHorizontalHelper()
298 view.getLayoutParams(); in createHorizontalHelper()
373 view.getLayoutParams();
381 view.getLayoutParams();
389 view.getLayoutParams();
396 view.getLayoutParams();
DRemeasuringLinearLayout.java61 boolean isWrapContent = getLayoutParams().height == LayoutParams.WRAP_CONTENT; in onMeasure()
68 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
83 child.getLayoutParams().width), in onMeasure()
DMessagingLinearLayout.java84 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
108 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in onMeasure()
203 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout()
244 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawChild()
278 final ViewGroup.LayoutParams lp = view.getLayoutParams(); in isGone()
324 MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in getBaseline()
DMediaNotificationView.java75 (MarginLayoutParams) mRightIcon.getLayoutParams(); in onMeasure()
94 = (MarginLayoutParams) mMainColumn.getLayoutParams(); in onMeasure()
109 params = (MarginLayoutParams) mHeader.getLayoutParams(); in onMeasure()
148 (MarginLayoutParams) mHeader.getLayoutParams(); in resetHeaderIndention()
DGridLayoutManager.java146 ViewGroup.LayoutParams lp = host.getLayoutParams(); in onInitializeAccessibilityNodeInfoForItem()
190 final LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in cachePreLayoutSpanMapping()
429 if (((RecyclerView.LayoutParams) view.getLayoutParams()).isItemRemoved()) { in findReferenceChild()
591 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); in layoutChunk()
617 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); in layoutChunk()
661 LayoutParams params = (LayoutParams) view.getLayoutParams(); in layoutChunk()
702 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); in measureChild()
744 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) child.getLayoutParams(); in measureChildWithDecorationsAndMargin()
774 LayoutParams params = (LayoutParams) view.getLayoutParams(); in assignSpans()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedSwitchPreferenceTest.java61 assertThat(mImageView.getLayoutParams().height).isEqualTo(SIZE); in onBindViewHolder_setIconSize_shouldHaveCorrectLayoutParam()
62 assertThat(mImageView.getLayoutParams().width).isEqualTo(SIZE); in onBindViewHolder_setIconSize_shouldHaveCorrectLayoutParam()
69 assertThat(mImageView.getLayoutParams().height).isEqualTo( in onBindViewHolder_notSetIconSize_shouldHaveCorrectLayoutParam()
71 assertThat(mImageView.getLayoutParams().width).isEqualTo( in onBindViewHolder_notSetIconSize_shouldHaveCorrectLayoutParam()
DTwoTargetPreferenceTest.java94 .getLayoutParams(); in bind_smallIcon_shouldUseSmallIconSize()
110 .getLayoutParams(); in bind_mediumIcon_shouldUseMediumIconSize()
124 .getLayoutParams(); in bind_defaultIcon_shouldUseDefaultIconSize()
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java66 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin); in testLeftMarginAligned()
72 ((ViewGroup.MarginLayoutParams) mRightView.getLayoutParams()).rightMargin); in testRightMarginAligned()
78 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin); in testTopMarginAligned()
84 ((ViewGroup.MarginLayoutParams) mBottomView.getLayoutParams()).bottomMargin); in testBottomMarginAligned()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java135 MarginLayoutParams lp = (MarginLayoutParams) mMultiUserAvatar.getLayoutParams(); in onConfigurationChanged()
141 lp = (MarginLayoutParams) mMultiUserSwitch.getLayoutParams(); in onConfigurationChanged()
149 lp = (MarginLayoutParams) mSystemIconsContainer.getLayoutParams(); in onConfigurationChanged()
162 lp = (MarginLayoutParams) mCarrierLabel.getLayoutParams(); in onConfigurationChanged()
176 MarginLayoutParams lp = (MarginLayoutParams) getLayoutParams(); in updateKeyguardStatusBarHeight()
220 (LinearLayout.LayoutParams) mSystemIconsContainer.getLayoutParams(); in updateSystemIconsLayoutParams()
277 RelativeLayout.LayoutParams lp = (LayoutParams) mCarrierLabel.getLayoutParams(); in updateLayoutParamsNoCutout()
280 lp = (LayoutParams) mStatusIconArea.getLayoutParams(); in updateLayoutParamsNoCutout()
285 (LinearLayout.LayoutParams) mSystemIconsContainer.getLayoutParams(); in updateLayoutParamsNoCutout()
305 RelativeLayout.LayoutParams lp = (LayoutParams) mCutoutSpace.getLayoutParams(); in updateLayoutParamsForCutout()
[all …]
DNotificationsQuickSettingsContainer.java73 mStackScrollerMargin = ((LayoutParams) mStackScroller.getLayoutParams()).bottomMargin; in onFinishInflate()
103 LayoutParams params = (LayoutParams) view.getLayoutParams(); in reloadWidth()
200 LayoutParams params = (LayoutParams) v.getLayoutParams(); in setBottomMargin()
/frameworks/base/core/java/android/widget/
DActionMenuView.java166 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
223 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
261 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
287 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
317 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat()
321 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat()
333 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
369 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
401 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells()
456 LayoutParams p = (LayoutParams) v.getLayoutParams(); in onLayout()
[all …]
DTableRow.java164 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in mapIndexAndColumns()
195 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildBeforeLayout()
257 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getChildrenSkipCount()
268 return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION]; in getLocationOffset()
276 … return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION_NEXT]; in getNextLocationOffset()
299 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getColumnsWidths()
DToolbar.java1522 final ViewGroup.LayoutParams vlp = v.getLayoutParams(); in addSystemView()
1629 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained()
1654 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins()
1767 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
1899 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1903 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
1911 final LayoutParams toplp = (LayoutParams) topChild.getLayoutParams(); in onLayout()
1912 final LayoutParams bottomlp = (LayoutParams) bottomChild.getLayoutParams(); in onLayout()
1949 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1957 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
[all …]
DLinearLayout.java441 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
454 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
482 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
504 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
633 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in getBaseline()
815 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical()
933 child.getLayoutParams(); in measureVertical()
969 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical()
1037 (LinearLayout.LayoutParams) child.getLayoutParams(); in measureVertical()
1075 LinearLayout.LayoutParams lp = ((LinearLayout.LayoutParams)child.getLayoutParams()); in forceUniformWidth()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationHeaderViewWrapper.java197 (ViewGroup.MarginLayoutParams) mAppNameText.getLayoutParams(); in applyConversationSkin()
202 (ViewGroup.MarginLayoutParams) mIconContainer.getLayoutParams(); in applyConversationSkin()
213 (ViewGroup.MarginLayoutParams) mIcon.getLayoutParams(); in applyConversationSkin()
226 (ViewGroup.MarginLayoutParams) mAppNameText.getLayoutParams(); in clearConversationSkin()
233 (ViewGroup.MarginLayoutParams) mIconContainer.getLayoutParams(); in clearConversationSkin()
239 (ViewGroup.MarginLayoutParams) mIcon.getLayoutParams(); in clearConversationSkin()
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewResizeActivity.java52 (LinearLayout.LayoutParams) mActivityView.getLayoutParams(); in onCreate()
64 (LinearLayout.LayoutParams) mActivityView.getLayoutParams(); in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenRadioLayout.java59 if (radio.getLayoutParams().height != content.getMeasuredHeight()) { in onMeasure()
61 radio.getLayoutParams().height = content.getMeasuredHeight(); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DInattentiveSleepWarningView.java95 mWindowManager.addView(this, getLayoutParams(mWindowToken)); in show()
118 private WindowManager.LayoutParams getLayoutParams(IBinder windowToken) { in getLayoutParams() method in InattentiveSleepWarningView
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListViewHeight.java63 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams(); in onCreate()
79 lp = (ViewGroup.MarginLayoutParams) mInnerList.getLayoutParams(); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java63 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in onMeasure()
123 LayoutParams lp = (LayoutParams) currentChild.getLayoutParams(); in onLayout()
170 LayoutParams lp = (LayoutParams) currentChild.getLayoutParams(); in layoutChildrenOnRow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java365 final LayoutParams lp = (LayoutParams) button.getLayoutParams(); in inflateActionButton()
423 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
522 final LayoutParams lp = (LayoutParams) smartReplyButton.getLayoutParams(); in onMeasure()
583 final LayoutParams lp = (LayoutParams) smartReplyButton.getLayoutParams(); in gotEnoughSmartReplies()
601 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in filterActionsOrReplies()
616 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in resetButtonsLayoutParams()
719 final LayoutParams lp = (LayoutParams) button.getLayoutParams(); in squeezeButtonToTextWidth()
737 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in remeasureButtonsIfNecessary()
785 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in markButtonsWithPendingSqueezeStatusAs()
802 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DMicroAlertController.java64 new FrameLayout.LayoutParams(topPanel.getLayoutParams()); in setupContent()
72 new FrameLayout.LayoutParams(buttonPanel.getLayoutParams()); in setupContent()
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java74 ViewGroup.LayoutParams lp = v.getLayoutParams(); in setLayoutHeight()
80 ViewGroup.MarginLayoutParams lp = (MarginLayoutParams) v.getLayoutParams(); in setLayoutMarginBottom()

12345678