Home
last modified time | relevance | path

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

1234567

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOrientationHelper.java218 view.getLayoutParams(); in createHorizontalHelper()
226 view.getLayoutParams(); in createHorizontalHelper()
234 view.getLayoutParams(); in createHorizontalHelper()
241 view.getLayoutParams(); in createHorizontalHelper()
294 view.getLayoutParams();
302 view.getLayoutParams();
310 view.getLayoutParams();
317 view.getLayoutParams();
DGridLayoutManager.java146 ViewGroup.LayoutParams lp = host.getLayoutParams(); in onInitializeAccessibilityNodeInfoForItem()
189 final LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in cachePreLayoutSpanMapping()
337 if (((RecyclerView.LayoutParams) view.getLayoutParams()).isItemRemoved()) { in findReferenceChild()
472 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); in layoutChunk()
493 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); in layoutChunk()
528 LayoutParams params = (LayoutParams) view.getLayoutParams(); in layoutChunk()
566 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) child.getLayoutParams(); in measureChildWithDecorationsAndMargin()
612 LayoutParams params = (LayoutParams) view.getLayoutParams(); in assignSpans()
/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/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/support/design/src/android/support/design/widget/
DCoordinatorLayout.java116 } else if (((LayoutParams) lhs.getLayoutParams()).dependsOn(
119 } else if (((LayoutParams) rhs.getLayoutParams()).dependsOn(
289 final Behavior b = ((LayoutParams) mBehaviorTouchView.getLayoutParams()).getBehavior(); in resetTouchBehaviors()
303 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in resetTouchBehaviors()
343 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in performIntercept()
433 final LayoutParams lp = (LayoutParams) mBehaviorTouchView.getLayoutParams(); in onTouchEvent()
527 final LayoutParams result = (LayoutParams) child.getLayoutParams(); in getResolvedLayoutParams()
638 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
702 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in dispatchChildApplyWindowInsets()
734 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayoutChild()
[all …]
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DPresenterTest.java92 vh.view.findViewById(R.id.controls_card_right_panel).getLayoutParams().height, in testPlaybackControlsRowPresenter()
95 vh.view.findViewById(R.id.description_dock).getLayoutParams().height, in testPlaybackControlsRowPresenter()
103 vh.view.findViewById(R.id.controls_card_right_panel).getLayoutParams().height, 0); in testPlaybackControlsRowPresenter()
105 vh.view.findViewById(R.id.description_dock).getLayoutParams().height, 0); in testPlaybackControlsRowPresenter()
/frameworks/base/core/java/android/widget/
DActionMenuView.java164 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
221 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
259 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
285 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
315 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat()
319 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat()
331 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
367 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat()
399 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells()
454 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.java1065 final ViewGroup.LayoutParams vlp = v.getLayoutParams(); in addSystemView()
1172 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained()
1197 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins()
1310 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
1439 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1443 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
1451 final LayoutParams toplp = (LayoutParams) topChild.getLayoutParams(); in onLayout()
1452 final LayoutParams bottomlp = (LayoutParams) bottomChild.getLayoutParams(); in onLayout()
1489 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1497 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
[all …]
DLinearLayout.java354 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
367 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
396 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
418 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
545 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in getBaseline()
721 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in measureVertical()
837 child.getLayoutParams(); in measureVertical()
873 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in measureVertical()
947 (LinearLayout.LayoutParams) child.getLayoutParams(); in measureVertical()
985 LinearLayout.LayoutParams lp = ((LinearLayout.LayoutParams)child.getLayoutParams()); in forceUniformWidth()
[all …]
DDayPickerViewPager.java70 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
107 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
DRelativeLayout.java457 LayoutParams params = (LayoutParams) child.getLayoutParams(); in onMeasure()
476 final LayoutParams params = (LayoutParams) child.getLayoutParams(); in onMeasure()
527 final LayoutParams childParams = (LayoutParams) child.getLayoutParams(); in onMeasure()
553 final LayoutParams params = (LayoutParams) child.getLayoutParams(); in onMeasure()
583 final LayoutParams params = (LayoutParams) child.getLayoutParams(); in onMeasure()
612 final LayoutParams params = (LayoutParams) child.getLayoutParams(); in onMeasure()
631 final LayoutParams params = (LayoutParams) child.getLayoutParams(); in onMeasure()
1014 rules = ((LayoutParams) v.getLayoutParams()).getRules(v.getLayoutDirection()); in getRelatedView()
1029 ViewGroup.LayoutParams params = v.getLayoutParams(); in getRelatedViewParams()
1031 return (LayoutParams) v.getLayoutParams(); in getRelatedViewParams()
[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.java297 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
310 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
325 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
347 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
466 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in getBaseline()
629 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in measureVertical()
746 child.getLayoutParams(); in measureVertical()
782 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in measureVertical()
857 (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in measureVertical()
895 … LinearLayoutCompat.LayoutParams lp = ((LinearLayoutCompat.LayoutParams)child.getLayoutParams()); in forceUniformWidth()
[all …]
DToolbar.java1072 final ViewGroup.LayoutParams vlp = v.getLayoutParams(); in addSystemView()
1184 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained()
1209 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins()
1327 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
1459 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1463 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
1471 final LayoutParams toplp = (LayoutParams) topChild.getLayoutParams(); in onLayout()
1472 final LayoutParams bottomlp = (LayoutParams) bottomChild.getLayoutParams(); in onLayout()
1509 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout()
1517 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout()
[all …]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DNetworkImageView.java109 if (getLayoutParams() != null) { in loadImageIfNecessary()
110 wrapWidth = getLayoutParams().width == LayoutParams.WRAP_CONTENT; in loadImageIfNecessary()
111 wrapHeight = getLayoutParams().height == LayoutParams.WRAP_CONTENT; in loadImageIfNecessary()
/frameworks/support/v4/java/android/support/v4/widget/
DDrawerLayout.java597 final int gravity = ((LayoutParams) drawerView.getLayoutParams()).gravity; in setDrawerLockMode()
696 final LayoutParams lp = (LayoutParams) activeDrawer.getLayoutParams(); in updateDrawerState()
714 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in dispatchOnDrawerClosed()
736 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in dispatchOnDrawerOpened()
778 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in setDrawerViewOffset()
788 return ((LayoutParams) drawerView.getLayoutParams()).onScreen; in getDrawerViewOffset()
796 final int gravity = ((LayoutParams) drawerView.getLayoutParams()).gravity; in getDrawerViewAbsoluteGravity()
809 if (((LayoutParams) child.getLayoutParams()).knownOpen) { in findOpenDrawer()
923 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
1040 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout()
[all …]
DSlidingPaneLayout.java507 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
569 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
683 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout()
728 if (((LayoutParams) mSlideableView.getLayoutParams()).dimWhenOffset) { in onLayout()
949 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); in onPanelDragged()
971 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); in dimChildView()
997 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawChild()
1057 final LayoutParams lp = (LayoutParams) mSlideableView.getLayoutParams(); in smoothSlideTo()
1190 final LayoutParams slideLp = (LayoutParams) mSlideableView.getLayoutParams(); in parallaxOtherViews()
1250 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in isDimmed()
[all …]
/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/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/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackControlsPresenter.java91 ((MarginLayoutParams) mCurrentTime.getLayoutParams()).getMarginStart(); in ViewHolder()
93 ((MarginLayoutParams) mTotalTime.getLayoutParams()).getMarginEnd(); in ViewHolder()
275 lp = (MarginLayoutParams) vh.mCurrentTime.getLayoutParams(); in enableTimeMargins()
279 lp = (MarginLayoutParams) vh.mTotalTime.getLayoutParams(); in enableTimeMargins()
/frameworks/base/core/java/com/android/internal/widget/
DTextProgressBar.java153 params = (RelativeLayout.LayoutParams) mProgressBar.getLayoutParams(); in onChronometerTick()
176 params = (RelativeLayout.LayoutParams) mChronometer.getLayoutParams(); in onChronometerTick()
DDialogViewAnimator.java57 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
110 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()
/frameworks/base/core/java/android/preference/
DPreferenceFrameLayout.java94 android.view.ViewGroup.LayoutParams params = child.getLayoutParams(); in addView()
96 ? (PreferenceFrameLayout.LayoutParams) child.getLayoutParams() : null; in addView()

1234567