Searched refs:mlp (Results 1 – 5 of 5) sorted by relevance
1480 final MarginLayoutParams mlp = (MarginLayoutParams)1503 if (mlp.topMargin != newTopMargin || mlp.leftMargin != newLeftMargin1504 || 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 != newGuardLeftMargin1524 lp.height = mlp.topMargin;1551 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()