/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 | 108 final MarginLayoutParams mlp = new MarginLayoutParams( in BatteryMeterView() local 111 mlp.setMargins(0, 0, 0, in BatteryMeterView() 113 addView(mBatteryIconView, mlp); in BatteryMeterView()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPasswordView.java | 164 final MarginLayoutParams mlp = (MarginLayoutParams) params; in updateSwitchImeButton() local 165 mlp.setMarginStart(0); in updateSwitchImeButton()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1348 final MarginLayoutParams mlp = (MarginLayoutParams) 1361 if (mlp.topMargin != newMargin) { 1363 mlp.topMargin = insets.getSystemWindowInsetTop(); 1371 mlp.topMargin, Gravity.START | Gravity.TOP)); 1375 if (lp.height != mlp.topMargin) { 1376 lp.height = mlp.topMargin; 1396 if (mlp.topMargin != 0) { 1398 mlp.topMargin = 0; 1402 mPrimaryActionModeView.setLayoutParams(mlp); 1420 MarginLayoutParams mlp = [all …]
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerTest.java | 700 ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) lp; in removeAnchorItemTest() 704 mlp.height = ViewGroup.MarginLayoutParams.MATCH_PARENT; in removeAnchorItemTest() 707 mlp.width = ViewGroup.MarginLayoutParams.MATCH_PARENT; in removeAnchorItemTest() 719 mlp.width = desiredSize; in removeAnchorItemTest() 721 mlp.height = desiredSize; in removeAnchorItemTest()
|
D | GridLayoutManagerTest.java | 1056 ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) lp; in removeAnchorItemTest() 1060 mlp.height = ViewGroup.MarginLayoutParams.MATCH_PARENT; in removeAnchorItemTest() 1063 mlp.width = ViewGroup.MarginLayoutParams.MATCH_PARENT; in removeAnchorItemTest() 1075 mlp.width = desiredSize; in removeAnchorItemTest() 1077 mlp.height = desiredSize; in removeAnchorItemTest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBottomAreaView.java | 308 MarginLayoutParams mlp = (MarginLayoutParams) mIndicationArea.getLayoutParams(); in onConfigurationChanged() local 309 if (mlp.bottomMargin != indicationBottomMargin) { in onConfigurationChanged() 310 mlp.bottomMargin = indicationBottomMargin; in onConfigurationChanged() 311 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/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatDelegateImplV9.java | 1654 ViewGroup.MarginLayoutParams mlp = (ViewGroup.MarginLayoutParams) 1669 if (mlp.topMargin != newMargin) { 1671 mlp.topMargin = insetTop; 1702 if (mlp.topMargin != 0) { 1704 mlp.topMargin = 0; 1708 mActionModeView.setLayoutParams(mlp);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogImpl.java | 560 final ViewGroup.MarginLayoutParams mlp = (MarginLayoutParams) mDialogView.getLayoutParams(); in updateDialogBottomMarginH() 563 if (bottomMargin != mlp.bottomMargin) { in updateDialogBottomMarginH() 564 if (D.BUG) Log.d(TAG, "bottomMargin " + mlp.bottomMargin + " -> " + bottomMargin); in updateDialogBottomMarginH() 565 mlp.bottomMargin = bottomMargin; in updateDialogBottomMarginH() 566 mDialogView.setLayoutParams(mlp); in updateDialogBottomMarginH()
|