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.java560 int myWidth = mRequestedWidth; in updateSurface() local
561 if (myWidth <= 0) myWidth = getWidth(); in updateSurface()
569 final boolean sizeChanged = mSurfaceWidth != myWidth || mSurfaceHeight != myHeight; in updateSurface()
587 mSurfaceWidth = myWidth; in updateSurface()
765 + " w=" + myWidth + " h=" + myHeight); in updateSurface()
770 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()