/frameworks/support/compat/tests/java/android/support/v4/view/ |
D | MarginLayoutParamsCompatTest.java | 33 ViewGroup.MarginLayoutParams mlp = new ViewGroup.MarginLayoutParams(0, 0); in testLayoutDirection() local 36 MarginLayoutParamsCompat.getLayoutDirection(mlp)); in testLayoutDirection() 38 MarginLayoutParamsCompat.setLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_RTL); in testLayoutDirection() 41 MarginLayoutParamsCompat.getLayoutDirection(mlp)); in testLayoutDirection() 45 MarginLayoutParamsCompat.getLayoutDirection(mlp)); in testLayoutDirection() 48 MarginLayoutParamsCompat.setLayoutDirection(mlp, ViewCompat.LAYOUT_DIRECTION_LTR); in testLayoutDirection() 50 MarginLayoutParamsCompat.getLayoutDirection(mlp)); in testLayoutDirection() 55 ViewGroup.MarginLayoutParams mlp = new ViewGroup.MarginLayoutParams(0, 0); in testMappingOldMarginsToNewMarginsLtr() local 57 mlp.leftMargin = 50; in testMappingOldMarginsToNewMarginsLtr() 58 mlp.rightMargin = 80; in testMappingOldMarginsToNewMarginsLtr() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | PlaybackControlsRowPresenter.java | 422 MarginLayoutParams mlp = (MarginLayoutParams) vh.mControlsDock.getLayoutParams(); in updateCardLayout() local 428 mlp.setMarginStart(0); in updateCardLayout() 429 mlp.setMarginEnd(0); in updateCardLayout() 436 mlp.setMarginStart(vh.mControlsDockMarginStart); in updateCardLayout() 437 mlp.setMarginEnd(vh.mControlsDockMarginEnd); in updateCardLayout() 444 vh.mControlsDock.setLayoutParams(mlp); in updateCardLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 102 final MarginLayoutParams mlp = new MarginLayoutParams( in BatteryMeterView() local 105 mlp.setMargins(0, 0, 0, in BatteryMeterView() 107 addView(mBatteryIconView, mlp); in BatteryMeterView()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPasswordView.java | 163 final MarginLayoutParams mlp = (MarginLayoutParams) params; in updateSwitchImeButton() local 164 mlp.setMarginStart(0); in updateSwitchImeButton()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1316 final MarginLayoutParams mlp = (MarginLayoutParams) 1329 if (mlp.topMargin != newMargin) { 1331 mlp.topMargin = insets.getSystemWindowInsetTop(); 1339 mlp.topMargin, Gravity.START | Gravity.TOP)); 1343 if (lp.height != mlp.topMargin) { 1344 lp.height = mlp.topMargin; 1364 if (mlp.topMargin != 0) { 1366 mlp.topMargin = 0; 1370 mPrimaryActionModeView.setLayoutParams(mlp); 1388 MarginLayoutParams mlp = [all …]
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerTest.java | 586 ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) lp; in removeAnchorItemTest() 590 mlp.height = ViewGroup.MarginLayoutParams.MATCH_PARENT; in removeAnchorItemTest() 593 mlp.width = ViewGroup.MarginLayoutParams.MATCH_PARENT; in removeAnchorItemTest() 605 mlp.width = desiredSize; in removeAnchorItemTest() 607 mlp.height = desiredSize; in removeAnchorItemTest()
|
D | GridLayoutManagerTest.java | 950 ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) lp; in removeAnchorItemTest() 954 mlp.height = ViewGroup.MarginLayoutParams.MATCH_PARENT; in removeAnchorItemTest() 957 mlp.width = ViewGroup.MarginLayoutParams.MATCH_PARENT; in removeAnchorItemTest() 969 mlp.width = desiredSize; in removeAnchorItemTest() 971 mlp.height = desiredSize; in removeAnchorItemTest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBottomAreaView.java | 298 MarginLayoutParams mlp = (MarginLayoutParams) mIndicationArea.getLayoutParams(); in onConfigurationChanged() local 299 if (mlp.bottomMargin != indicationBottomMargin) { in onConfigurationChanged() 300 mlp.bottomMargin = indicationBottomMargin; in onConfigurationChanged() 301 mIndicationArea.setLayoutParams(mlp); in onConfigurationChanged()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | CollapsingToolbarLayout.java | 503 final MarginLayoutParams mlp = (MarginLayoutParams) lp; in getHeightWithMargins() local 504 return view.getHeight() + mlp.topMargin + mlp.bottomMargin; in getHeightWithMargins()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | Toolbar.java | 2064 final MarginLayoutParams mlp = (MarginLayoutParams) v.getLayoutParams(); in getHorizontalMargins() local 2065 return MarginLayoutParamsCompat.getMarginStart(mlp) + in getHorizontalMargins() 2066 MarginLayoutParamsCompat.getMarginEnd(mlp); in getHorizontalMargins() 2070 final MarginLayoutParams mlp = (MarginLayoutParams) v.getLayoutParams(); in getVerticalMargins() local 2071 return mlp.topMargin + mlp.bottomMargin; in getVerticalMargins()
|
/frameworks/base/core/java/android/widget/ |
D | Toolbar.java | 2059 final MarginLayoutParams mlp = (MarginLayoutParams) v.getLayoutParams(); in getHorizontalMargins() local 2060 return mlp.getMarginStart() + mlp.getMarginEnd(); in getHorizontalMargins() 2064 final MarginLayoutParams mlp = (MarginLayoutParams) v.getLayoutParams(); in getVerticalMargins() local 2065 return mlp.topMargin + mlp.bottomMargin; in getVerticalMargins()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogImpl.java | 547 final ViewGroup.MarginLayoutParams mlp = (MarginLayoutParams) mDialogView.getLayoutParams(); in updateDialogBottomMarginH() 550 if (bottomMargin != mlp.bottomMargin) { in updateDialogBottomMarginH() 551 if (D.BUG) Log.d(TAG, "bottomMargin " + mlp.bottomMargin + " -> " + bottomMargin); in updateDialogBottomMarginH() 552 mlp.bottomMargin = bottomMargin; in updateDialogBottomMarginH() 553 mDialogView.setLayoutParams(mlp); in updateDialogBottomMarginH()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatDelegateImplV9.java | 1666 ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) 1681 if (mlp.topMargin != newMargin) { 1683 mlp.topMargin = insetTop; 1714 if (mlp.topMargin != 0) { 1716 mlp.topMargin = 0; 1720 mActionModeView.setLayoutParams(mlp);
|