Home
last modified time | relevance | path

Searched refs:mlp (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1478 final MarginLayoutParams mlp = (MarginLayoutParams)
1501 if (mlp.topMargin != newTopMargin || mlp.leftMargin != newLeftMargin
1502 || mlp.rightMargin != newRightMargin) {
1504 mlp.topMargin = newTopMargin;
1505 mlp.leftMargin = newLeftMargin;
1506 mlp.rightMargin = newRightMargin;
1513 mlp.topMargin, Gravity.LEFT | Gravity.TOP);
1520 if (lp.height != mlp.topMargin || lp.leftMargin != newGuardLeftMargin
1522 lp.height = mlp.topMargin;
1549 if (mlp.topMargin != 0 || mlp.leftMargin != 0 || mlp.rightMargin != 0) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java149 final MarginLayoutParams mlp = new MarginLayoutParams( in BatteryMeterView() local
152 mlp.setMargins(0, 0, 0, in BatteryMeterView()
154 addView(mBatteryIconView, mlp); in BatteryMeterView()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPasswordView.java166 final MarginLayoutParams mlp = (MarginLayoutParams) params; in updateSwitchImeButton() local
167 mlp.setMarginStart(0); in updateSwitchImeButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBottomAreaView.java308 MarginLayoutParams mlp = (MarginLayoutParams) mIndicationArea.getLayoutParams(); in onConfigurationChanged() local
309 if (mlp.bottomMargin != mIndicationBottomMargin) { in onConfigurationChanged()
310 mlp.bottomMargin = mIndicationBottomMargin; in onConfigurationChanged()
311 mIndicationArea.setLayoutParams(mlp); in onConfigurationChanged()
/frameworks/base/core/java/android/widget/
DToolbar.java2181 final MarginLayoutParams mlp = (MarginLayoutParams) v.getLayoutParams(); in getHorizontalMargins() local
2182 return mlp.getMarginStart() + mlp.getMarginEnd(); in getHorizontalMargins()
2186 final MarginLayoutParams mlp = (MarginLayoutParams) v.getLayoutParams(); in getVerticalMargins() local
2187 return mlp.topMargin + mlp.bottomMargin; in getVerticalMargins()