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.java919 int myWidth = mRequestedWidth; in updateSurface() local
920 if (myWidth <= 0) myWidth = getWidth(); in updateSurface()
930 final boolean sizeChanged = mSurfaceWidth != myWidth || mSurfaceHeight != myHeight; in updateSurface()
958 mSurfaceWidth = myWidth; in updateSurface()
1160 + " w=" + myWidth + " h=" + myHeight); in updateSurface()
1165 c.surfaceChanged(mSurfaceHolder, mFormat, myWidth, myHeight); in updateSurface()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java818 int myWidth = mSurfaceHolder.getRequestedWidth(); in updateSurface() local
819 if (myWidth <= 0) myWidth = ViewGroup.LayoutParams.MATCH_PARENT; in updateSurface()
828 boolean sizeChanged = mWidth != myWidth || mHeight != myHeight; in updateSurface()
841 mWidth = myWidth; in updateSurface()
849 mLayout.width = myWidth; in updateSurface()
935 w = myWidth; in updateSurface()