Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DRelativeLayout.java412 int myWidth = -1; in onMeasure() local
425 myWidth = widthSize; in onMeasure()
433 width = myWidth; in onMeasure()
467 if (isLayoutRtl() && myWidth == -1) { in onMeasure()
468 myWidth = DEFAULT_WIDTH; in onMeasure()
480 applyHorizontalSizeRules(params, myWidth, rules); in onMeasure()
481 measureChildHorizontal(child, params, myWidth, myHeight); in onMeasure()
483 if (positionChildHorizontal(child, params, myWidth, isWrapContentWidth)) { in onMeasure()
499 measureChild(child, params, myWidth, myHeight); in onMeasure()
507 width = Math.max(width, myWidth - params.mLeft); in onMeasure()
[all …]
/frameworks/base/core/java/android/view/
DSurfaceView.java1115 int myWidth = mRequestedWidth; in updateSurface() local
1116 if (myWidth <= 0) myWidth = getWidth(); in updateSurface()
1125 final boolean sizeChanged = mSurfaceWidth != myWidth || mSurfaceHeight != myHeight; in updateSurface()
1160 mSurfaceWidth = myWidth; in updateSurface()
1247 + " w=" + myWidth + " h=" + myHeight); in updateSurface()
1252 c.surfaceChanged(mSurfaceHolder, mFormat, myWidth, myHeight); in updateSurface()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1186 int myWidth = mSurfaceHolder.getRequestedWidth(); in updateSurface() local
1187 if (myWidth <= 0) myWidth = ViewGroup.LayoutParams.MATCH_PARENT; in updateSurface()
1196 boolean sizeChanged = mWidth != myWidth || mHeight != myHeight; in updateSurface()
1209 mWidth = myWidth; in updateSurface()
1228 if (myWidth == ViewGroup.LayoutParams.MATCH_PARENT in updateSurface()
1230 mLayout.width = myWidth; in updateSurface()
1235 maxBounds.width() / (float) myWidth, in updateSurface()
1237 mLayout.width = (int) (myWidth * layoutScale + .5f); in updateSurface()
1365 w = myWidth; in updateSurface()