Home
last modified time | relevance | path

Searched refs:getMeasuredHeight (Results 1 – 25 of 111) sorted by relevance

12345

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java1165 mScrapHeight = scrapView.getMeasuredHeight();
1262 child.getMeasuredHeight());
1283 top + child.getMeasuredHeight());
1287 top + child.getMeasuredHeight());
1291 top + child.getMeasuredHeight());
1294 top += child.getMeasuredHeight();
1299 child.layout(left, top + maxSize / 2 - child.getMeasuredHeight() / 2,
1301 top + maxSize / 2 + child.getMeasuredHeight() / 2);
1305 top + child.getMeasuredHeight());
1308 child.layout(left, top + maxSize - child.getMeasuredHeight(),
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DDragLayer.java392 (int) (mTmpXY[1] + scale * descendant.getMeasuredHeight())); in getDescendantRectRelativeToSelf()
443 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight()); in getViewRectRelativeToSelf()
601 coord[1] = lp.y + (int) (child.getMeasuredHeight() * (1 - childScale) / 2); in animateViewIntoPosition()
622 toY -= dragView.getMeasuredHeight() * (1 - toScale) / 2; in animateViewIntoPosition()
632 toY -= (1 - scale) * dragView.getMeasuredHeight() / 2; in animateViewIntoPosition()
636 toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 2; in animateViewIntoPosition()
661 view.getMeasuredWidth(), fromY + view.getMeasuredHeight()); in animateViewIntoPosition()
662 Rect to = new Rect(toX, toY, toX + view.getMeasuredWidth(), toY + view.getMeasuredHeight()); in animateViewIntoPosition()
722 final int height = view.getMeasuredHeight(); in animateView()
DShortcutAndWidgetContainer.java132 return Math.min(getMeasuredHeight(), mIsHotseatLayout ? in getCellContentWidth()
138 return Math.min(getMeasuredHeight(), mIsHotseatLayout ? in getCellContentHeight()
164 lp.height = getMeasuredHeight(); in measureChild()
DBaseContainerView.java126 getMeasuredHeight() - padding.bottom); in updateBackgroundAndPaddings()
143 searchBarBounds.bottom <= getMeasuredHeight(); in isValidSearchBarBounds()
/packages/apps/Gallery/src/com/android/camera/
DEvenlySpacedLayout.java59 height = Math.max(height, child.getMeasuredHeight()); in onMeasure()
61 height += child.getMeasuredHeight(); in onMeasure()
89 int h = child.getMeasuredHeight(); in layoutHorizontal()
104 usedHeight += child.getMeasuredHeight(); in layoutVertical()
116 int h = child.getMeasuredHeight(); in layoutVertical()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java716 final int childHeight = child.getMeasuredHeight(); in measureVertical()
853 int childHeight = child.getMeasuredHeight() + share; in measureVertical()
876 int childHeight = child.getMeasuredHeight() + delta; in measureVertical()
880 delta -= childHeight - child.getMeasuredHeight(); in measureVertical()
904 mTotalLength = Math.max(totalLength, totalLength + child.getMeasuredHeight() + in measureVertical()
971 lp.height = child.getMeasuredHeight(); in forceUniformWidth()
1002 int uniformMeasureSpec = MeasureSpec.makeMeasureSpec(getMeasuredHeight(), in forceUniformHeight()
1151 final int childHeight = child.getMeasuredHeight(); in layoutVertical()
1273 final int childHeight = child.getMeasuredHeight(); in layoutHorizontal()
1315 int descent = child.getMeasuredHeight() - childBaseline; in layoutHorizontal()
/packages/apps/Launcher2/src/com/android/launcher2/
DDragLayer.java355 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight()); in getViewRectRelativeToSelf()
487 coord[1] = lp.y + (int) (child.getMeasuredHeight() * (1 - childScale) / 2); in animateViewIntoPosition()
504 toY -= dragView.getMeasuredHeight() * (1 - scale) / 2; in animateViewIntoPosition()
509 toY -= (1 - scale) * dragView.getMeasuredHeight() / 2; in animateViewIntoPosition()
513 toY -= (Math.round(scale * (dragView.getHeight() - child.getMeasuredHeight()))) / 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()
600 final int height = view.getMeasuredHeight(); 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()
201 Bitmap b = Bitmap.createBitmap(getMeasuredWidth(), getMeasuredHeight(), in dispatchDraw()
225 mBackground.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in dispatchDraw()
DDeleteDropTarget.java208 Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(), in animateToTrashAndCompleteDrop()
268 final Rect to = getIconRect(d.dragView.getMeasuredWidth(), d.dragView.getMeasuredHeight(), in createFlingToTrashAnimatorListener()
302 float y1o = ((1f - scale) * dragView.getMeasuredHeight()) / 2f; in createFlingToTrashAnimatorListener()
351 float yOffset = ((scale - 1f) * dragView.getMeasuredHeight()) / 2f;
DPagedView.java551 maxChildHeight = Math.max(maxChildHeight, child.getMeasuredHeight()); in onMeasure()
553 + child.getMeasuredHeight()); in onMeasure()
624 int heightSpec = MeasureSpec.makeMeasureSpec(getMeasuredHeight(), MeasureSpec.EXACTLY); in setLayoutScale()
663 final int childHeight = child.getMeasuredHeight(); in onLayout()
666 childTop += ((getMeasuredHeight() - verticalPadding) - childHeight) / 2; in onLayout()
1756 MeasureSpec.makeMeasureSpec(getMeasuredHeight(), MeasureSpec.EXACTLY)); in invalidatePageData()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactListItemView.java357 mCheckBoxHeight = mCheckBox.getMeasuredHeight(); in onMeasure()
370 mNameTextViewHeight = mNameTextView.getMeasuredHeight(); in onMeasure()
377 mPhoneticNameTextViewHeight = mPhoneticNameTextView.getMeasuredHeight(); in onMeasure()
407 mDataViewHeight = mDataView.getMeasuredHeight(); in onMeasure()
417 mLabelViewHeight = mLabelView.getMeasuredHeight(); in onMeasure()
425 mSnippetTextViewHeight = mSnippetView.getMeasuredHeight(); in onMeasure()
433 mStatusTextViewHeight = mPresenceIcon.getMeasuredHeight(); in onMeasure()
448 Math.max(mStatusTextViewHeight, mStatusView.getMeasuredHeight()); in onMeasure()
488 int headerHeight = mHeaderTextView.getMeasuredHeight(); in onLayout()
/packages/apps/Camera2/src/com/android/camera/widget/
DSettingsCling.java67 if (referenceTop < getMeasuredHeight()) { in updatePosition()
69 setTranslationY(referenceTop + referenceView.getMeasuredHeight()); in updatePosition()
81 setTranslationY(referenceTop - getMeasuredHeight()); in updatePosition()
83 float triangleStartY = getMeasuredHeight(); in updatePosition()
/packages/apps/Camera/src/com/android/camera/ui/
DRotateLayout.java82 final int h = getMeasuredHeight(); in dispatchTouchEvent()
110 int h = getMeasuredHeight(); in dispatchDraw()
140 h = mChild.getMeasuredHeight(); in onMeasure()
145 w = mChild.getMeasuredHeight(); in onMeasure()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java147 tabStripHeight = mTabStrip.getMeasuredHeight(); in onMeasure()
150 tabStripHeight = Math.min(mTabStrip.getMeasuredHeight(), in onMeasure()
173 final int viewPagerHeight = mViewPager.getMeasuredHeight(); in onLayout()
177 mTabStrip.layout(0, y, width, y + mTabStrip.getMeasuredHeight()); in onLayout()
314 return mDefaultViewPagerHeight + mTabStrip.getMeasuredHeight(); in measureHeight()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationContainer.java631 return overlayView.getMeasuredHeight(); in measureOverlay()
722 final int h = nonScrollingChild.getMeasuredHeight(); in onLayout()
804 overlayView.getHeight(), overlayView.getMeasuredHeight()); in positionOverlay()
808 overlayView.getMeasuredHeight()); in positionOverlay()
809 final int childBottom = overlayTopY + overlayView.getMeasuredHeight(); in positionOverlay()
1002 height, getMeasuredHeight()); in removeViewAtAdapterIndex()
/packages/apps/Browser/src/com/android/browser/
DNavTabScroller.java144 int pad = (getMeasuredHeight() - v.getMeasuredHeight()) / 2 + 2; in calcPadding()
557 setMeasuredDimension(total, getMeasuredHeight()); in onMeasure()
559 int total = v.getMeasuredHeight() + getMeasuredHeight(); in onMeasure()
/packages/apps/Messaging/src/com/android/messaging/ui/
DImeDetectFrameLayout.java33 final int measuredHeight = getMeasuredHeight(); in onMeasure()
39 getMeasuredHeight()); in onMeasure()
42 if (measuredHeight != getMeasuredHeight() && getContext() instanceof ImeUtil.ImeStateHost) { in onMeasure()
DMultiAttachmentLayout.java319 view.getMeasuredHeight()); in onMeasure()
336 final int cellHeight = getMeasuredHeight() / GRID_HEIGHT; in onLayout()
348 tileTop + view.getMeasuredHeight()); in onLayout()
363 tileTop + mPlusTextView.getMeasuredHeight()); in onLayout()
DLineWrapLayout.java72 int childMeasuredHeight = currChild.getMeasuredHeight() + layoutParams.topMargin + in onMeasure()
117 int childHeight = currChild.getMeasuredHeight(); in onLayout()
146 int childHeight = currChild.getMeasuredHeight(); in onLayout()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMiniDrawerView.java193 final int availableHeight = getMeasuredHeight() - getPaddingBottom() - getPaddingTop(); in onLayout()
203 childHeight += params.topMargin + params.bottomMargin + child.getMeasuredHeight(); in onLayout()
232 childToHide.getMeasuredHeight(); in onLayout()
/packages/apps/Contacts/src/com/android/contacts/widget/
DInterpolatingLayout.java258 height = Math.max(child.getMeasuredHeight(), height); in onMeasure()
271 height = Math.max(fillChild.getMeasuredHeight(), height); in onMeasure()
311 Gravity.apply(gravity, child.getMeasuredWidth(), child.getMeasuredHeight(), in onLayout()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateLayout.java72 h = mChild.getMeasuredHeight(); in onMeasure()
77 w = mChild.getMeasuredHeight(); in onMeasure()
/packages/apps/Camera2/src/com/android/camera/ui/
DRotateLayout.java77 h = mChild.getMeasuredHeight(); in onMeasure()
82 w = mChild.getMeasuredHeight(); in onMeasure()
/packages/experimental/Bummer/src/com/android/dreams/bummer/
DBummerView.java48 final float frameh = parent.getMeasuredHeight();
50 final float texth = getMeasuredHeight();
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DBummerView.java48 final float frameh = parent.getMeasuredHeight();
50 final float texth = getMeasuredHeight();

12345