|
|
|
|
|
|
|
|
width += backProps.getPaddingStart(false, context); |
|
|
width += backProps.getPaddingStart(false, context); |
|
|
width += backProps.getPaddingEnd(false, context); |
|
|
width += backProps.getPaddingEnd(false, context); |
|
|
int imageWidthMpt = back.getImageInfo().getSize().getWidthMpt(); |
|
|
int imageWidthMpt = back.getImageInfo().getSize().getWidthMpt(); |
|
|
int lengthBaseValue = (width - imageWidthMpt); |
|
|
|
|
|
|
|
|
int lengthBaseValue = width - imageWidthMpt; |
|
|
SimplePercentBaseContext simplePercentBaseContext |
|
|
SimplePercentBaseContext simplePercentBaseContext |
|
|
= new SimplePercentBaseContext(context, |
|
|
= new SimplePercentBaseContext(context, |
|
|
LengthBase.IMAGE_BACKGROUND_POSITION_HORIZONTAL, |
|
|
LengthBase.IMAGE_BACKGROUND_POSITION_HORIZONTAL, |
|
|
|
|
|
|
|
|
height += backProps.getPaddingBefore(false, context); |
|
|
height += backProps.getPaddingBefore(false, context); |
|
|
height += backProps.getPaddingAfter(false, context); |
|
|
height += backProps.getPaddingAfter(false, context); |
|
|
int imageHeightMpt = back.getImageInfo().getSize().getHeightMpt(); |
|
|
int imageHeightMpt = back.getImageInfo().getSize().getHeightMpt(); |
|
|
int lengthBaseValue = (height - imageHeightMpt); |
|
|
|
|
|
|
|
|
int lengthBaseValue = height - imageHeightMpt; |
|
|
SimplePercentBaseContext simplePercentBaseContext |
|
|
SimplePercentBaseContext simplePercentBaseContext |
|
|
= new SimplePercentBaseContext(context, |
|
|
= new SimplePercentBaseContext(context, |
|
|
LengthBase.IMAGE_BACKGROUND_POSITION_VERTICAL, |
|
|
LengthBase.IMAGE_BACKGROUND_POSITION_VERTICAL, |