Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DRelativeLayout.java411 int myWidth = -1; in onMeasure() local
424 myWidth = widthSize; in onMeasure()
432 width = myWidth; in onMeasure()
466 if (isLayoutRtl() && myWidth == -1) { in onMeasure()
467 myWidth = DEFAULT_WIDTH; in onMeasure()
479 applyHorizontalSizeRules(params, myWidth, rules); in onMeasure()
480 measureChildHorizontal(child, params, myWidth, myHeight); in onMeasure()
482 if (positionChildHorizontal(child, params, myWidth, isWrapContentWidth)) { in onMeasure()
498 measureChild(child, params, myWidth, myHeight); in onMeasure()
506 width = Math.max(width, myWidth - params.mLeft); in onMeasure()
[all …]
/frameworks/base/core/java/android/view/
DSurfaceView.java697 int myWidth = mRequestedWidth; in updateSurface() local
698 if (myWidth <= 0) myWidth = getWidth(); in updateSurface()
708 final boolean sizeChanged = mSurfaceWidth != myWidth || mSurfaceHeight != myHeight; in updateSurface()
729 mSurfaceWidth = myWidth; in updateSurface()
911 + " w=" + myWidth + " h=" + myHeight); in updateSurface()
916 c.surfaceChanged(mSurfaceHolder, mFormat, myWidth, myHeight); in updateSurface()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java749 int myWidth = mSurfaceHolder.getRequestedWidth(); in updateSurface() local
750 if (myWidth <= 0) myWidth = ViewGroup.LayoutParams.MATCH_PARENT; in updateSurface()
759 boolean sizeChanged = mWidth != myWidth || mHeight != myHeight; in updateSurface()
772 mWidth = myWidth; in updateSurface()
781 mLayout.width = myWidth; in updateSurface()
790 (float) displayInfo.logicalWidth / (float) myWidth); in updateSurface()
792 mLayout.width = (int) (myWidth * layoutScale); in updateSurface()
885 w = myWidth; in updateSurface()