Searched refs:layoutWidth (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | Illustration.java | 152 final int layoutWidth = right - left; in onLayout() local 158 mViewBounds.set(0, 0, layoutWidth, layoutHeight); in onLayout() 160 mScale = layoutWidth / (float) intrinsicWidth; in onLayout() 161 intrinsicWidth = layoutWidth; in onLayout() 171 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale), in onLayout()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 725 final int layoutWidth = getWidth(); in onLayout() local 729 mCropSize = Math.min(sCropSize, Math.min(layoutWidth, layoutHeight)); in onLayout() 730 final int cropLeft = (layoutWidth - mCropSize) / 2; in onLayout()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 2908 public void setViewLayoutWidth(int viewId, int layoutWidth) { 2909 if (layoutWidth != 0 && layoutWidth != ViewGroup.LayoutParams.MATCH_PARENT 2910 && layoutWidth != ViewGroup.LayoutParams.WRAP_CONTENT) { 2913 mActions.add(new LayoutParamAction(viewId, LayoutParamAction.LAYOUT_WIDTH, layoutWidth));
|