Home
last modified time | relevance | path

Searched refs:getMeasuredWidth (Results 1 – 25 of 66) sorted by relevance

123

/packages/apps/Gallery/src/com/android/camera/
DEvenlySpacedLayout.java58 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/
DRotateLayout.java81 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/
DPagedView.java534 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 …]
DDragLayer.java329 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()
DCling.java125 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()
DDeleteDropTarget.java199 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;
DFolderIcon.java328 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/
DRotateLayout.java71 w = mChild.getMeasuredWidth(); in onMeasure()
78 h = mChild.getMeasuredWidth(); in onMeasure()
DSecondLevelIndicatorControlBar.java85 int iconWidth = firstIndicatorButton.getMeasuredWidth(); in getTouchViewIndex()
178 int iconWidth = mCloseIcon.getMeasuredWidth(); in onLayout()
191 mDivider.layout(offsetX, padding, (offsetX + mDivider.getMeasuredWidth()), in onLayout()
DZoomControlBar.java76 mIconWidth = mZoomIn.getMeasuredWidth(); in onSizeChanged()
148 int sliderWidth = mZoomSlider.getMeasuredWidth(); in onLayout()
DIndicatorControlWheelContainer.java104 int shutterButtonWidth = mShutterButton.getMeasuredWidth(); in onLayout()
124 int desiredWidth = mShutterButton.getMeasuredWidth() in onMeasure()
DStackLayout.java41 int width = child.getMeasuredWidth(); in onMeasure()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.java54 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/
DBummerView.java47 final float framew = parent.getMeasuredWidth();
49 final float textw = getMeasuredWidth();
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DBummerView.java47 final float framew = parent.getMeasuredWidth();
49 final float textw = getMeasuredWidth();
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java141 int pad = (getMeasuredWidth() - v.getMeasuredWidth()) / 2 + 2; in calcPadding()
556 int total = v.getMeasuredWidth() + getMeasuredWidth(); in onMeasure()
560 setMeasuredDimension(getMeasuredWidth(), total); in onMeasure()
DNavigationBarTablet.java122 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/
DInterpolatingLayout.java257 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/
DChartView.java88 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/
DContactListPinnedHeaderView.java121 mHeaderTextView.getMeasuredWidth() + mHeaderTextIndent + mPaddingLeft, in onLayout()
125 mCountTextView.layout(width - mPaddingRight - mCountTextView.getMeasuredWidth(), in onLayout()
DContactListItemView.java387 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/
DCandidateView.java260 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/
DFloatingChildLayout.java146 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/
DBookmarkExpandableView.java98 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/
DCommonControllerOverlay.java169 int padding = (int) (getMeasuredWidth() * ERROR_MESSAGE_RELATIVE_PADDING); in showErrorMessage()
290 int cw = view.getMeasuredWidth(); in layoutCenteredView()

123