Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustration.java151 final int layoutWidth = right - left; in onLayout() local
157 viewBounds.set(0, 0, layoutWidth, layoutHeight); in onLayout()
159 scale = layoutWidth / (float) intrinsicWidth; in onLayout()
160 intrinsicWidth = layoutWidth; in onLayout()
177 (int) Math.ceil(layoutWidth / scale), in onLayout()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java725 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/
DRemoteViews.java3082 public void setViewLayoutWidth(int viewId, int layoutWidth) {
3083 if (layoutWidth != 0 && layoutWidth != ViewGroup.LayoutParams.MATCH_PARENT
3084 && layoutWidth != ViewGroup.LayoutParams.WRAP_CONTENT) {
3087 mActions.add(new LayoutParamAction(viewId, LayoutParamAction.LAYOUT_WIDTH, layoutWidth));