Searched refs:mLayoutWidth (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherScrim.java47 private int mLayoutWidth; field in class:KeyguardUserSwitcherScrim
91 mLayoutWidth = right - left;
98 if (mLayoutWidth == 0) {
101 float radius = mLayoutWidth * OUTER_EXTENT;
104 new RadialGradient(isLtr ? mLayoutWidth : 0, 0, radius,
108 new float[] { Math.max(0f, mLayoutWidth * INNER_EXTENT / radius), 1f },
/frameworks/support/wear/src/android/support/wear/widget/
H A DCurvingLayoutCallback.java48 private int mLayoutWidth; field in class:CurvingLayoutCallback
65 mLayoutWidth = mParentView.getWidth();
69 maybeSetUpCircularInitialLayout(mLayoutWidth, mLayoutHeight);
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DPlaybackGlueHostImplWithViewHolder.java35 protected int mLayoutWidth = 1920; field in class:PlaybackGlueHostImplWithViewHolder
59 mRootView.addView(mViewHolder.view, mLayoutWidth, mLayoutHeight);
/frameworks/support/wear/tests/src/android/support/wear/widget/
H A DSwipeDismissFrameLayoutTest.java71 private int mLayoutWidth; field in class:SwipeDismissFrameLayoutTest
269 int halfBound = mLayoutWidth / 2;
270 RectF bounds = new RectF(0, center - halfBound, mLayoutWidth, center + halfBound);
336 float normalizedX = x - mLayoutWidth / 2;
337 float normalizedY = y - mLayoutWidth / 2;
341 return Math.sqrt(squareX + squareY) < (mLayoutWidth / 2 - 30);
393 mLayoutWidth = testLayout.getWidth();

Completed in 1829 milliseconds