Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/tests/coretests/src/android/view/
DIncludeTest.java56 button1.getLayoutParams().width != button2.getLayoutParams().width); in testIncludedWithLayoutParams()
58 button1.getLayoutParams().height != button2.getLayoutParams().height); in testIncludedWithLayoutParams()
75 final ViewGroup.LayoutParams lp = button1.getLayoutParams(); in testIncludedWithSize()
DViewStubTest.java81 stub.getLayoutParams().width, swapped.getLayoutParams().width); in testInflatedLayoutParams()
83 stub.getLayoutParams().height, swapped.getLayoutParams().height); in testInflatedLayoutParams()
/frameworks/support/v7/recyclerview/src/android/support/v7/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();
/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();
DMediaNotificationView.java69 (MarginLayoutParams) mRightIcon.getLayoutParams(); in onMeasure()
87 = (MarginLayoutParams) mMainColumn.getLayoutParams(); in onMeasure()
95 params = (MarginLayoutParams) mHeader.getLayoutParams(); in onMeasure()
122 (MarginLayoutParams) mHeader.getLayoutParams(); in resetHeaderIndention()
DMessagingLinearLayout.java106 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
121 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in onMeasure()
162 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
227 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
259 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutMarginTest.java65 ((ViewGroup.MarginLayoutParams) mLeftView.getLayoutParams()).leftMargin); in testLeftMarginAligned()
71 ((ViewGroup.MarginLayoutParams) mRightView.getLayoutParams()).rightMargin); in testRightMarginAligned()
77 ((ViewGroup.MarginLayoutParams) mTopView.getLayoutParams()).topMargin); in testTopMarginAligned()
83 ((ViewGroup.MarginLayoutParams) mBottomView.getLayoutParams()).bottomMargin); in testBottomMarginAligned()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java90 MarginLayoutParams lp = (MarginLayoutParams) mMultiUserAvatar.getLayoutParams(); in onConfigurationChanged()
95 lp = (MarginLayoutParams) mMultiUserSwitch.getLayoutParams(); in onConfigurationChanged()
102 lp = (MarginLayoutParams) mSystemIconsSuperContainer.getLayoutParams(); in onConfigurationChanged()
113 lp = (MarginLayoutParams) mSystemIconsContainer.getLayoutParams(); in onConfigurationChanged()
122 lp = (MarginLayoutParams) mCarrierLabel.getLayoutParams(); in onConfigurationChanged()
127 lp = (MarginLayoutParams) getLayoutParams(); in onConfigurationChanged()
165 (LayoutParams) mSystemIconsSuperContainer.getLayoutParams(); in updateSystemIconsLayoutParams()
DNotificationsQuickSettingsContainer.java68 mStackScrollerMargin = ((LayoutParams) mStackScroller.getLayoutParams()).bottomMargin; in onFinishInflate()
99 LayoutParams params = (LayoutParams) view.getLayoutParams(); in reloadWidth()
188 LayoutParams params = (LayoutParams) v.getLayoutParams(); in setBottomMargin()
/frameworks/support/design/tests/src/android/support/design/widget/
DAppBarWithAnchoredFabMarginsTest.java45 (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); in testFabBottomMargin()
72 (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); in testFabTopMargin()
99 (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); in testFabLeftMargin()
124 (CoordinatorLayout.LayoutParams) fab.getLayoutParams(); in testFabRightMargin()
/frameworks/base/core/java/android/widget/
DActionMenuView.java165 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
222 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
260 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
286 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
316 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat()
320 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat()
332 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
368 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
400 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells()
455 LayoutParams p = (LayoutParams) v.getLayoutParams(); in onLayout()
[all …]
DTableRow.java163 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in mapIndexAndColumns()
194 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildBeforeLayout()
256 LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getChildrenSkipCount()
267 return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION]; in getLocationOffset()
275 … return ((TableRow.LayoutParams) child.getLayoutParams()).mOffset[LayoutParams.LOCATION_NEXT]; in getNextLocationOffset()
298 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); in getColumnsWidths()
DToolbar.java1400 final ViewGroup.LayoutParams vlp = v.getLayoutParams(); in addSystemView()
1507 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained()
1532 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins()
1645 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
1777 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1781 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
1789 final LayoutParams toplp = (LayoutParams) topChild.getLayoutParams(); in onLayout()
1790 final LayoutParams bottomlp = (LayoutParams) bottomChild.getLayoutParams(); in onLayout()
1827 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1835 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuView.java168 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
225 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
263 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
289 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
319 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat()
323 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat()
335 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
371 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
403 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells()
458 LayoutParams p = (LayoutParams) v.getLayoutParams(); in onLayout()
[all …]
DLinearLayoutCompat.java301 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
314 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
329 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
351 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
470 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in getBaseline()
633 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in measureVertical()
750 child.getLayoutParams(); in measureVertical()
786 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in measureVertical()
861 (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in measureVertical()
899 … LinearLayoutCompat.LayoutParams lp = ((LinearLayoutCompat.LayoutParams)child.getLayoutParams()); in forceUniformWidth()
[all …]
DToolbar.java1388 final ViewGroup.LayoutParams vlp = v.getLayoutParams(); in addSystemView()
1505 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained()
1530 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins()
1648 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
1781 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1785 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
1793 final LayoutParams toplp = (LayoutParams) topChild.getLayoutParams(); in onLayout()
1794 final LayoutParams bottomlp = (LayoutParams) bottomChild.getLayoutParams(); in onLayout()
1831 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1839 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
[all …]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DOverlayDisplayWindow.java255 mTextureView.getLayoutParams().width = mWidth; in updateAspectRatio()
256 mTextureView.getLayoutParams().height = mWidth * height / width; in updateAspectRatio()
258 mTextureView.getLayoutParams().width = mHeight * width / height; in updateAspectRatio()
259 mTextureView.getLayoutParams().height = mHeight; in updateAspectRatio()
292 mTextureView.getLayoutParams().width = mWidth; in createWindow()
293 mTextureView.getLayoutParams().height = mHeight; in createWindow()
357 (mWidth - mTextureView.getLayoutParams().width) * scale / 2); in updateWindowParams()
359 (mHeight - mTextureView.getLayoutParams().height) * scale / 2); in updateWindowParams()
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java378 final Behavior b = ((LayoutParams) mBehaviorTouchView.getLayoutParams()).getBehavior(); in resetTouchBehaviors()
392 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in resetTouchBehaviors()
433 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in performIntercept()
523 final LayoutParams lp = (LayoutParams) mBehaviorTouchView.getLayoutParams(); in onTouchEvent()
620 final LayoutParams result = (LayoutParams) child.getLayoutParams(); in getResolvedLayoutParams()
750 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
813 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in dispatchApplyWindowInsetsToBehaviors()
841 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayoutChild()
866 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout()
904 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in recordLastChildRect()
[all …]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DPresenterTest.java163 vh.view.findViewById(R.id.controls_card_right_panel).getLayoutParams().height, in testPlaybackControlsRowPresenter()
166 vh.view.findViewById(R.id.description_dock).getLayoutParams().height, in testPlaybackControlsRowPresenter()
174 vh.view.findViewById(R.id.controls_card_right_panel).getLayoutParams().height, 0); in testPlaybackControlsRowPresenter()
176 vh.view.findViewById(R.id.description_dock).getLayoutParams().height, 0); in testPlaybackControlsRowPresenter()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DDataBindingUtilTest.java60 LayoutParams layoutParams = binding.getRoot().getLayoutParams(); in testSetContentView()
83 assertNotNull(binding.getRoot().getLayoutParams()); in testInflate()
87 assertNull(binding.getRoot().getLayoutParams()); in testInflate()
/frameworks/support/core-ui/java/android/support/v4/widget/
DDrawerLayout.java679 final int gravity = ((LayoutParams) drawerView.getLayoutParams()).gravity; in setDrawerLockMode()
752 final int drawerGravity = ((LayoutParams) drawerView.getLayoutParams()).gravity; in getDrawerLockMode()
814 final LayoutParams lp = (LayoutParams) activeDrawer.getLayoutParams(); in updateDrawerState()
837 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in dispatchOnDrawerClosed()
865 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in dispatchOnDrawerOpened()
914 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in setDrawerViewOffset()
924 return ((LayoutParams) drawerView.getLayoutParams()).onScreen; in getDrawerViewOffset()
932 final int gravity = ((LayoutParams) drawerView.getLayoutParams()).gravity; in getDrawerViewAbsoluteGravity()
945 final LayoutParams childLp = (LayoutParams) child.getLayoutParams(); in findOpenDrawer()
1061 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DImageCardView.java214 (RelativeLayout.LayoutParams) mTitleView.getLayoutParams(); in buildImageCardView()
227 (RelativeLayout.LayoutParams) mContentView.getLayoutParams(); in buildImageCardView()
242 (RelativeLayout.LayoutParams) mBadgeImage.getLayoutParams(); in buildImageCardView()
345 ViewGroup.LayoutParams lp = mImageView.getLayoutParams(); in setMainImageDimensions()
/frameworks/support/design/src/android/support/design/internal/
DBottomNavigationItemView.java144 LayoutParams iconParams = (LayoutParams) mIcon.getLayoutParams(); in setChecked()
152 LayoutParams iconParams = (LayoutParams) mIcon.getLayoutParams(); in setChecked()
163 LayoutParams iconParams = (LayoutParams) mIcon.getLayoutParams(); in setChecked()
175 LayoutParams iconParams = (LayoutParams) mIcon.getLayoutParams(); in setChecked()
/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()

12345678910