Searched refs:mlp (Results 1 – 5 of 5) sorted by relevance
1478 final MarginLayoutParams mlp = (MarginLayoutParams)1501 if (mlp.topMargin != newTopMargin || mlp.leftMargin != newLeftMargin1502 || 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 != newGuardLeftMargin1522 lp.height = mlp.topMargin;1549 if (mlp.topMargin != 0 || mlp.leftMargin != 0 || mlp.rightMargin != 0) {[all …]
149 final MarginLayoutParams mlp = new MarginLayoutParams( in BatteryMeterView() local152 mlp.setMargins(0, 0, 0, in BatteryMeterView()154 addView(mBatteryIconView, mlp); in BatteryMeterView()
166 final MarginLayoutParams mlp = (MarginLayoutParams) params; in updateSwitchImeButton() local167 mlp.setMarginStart(0); in updateSwitchImeButton()
308 MarginLayoutParams mlp = (MarginLayoutParams) mIndicationArea.getLayoutParams(); in onConfigurationChanged() local309 if (mlp.bottomMargin != mIndicationBottomMargin) { in onConfigurationChanged()310 mlp.bottomMargin = mIndicationBottomMargin; in onConfigurationChanged()311 mIndicationArea.setLayoutParams(mlp); in onConfigurationChanged()
2181 final MarginLayoutParams mlp = (MarginLayoutParams) v.getLayoutParams(); in getHorizontalMargins() local2182 return mlp.getMarginStart() + mlp.getMarginEnd(); in getHorizontalMargins()2186 final MarginLayoutParams mlp = (MarginLayoutParams) v.getLayoutParams(); in getVerticalMargins() local2187 return mlp.topMargin + mlp.bottomMargin; in getVerticalMargins()