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.java1567 final MarginLayoutParams mlp = (MarginLayoutParams)
1590 if (mlp.topMargin != newTopMargin || mlp.leftMargin != newLeftMargin
1591 || mlp.rightMargin != newRightMargin) {
1593 mlp.topMargin = newTopMargin;
1594 mlp.leftMargin = newLeftMargin;
1595 mlp.rightMargin = newRightMargin;
1602 mlp.topMargin, Gravity.LEFT | Gravity.TOP);
1609 if (lp.height != mlp.topMargin || lp.leftMargin != newGuardLeftMargin
1611 lp.height = mlp.topMargin;
1638 if (mlp.topMargin != 0 || mlp.leftMargin != 0 || mlp.rightMargin != 0) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPasswordViewController.java258 final MarginLayoutParams mlp = (MarginLayoutParams) params; in updateSwitchImeButton() local
259 mlp.setMarginStart(0); in updateSwitchImeButton()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java141 final MarginLayoutParams mlp = new MarginLayoutParams( in BatteryMeterView() local
144 mlp.setMargins(0, 0, 0, in BatteryMeterView()
146 addView(mBatteryIconView, mlp); in BatteryMeterView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBottomAreaView.java377 MarginLayoutParams mlp = (MarginLayoutParams) mIndicationArea.getLayoutParams(); in onConfigurationChanged() local
378 if (mlp.bottomMargin != mIndicationBottomMargin) { in onConfigurationChanged()
379 mlp.bottomMargin = mIndicationBottomMargin; in onConfigurationChanged()
380 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()