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.java1480 final MarginLayoutParams mlp = (MarginLayoutParams)
1503 if (mlp.topMargin != newTopMargin || mlp.leftMargin != newLeftMargin
1504 || mlp.rightMargin != newRightMargin) {
1506 mlp.topMargin = newTopMargin;
1507 mlp.leftMargin = newLeftMargin;
1508 mlp.rightMargin = newRightMargin;
1515 mlp.topMargin, Gravity.LEFT | Gravity.TOP);
1522 if (lp.height != mlp.topMargin || lp.leftMargin != newGuardLeftMargin
1524 lp.height = mlp.topMargin;
1551 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()