Home
last modified time | relevance | path

Searched refs:mLayoutScaleX (Results 1 – 1 of 1) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DScaleFrameLayout.java31 private float mLayoutScaleX = 1f; field in ScaleFrameLayout
48 if (scaleX != mLayoutScaleX) { in setLayoutScaleX()
49 mLayoutScaleX = scaleX; in setLayoutScaleX()
70 if (mLayoutScaleX != 1f) { in onLayout()
71 parentLeft = getPaddingLeft() + (int)(pivotX - pivotX / mLayoutScaleX + 0.5f); in onLayout()
72 parentRight = (int)(pivotX + (right - left - pivotX) / mLayoutScaleX + 0.5f) in onLayout()
153 if (mLayoutScaleX != 1f || mLayoutScaleY != 1f) { in onMeasure()
155 getScaledMeasureSpec(widthMeasureSpec, mLayoutScaleX); in onMeasure()
159 setMeasuredDimension((int)(getMeasuredWidth() * mLayoutScaleX + 0.5f), in onMeasure()