/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/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
D | ManualLayoutFrame.java | 56 mWidth = getMeasuredWidth(); in onMeasure() 68 final int contentLeft = (getMeasuredWidth() - content.getMeasuredWidth()) / 2; in onLayout() 70 final int contentRight = contentLeft + content.getMeasuredWidth(); in onLayout()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedView.java | 552 if (DEBUG) Log.d(TAG, "\tmeasure-child" + i + ": " + child.getMeasuredWidth() + ", " in onMeasure() 568 if (DEBUG) Log.d(TAG, "getRelativeChildOffset(): " + getMeasuredWidth() + ", " in onMeasure() 579 getChildAt(0).getMeasuredWidth()); in onMeasure() 623 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY); in setLayoutScale() 671 childLeft + child.getMeasuredWidth(), childTop + childHeight); in onLayout() 766 (getMeasuredWidth() - padding - getChildWidth(index)) / 2; in getRelativeChildOffset() 777 final int measuredWidth = child.getMeasuredWidth(); in getScaledMeasuredWidth() 788 final int screenWidth = getMeasuredWidth(); in getVisiblePages() 821 int halfScreenSize = getMeasuredWidth() / 2; in dispatchDraw() 966 return (x > (getMeasuredWidth() - getRelativeChildOffset(mCurrentPage) + mPageSpacing)); in hitsPreviousPage() [all …]
|
D | DragLayer.java | 355 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight()); in getViewRectRelativeToSelf() 486 coord[0] = lp.x + (int) (child.getMeasuredWidth() * (1 - childScale) / 2); in animateViewIntoPosition() 505 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; in animateViewIntoPosition() 511 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; in animateViewIntoPosition() 514 toX -= (Math.round(scale * (dragView.getMeasuredWidth() in animateViewIntoPosition() 515 - child.getMeasuredWidth()))) / 2; in animateViewIntoPosition() 538 view.getMeasuredWidth(), fromY + view.getMeasuredHeight()); in animateViewIntoPosition() 539 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight()); in animateViewIntoPosition() 599 final int width = view.getMeasuredWidth(); in animateView()
|
D | Cling.java | 125 return new int[]{getMeasuredWidth() / 2, getMeasuredHeight() - (mButtonBarHeight / 2)}; in getPunchThroughPositions() 127 return new int[]{getMeasuredWidth() - (mButtonBarHeight / 2), getMeasuredHeight() / 2}; in getPunchThroughPositions() 132 return new int[]{getMeasuredWidth() - cornerXOffset, cornerYOffset}; in getPunchThroughPositions() 201 Bitmap b = Bitmap.createBitmap(getMeasuredWidth(), getMeasuredHeight(), in dispatchDraw() 225 mBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in dispatchDraw()
|
D | DeleteDropTarget.java | 208 Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(), in animateToTrashAndCompleteDrop() 268 final Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(), in createFlingToTrashAnimatorListener() 301 float x1o = ((1f - scale) * dragView.getMeasuredWidth()) / 2f; in createFlingToTrashAnimatorListener() 350 float xOffset = ((scale - 1f) * dragView.getMeasuredWidth()) / 2f;
|
/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/Launcher3/src/com/android/launcher3/ |
D | DragLayer.java | 377 (int) (mTmpXY[0] + scale * descendant.getMeasuredWidth()), in getDescendantRectRelativeToSelf() 429 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight()); in getViewRectRelativeToSelf() 582 coord[0] = lp.x + (int) (child.getMeasuredWidth() * (1 - childScale) / 2); in animateViewIntoPosition() 609 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; in animateViewIntoPosition() 616 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; in animateViewIntoPosition() 619 toX -= (Math.round(scale * (dragView.getMeasuredWidth() in animateViewIntoPosition() 620 - child.getMeasuredWidth()))) / 2; in animateViewIntoPosition() 643 view.getMeasuredWidth(), fromY + view.getMeasuredHeight()); in animateViewIntoPosition() 644 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight()); in animateViewIntoPosition() 703 final int width = view.getMeasuredWidth(); in animateView() [all …]
|
/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/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/DeskClock/src/com/android/deskclock/widget/ |
D | EllipsizeLayout.java | 101 totalLength += child.getMeasuredWidth() in onMeasure() 112 int maxWidth = ellipsizeView.getMeasuredWidth() - (totalLength - parentWidth); in onMeasure()
|
/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 | 318 view.getMeasuredWidth(), in onMeasure() 335 final int cellWidth = getMeasuredWidth() / GRID_WIDTH; in onLayout() 347 tileLeft + view.getMeasuredWidth(), in onLayout() 362 tileLeft + mPlusTextView.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/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | BummerView.java | 47 final float framew = parent.getMeasuredWidth(); 49 final float textw = getMeasuredWidth();
|
/packages/experimental/Bummer/src/com/android/dreams/bummer/ |
D | BummerView.java | 47 final float framew = parent.getMeasuredWidth(); 49 final float textw = getMeasuredWidth();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AttachmentTileGrid.java | 192 final int width = getMeasuredWidth(); in onLayoutForTiles() 193 int childLeft = (isRtl) ? width - getChildAt(0).getMeasuredWidth() : 0; in onLayoutForTiles() 201 final int childWidth = child.getMeasuredWidth(); in onLayoutForTiles()
|
D | TwoPaneLayout.java | 281 final int width = getMeasuredWidth(); in onLayout() 311 if (parentWidth != getMeasuredWidth()) { in setupPaneWidths() 622 return computeConversationListWidth(getMeasuredWidth()); 634 return computeConversationWidth(getMeasuredWidth()); 707 final int width = getMeasuredWidth();
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactListItemView.java | 459 mCheckBoxWidth = mCheckBox.getMeasuredWidth(); in onMeasure() 553 statusWidth = (effectiveWidth - mPresenceIcon.getMeasuredWidth() in onMeasure() 721 workProfileIconWidth = mWorkProfileIcon.getMeasuredWidth(); in onLayout() 765 int iconWidth = mPresenceIcon.getMeasuredWidth(); in onLayout() 783 int iconWidth = mPresenceIcon.getMeasuredWidth(); in onLayout() 821 dataLeftBound += mLabelView.getMeasuredWidth() + mGapBetweenLabelAndData; in onLayout() 823 dataLeftBound = leftBound + mLabelView.getMeasuredWidth(); in onLayout() 824 mLabelView.layout(rightBound - mLabelView.getMeasuredWidth(), in onLayout() 828 rightBound -= (mLabelView.getMeasuredWidth() + mGapBetweenLabelAndData); in onLayout() 839 mDataView.layout(rightBound - mDataView.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()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ConversationMessageView.java | 105 Math.max(mContactIconView.getMeasuredWidth(), mContactIconView.getMeasuredHeight()), in onMeasure() 115 final int maxLeftoverSpace = horizontalSpace - mContactIconView.getMeasuredWidth() * 2 in onMeasure() 132 final int iconWidth = mContactIconView.getMeasuredWidth(); in onLayout()
|
/packages/apps/Settings/src/com/android/settings/ |
D | CreateShortcut.java | 75 Bitmap bitmap = Bitmap.createBitmap(view.getMeasuredWidth(), view.getMeasuredHeight(), in createIcon() 78 view.layout(0, 0, view.getMeasuredWidth(), view.getMeasuredHeight()); in createIcon()
|