/packages/apps/Camera2/src/com/android/camera/widget/ |
D | SettingsCling.java | 63 float referenceRight = referenceView.getX() + referenceView.getMeasuredWidth(); in updatePosition() 64 setTranslationX(referenceRight - getMeasuredWidth()); in updatePosition() 70 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2; in updatePosition() 82 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2; in updatePosition()
|
D | FilmstripLayout.java | 306 mFilmstripContentLayout.setTranslationX(fraction * getMeasuredWidth()); in translateContentLayout() 311 mFilmstripContentTranslationProgress = pixel / getMeasuredWidth(); in translateContentLayoutByPixel() 356 if (dx > 0 && mFilmstripContentLayout.getTranslationX() == getMeasuredWidth()) { in onScroll() 366 if (translate > getMeasuredWidth()) { in onScroll() 367 translate = getMeasuredWidth(); in onScroll() 461 if (mFilmstripContentLayout.getTranslationX() >= getMeasuredWidth() / 2) { in onUp() 525 int width = getMeasuredWidth() - mOffset; in draw() 532 canvas.drawRect(0, 0, getMeasuredWidth(), getMeasuredHeight(), mPaint); in draw()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | EvenlySpacedLayout.java | 58 width += child.getMeasuredWidth(); in onMeasure() 62 width = Math.max(width, child.getMeasuredWidth()); in onMeasure() 77 usedWidth += child.getMeasuredWidth(); in layoutHorizontal() 88 int w = child.getMeasuredWidth(); in layoutHorizontal() 115 int w = child.getMeasuredWidth(); in layoutVertical()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | AspectRatioFrameLayoutTest.java | 51 assertThat(mLayout.getMeasuredWidth()).isEqualTo(50); in measure_squareAspectRatio_squeezeWidth() 64 assertThat(mLayout.getMeasuredWidth()).isEqualTo(100); in measure_squareAspectRatio_stretchWidth() 77 assertThat(mLayout.getMeasuredWidth()).isEqualTo(100); in measure_squareAspectRatio_doNotStretch() 93 assertThat(mLayout.getMeasuredWidth()).isEqualTo(200); in measure_rectangleAspectRatio_stretch()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | MeasurableLinearLayout.java | 34 if (mDisposableView != null && getMeasuredWidth() - mFixedView.getMeasuredWidth() in onMeasure() 35 < mDisposableView.getMeasuredWidth()) { in onMeasure()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DropTargetBar.java | 203 availableWidth -= firstButton.getMeasuredWidth() + dp.dropTargetGapPx; in onMeasure() 254 button.layout(barCenter - (button.getMeasuredWidth() / 2), 0, in onLayout() 255 barCenter + (button.getMeasuredWidth() / 2), button.getMeasuredHeight()); in onLayout() 262 leftButton.layout(barCenter - leftButton.getMeasuredWidth() - (buttonGap / 2), 0, in onLayout() 265 barCenter + (buttonGap / 2) + rightButton.getMeasuredWidth(), in onLayout() 270 int leftButtonWidth = leftButton.getMeasuredWidth(); in onLayout() 271 int rightButtonWidth = rightButton.getMeasuredWidth(); in onLayout()
|
D | ButtonDropTarget.java | 159 x = -getMeasuredWidth() - message.getMeasuredWidth() / 2; in onDragEnter() 161 x = getMeasuredWidth() / 2 + message.getMeasuredWidth() / 2; in onDragEnter() 247 final float scale = (float) to.width() / dragView.getMeasuredWidth(); in onDrop() 285 int viewWidth = dragObject.dragView.getMeasuredWidth(); in getIconRect() 452 int availableWidth = getMeasuredWidth(); in resizeTextToFit()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SlidingTabLayout.java | 77 mTitleView.getMeasuredWidth() / titleCount, MeasureSpec.EXACTLY); in onMeasure() 89 final int indicatorWidth = mIndicatorView.getMeasuredWidth(); in onLayout() 90 final int totalWidth = getMeasuredWidth(); in onLayout() 94 mTitleView.layout(leftPadding, 0, mTitleView.getMeasuredWidth() + rightPadding, in onLayout()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchLandscapeLayout.kt | 97 lapsListWidth = max(lapsListView.getMeasuredWidth(), halfWidth) in onMeasure() 128 lapsListWidth = lapsListView.getMeasuredWidth() in onLayout() 147 val stopwatchWidth: Int = mStopwatchView.getMeasuredWidth() in onLayout()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/widget/ |
D | RingProgressBarTest.java | 50 assertEquals(100, mProgressBar.getMeasuredWidth()); in testMeasurePortrait() 59 assertEquals(100, mProgressBar.getMeasuredWidth()); in testMeasureLandscape()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | SecondLevelIndicatorControlBar.java | 85 int iconWidth = firstIndicatorButton.getMeasuredWidth(); in getTouchViewIndex() 178 int iconWidth = mCloseIcon.getMeasuredWidth(); in onLayout() 191 mDivider.layout(offsetX, padding, (offsetX + mDivider.getMeasuredWidth()), in onLayout()
|
D | RotateLayout.java | 71 w = mChild.getMeasuredWidth(); in onMeasure() 78 h = mChild.getMeasuredWidth(); in onMeasure()
|
D | ZoomControlBar.java | 76 mIconWidth = mZoomIn.getMeasuredWidth(); in onSizeChanged() 148 int sliderWidth = mZoomSlider.getMeasuredWidth(); in onLayout()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | RotateLayout.java | 76 w = mChild.getMeasuredWidth(); in onMeasure() 83 h = mChild.getMeasuredWidth(); in onMeasure()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | LockScreenPreviewer.java | 84 int cardWidth = previewContainer.getMeasuredWidth(); in LockScreenPreviewer() 98 contentView.setPivotX(directionLTR ? 0f : contentView.getMeasuredWidth()); in LockScreenPreviewer() 104 contentView.getMeasuredWidth(), in LockScreenPreviewer()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragLayer.java | 255 coord[0] = lp.x + (child.getMeasuredWidth() * (1 - childScale) / 2); in animateViewIntoPosition() 281 / (dragView.getMeasuredWidth() - dragView.getBlurSizeOutline())); in animateViewIntoPosition() 285 float scaleShiftX = dragView.getMeasuredWidth() * (1 - toScale) / 2; in animateViewIntoPosition() 305 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight()); in animateViewIntoPosition() 489 float transX = getMeasuredWidth() * progress; in onOverlayScrollChanged()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | BummerView.java | 47 final float framew = parent.getMeasuredWidth(); 49 final float textw = getMeasuredWidth();
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | LineWrapLayout.java | 71 int childMeasuredWidth = currChild.getMeasuredWidth() + startMargin + endMargin; in onMeasure() 116 int childWidth = currChild.getMeasuredWidth(); in onLayout() 145 int childWidth = currChild.getMeasuredWidth(); in onLayout()
|
D | MultiAttachmentLayout.java | 323 view.getMeasuredWidth(), in onMeasure() 340 final int cellWidth = getMeasuredWidth() / GRID_WIDTH; in onLayout() 352 tileLeft + view.getMeasuredWidth(), in onLayout() 367 tileLeft + mPlusTextView.getMeasuredWidth(), in onLayout()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | ArrowPopup.java | 342 return getMeasuredWidth() - mArrowOffsetHorizontal - mArrowWidth; in getArrowLeft() 372 mOutlineRadius, getMeasuredWidth(), getMeasuredHeight(), in updateArrowColor() 429 int width = getMeasuredWidth() + getPaddingLeft() + getPaddingRight(); in orientAboutObject() 538 setX(dragLayer.getWidth() / 2 - getMeasuredWidth() / 2); in onLayout() 645 setPivotX(mIsLeftAligned ? 0f : getMeasuredWidth()); in setPivotForOpenCloseAnimation() 648 setPivotX(mIsLeftAligned ? arrowCenter : getMeasuredWidth() - arrowCenter); in setPivotForOpenCloseAnimation()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | UdfpsEnrollEnrollingView.java | 115 new LinearLayout.LayoutParams(mHeaderView.getMeasuredWidth(), in setSecondaryButtonBackground() 233 firstPosition[0] + view1.getMeasuredWidth(), in hasOverlap() 236 secondPosition[0] + view2.getMeasuredWidth(), in hasOverlap()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | DefaultPagedViewHandler.java | 71 return view.getMeasuredWidth(); in getMeasuredSize() 118 final int childWidth = child.getMeasuredWidth(); in getChildBounds()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 1164 mScrapWidth = scrapView.getMeasuredWidth(); 1261 maxSize = Math.max(maxSize, mOrientation == HORIZONTAL ? child.getMeasuredWidth() : 1281 child.layout(left + maxSize / 2 - child.getMeasuredWidth() / 2, top, 1282 left + maxSize / 2 + child.getMeasuredWidth() / 2, 1286 child.layout(left, top, left + child.getMeasuredWidth(), 1290 child.layout(left + maxSize - child.getMeasuredWidth(), top, left + maxSize, 1300 left + child.getMeasuredWidth(), 1304 child.layout(left, top, left + child.getMeasuredWidth(), 1309 left + getMeasuredWidth(), top + maxSize); 1312 left += child.getMeasuredWidth(); [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsBottomSheet.java | 83 if (getMeasuredWidth() == 0) return false; in updateMaxSpansPerRow() 85 @Px int maxHorizontalSpan = mContent.getMeasuredWidth() - (2 * mContentHorizontalMargin); in updateMaxSpansPerRow() 101 int contentWidth = mContent.getMeasuredWidth(); in onLayout()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | InterpolatingLayout.java | 257 width += child.getMeasuredWidth(); in onMeasure() 270 width += fillChild.getMeasuredWidth(); in onMeasure() 311 Gravity.apply(gravity, child.getMeasuredWidth(), child.getMeasuredHeight(), in onLayout()
|