/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/Camera/src/com/android/camera/ui/ |
D | RotateLayout.java | 81 final int w = getMeasuredWidth(); in dispatchTouchEvent() 109 int w = getMeasuredWidth(); in dispatchDraw() 139 w = mChild.getMeasuredWidth(); in onMeasure() 146 h = mChild.getMeasuredWidth(); in onMeasure()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedView.java | 534 if (DEBUG) Log.d(TAG, "\tmeasure-child" + i + ": " + child.getMeasuredWidth() + ", " in onMeasure() 550 if (DEBUG) Log.d(TAG, "getRelativeChildOffset(): " + getMeasuredWidth() + ", " in onMeasure() 561 getChildAt(0).getMeasuredWidth()); in onMeasure() 604 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY); in setLayoutScale() 648 childLeft + child.getMeasuredWidth(), childTop + childHeight); in onLayout() 739 (getMeasuredWidth() - padding - getChildWidth(index)) / 2; in getRelativeChildOffset() 750 final int measuredWidth = child.getMeasuredWidth(); in getScaledMeasuredWidth() 760 final int screenWidth = getMeasuredWidth(); in getVisiblePages() 791 int halfScreenSize = getMeasuredWidth() / 2; in dispatchDraw() 940 return (x > (getMeasuredWidth() - getRelativeChildOffset(mCurrentPage) + mPageSpacing)); in hitsNextPage() [all …]
|
D | DragLayer.java | 329 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight()); in getViewRectRelativeToSelf() 460 coord[0] = lp.x + (int) (child.getMeasuredWidth() * (1 - childScale) / 2); in animateViewIntoPosition() 479 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; in animateViewIntoPosition() 485 toX -= (dragView.getMeasuredWidth() - Math.round(scale * child.getMeasuredWidth())) / 2; in animateViewIntoPosition() 488 toX -= (Math.round(scale * (dragView.getMeasuredWidth() in animateViewIntoPosition() 489 - child.getMeasuredWidth()))) / 2; in animateViewIntoPosition() 512 view.getMeasuredWidth(), fromY + view.getMeasuredHeight()); in animateViewIntoPosition() 513 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight()); in animateViewIntoPosition() 573 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 | 199 Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(), in animateToTrashAndCompleteDrop() 259 final Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(), in createFlingToTrashAnimatorListener() 292 float x1o = ((1f - scale) * dragView.getMeasuredWidth()) / 2f; in createFlingToTrashAnimatorListener() 341 float xOffset = ((scale - 1f) * dragView.getMeasuredWidth()) / 2f;
|
D | FolderIcon.java | 328 destView.getMeasuredWidth()); in performCreateAnimation() 342 finalView.getMeasuredWidth()); in performDestroyAnimation() 393 to.offset(center[0] - animateView.getMeasuredWidth() / 2, in onDrop() 456 computePreviewDrawingParams(d.getIntrinsicWidth(), getMeasuredWidth());
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | RotateLayout.java | 71 w = mChild.getMeasuredWidth(); in onMeasure() 78 h = mChild.getMeasuredWidth(); in onMeasure()
|
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 | ZoomControlBar.java | 76 mIconWidth = mZoomIn.getMeasuredWidth(); in onSizeChanged() 148 int sliderWidth = mZoomSlider.getMeasuredWidth(); in onLayout()
|
D | IndicatorControlWheelContainer.java | 104 int shutterButtonWidth = mShutterButton.getMeasuredWidth(); in onLayout() 124 int desiredWidth = mShutterButton.getMeasuredWidth() in onMeasure()
|
D | StackLayout.java | 41 int width = child.getMeasuredWidth(); in onMeasure()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | EllipsizeLayout.java | 54 totalLength += child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin; in onMeasure() 61 int maxWidth = ellipView.getMeasuredWidth() - (totalLength - parentWidth); in onMeasure()
|
/packages/experimental/Bummer/src/com/android/dreams/bummer/ |
D | BummerView.java | 47 final float framew = parent.getMeasuredWidth(); 49 final float textw = getMeasuredWidth();
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | BummerView.java | 47 final float framew = parent.getMeasuredWidth(); 49 final float textw = getMeasuredWidth();
|
/packages/apps/Browser/src/com/android/browser/ |
D | NavTabScroller.java | 141 int pad = (getMeasuredWidth() - v.getMeasuredWidth()) / 2 + 2; in calcPadding() 556 int total = v.getMeasuredWidth() + getMeasuredWidth(); in onMeasure() 560 setMeasuredDimension(getMeasuredWidth(), total); in onMeasure()
|
D | NavigationBarTablet.java | 122 int aw = mNavButtons.getMeasuredWidth(); in onConfigurationChanged() 272 int awidth = mNavButtons.getMeasuredWidth(); in hideNavButtons() 297 int awidth = mNavButtons.getMeasuredWidth(); in showNavButtons()
|
/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/widget/ |
D | ChartView.java | 88 final int slack = getMeasuredWidth() - mOptimalWidth; in onMeasure() 154 Gravity.apply(SWEEP_GRAVITY, sweep.getMeasuredWidth(), parentRect.height(), in layoutSweep()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListPinnedHeaderView.java | 121 mHeaderTextView.getMeasuredWidth() + mHeaderTextIndent + mPaddingLeft, in onLayout() 125 mCountTextView.layout(width - mPaddingRight - mCountTextView.getMeasuredWidth(), in onLayout()
|
D | ContactListItemView.java | 387 statusWidth = (effectiveWidth - mPresenceIcon.getMeasuredWidth() in onMeasure() 450 mCountView.layout(rightBound - mCountView.getMeasuredWidth(), in onLayout() 529 int iconWidth = mPresenceIcon.getMeasuredWidth(); in onLayout() 563 mLabelView.layout(rightBound - mLabelView.getMeasuredWidth(), in onLayout() 567 rightBound -= mLabelView.getMeasuredWidth(); in onLayout() 570 dataLeftBound = leftBound + mLabelView.getMeasuredWidth(); in onLayout()
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
D | CandidateView.java | 260 int mOldWidth = getMeasuredWidth(); in onMeasure() 267 if (mOldWidth != getMeasuredWidth() || mOldHeight != getMeasuredHeight()) { in onMeasure() 364 mContentWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in onSizeChanged() 412 mContentWidth = getMeasuredWidth() - mPaddingLeft - mPaddingRight; in calculatePage()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | FloatingChildLayout.java | 146 final int childWidth = child.getMeasuredWidth(); in onLayout() 179 child.layout(left, top, left + child.getMeasuredWidth(), top + child.getMeasuredHeight()); in layoutChild()
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | BookmarkExpandableView.java | 98 if (width != getMeasuredWidth()) { in onMeasure() 99 mAdapter.measureChildren(getMeasuredWidth()); in onMeasure() 112 mColumnWidth = v.getMeasuredWidth(); in setColumnWidthFromLayout()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | CommonControllerOverlay.java | 169 int padding = (int) (getMeasuredWidth() * ERROR_MESSAGE_RELATIVE_PADDING); in showErrorMessage() 290 int cw = view.getMeasuredWidth(); in layoutCenteredView()
|