/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 | AppsCustomizePagedView.java | 389 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in onDataReady() 424 pos[0] += (getMeasuredWidth() - mWidgetSpacingLayout.getMeasuredWidth()) / 2 + in showAllAppsCling() 1015 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in setupPage() 1165 int widthSpec = MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.AT_MOST); in setupPage() 1393 translationX = maxScrollProgress * v.getMeasuredWidth(); in screenScrolled() 1396 translationX = minScrollProgress * v.getMeasuredWidth(); in screenScrolled() 1413 int pageWidth = v.getMeasuredWidth(); in screenScrolled()
|
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/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/Gallery2/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()
|
D | CameraControls.java | 186 int tw = lp.leftMargin + v.getMeasuredWidth() + lp.rightMargin; in center() 223 int tw = lp.leftMargin + v.getMeasuredWidth() + lp.rightMargin; in center() 235 int tw = lp.leftMargin + v.getMeasuredWidth() + lp.rightMargin; in toLeft() 275 int tw = lp.leftMargin + v.getMeasuredWidth() + lp.rightMargin; in toRight() 313 v.layout(r - v.getMeasuredWidth() - mr, t + mt, r - mr, t + mt + v.getMeasuredHeight()); in topRight()
|
/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/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactListPinnedHeaderView.java | 129 leftHeaderTextView = rightHeaderTextView - mHeaderTextView.getMeasuredWidth(); in onLayout() 132 rightCountTextView = mCountTextView.getMeasuredWidth() + leftCountTextView; in onLayout() 135 rightHeaderTextView = mHeaderTextView.getMeasuredWidth() + leftHeaderTextView; in onLayout() 139 leftCountTextView = rightCountTextView - mCountTextView.getMeasuredWidth(); in onLayout()
|
D | ContactListItemView.java | 425 statusWidth = (effectiveWidth - mPresenceIcon.getMeasuredWidth() in onMeasure() 492 mCountView.layout(rightBound - mCountView.getMeasuredWidth(), in onLayout() 575 int iconWidth = mPresenceIcon.getMeasuredWidth(); in onLayout() 593 int iconWidth = mPresenceIcon.getMeasuredWidth(); in onLayout() 628 mLabelView.layout(rightBound - mLabelView.getMeasuredWidth(), in onLayout() 632 rightBound -= mLabelView.getMeasuredWidth(); in onLayout() 635 dataLeftBound = leftBound + mLabelView.getMeasuredWidth(); in onLayout()
|
/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()
|
D | TabBar.java | 159 int w = getMeasuredWidth(); in onMeasure() 172 int sw = mTabs.getMeasuredWidth(); in onLayout() 177 mButtonWidth = mNewTab.getMeasuredWidth() - mAddTabOverlap; 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/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/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripView.java | 159 mDividerWidth = divider.getMeasuredWidth(); in SuggestionStripViewParams() 347 x += divider.getMeasuredWidth(); in layout() 373 x += word.getMeasuredWidth(); in layout() 383 final int infoWidth = info.getMeasuredWidth(); in layout()
|
/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();
|