Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DRelativeLayout.java392 int myWidth = -1; in onMeasure() local
405 myWidth = widthSize; in onMeasure()
413 width = myWidth; in onMeasure()
447 if (isLayoutRtl() && myWidth == -1) { in onMeasure()
448 myWidth = DEFAULT_WIDTH; in onMeasure()
460 applyHorizontalSizeRules(params, myWidth, rules); in onMeasure()
461 measureChildHorizontal(child, params, myWidth, myHeight); in onMeasure()
463 if (positionChildHorizontal(child, params, myWidth, isWrapContentWidth)) { in onMeasure()
479 measureChild(child, params, myWidth, myHeight); in onMeasure()
487 width = Math.max(width, myWidth - params.mLeft); in onMeasure()
[all …]
/frameworks/base/core/java/android/view/
DSurfaceView.java487 int myWidth = mRequestedWidth; in updateSurface() local
488 if (myWidth <= 0) myWidth = getWidth(); in updateSurface()
496 final boolean sizeChanged = mSurfaceWidth != myWidth || mSurfaceHeight != myHeight; in updateSurface()
514 mSurfaceWidth = myWidth; in updateSurface()
670 + " w=" + myWidth + " h=" + myHeight); in updateSurface()
675 c.surfaceChanged(mSurfaceHolder, mFormat, myWidth, myHeight); in updateSurface()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java691 int myWidth = mSurfaceHolder.getRequestedWidth(); in updateSurface() local
692 if (myWidth <= 0) myWidth = ViewGroup.LayoutParams.MATCH_PARENT; in updateSurface()
701 boolean sizeChanged = mWidth != myWidth || mHeight != myHeight; in updateSurface()
714 mWidth = myWidth; in updateSurface()
721 mLayout.width = myWidth; in updateSurface()