HomeSort by relevance Sort by last modified time
    Searched defs:childHeight (Results 1 - 25 of 83) sorted by null

1 2 3 4

  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
LinearLayoutEditTextsTest.java 52 final int childHeight = mChild.getHeight();
55 assertEquals(containerHeight, childHeight);
  /frameworks/base/services/autofill/java/com/android/server/autofill/ui/
CustomScrollView.java 81 final int childHeight = child.getMeasuredHeight();
85 mHeight = Math.min(childHeight, maxHeight);
88 + ", childHeight=" + childHeight + ", w=" + mWidth + ", h=" + mHeight);
  /frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
FlowLayout.java 101 final int childHeight = child.getMeasuredHeight();
106 child.layout(x, y, x + childWidth, y + childHeight);
  /frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/
PercentRelativeTest.java 81 final int childHeight = childToTest.getHeight();
86 0.05f * childWidth, childHeight);
102 final int childHeight = childToTest.getHeight();
105 0.5f * mContainerHeight, childHeight);
107 0.05f * childHeight, childWidth);
123 final int childHeight = childToTest.getHeight();
128 0.05f * childWidth, childHeight);
144 final int childHeight = childToTest.getHeight();
147 0.4f * mContainerHeight, childHeight);
149 0.05f * childHeight, childWidth)
    [all...]
PercentFrameTest.java 54 int childHeight = childToTest.getHeight();
59 0.5f * mContainerHeight, childHeight);
67 int childHeight = childToTest.getHeight();
72 childWidth / 1.2f, childHeight);
80 int childHeight = childToTest.getHeight();
83 0.5f * mContainerHeight, childHeight);
85 1.5f * childHeight, childWidth);
131 int childHeight = childToTest.getHeight();
138 0.5f * mContainerHeight, childHeight);
150 int childHeight = childToTest.getHeight()
    [all...]
PercentRelativeRtlTest.java 153 final int childHeight = childToTest.getHeight();
158 0.05f * childWidth, childHeight);
181 final int childHeight = childToTest.getHeight();
184 0.5f * mContainerHeight, childHeight);
186 0.05f * childHeight, childWidth);
215 final int childHeight = childToTest.getHeight();
220 0.05f * childWidth, childHeight);
248 final int childHeight = childToTest.getHeight();
251 0.4f * mContainerHeight, childHeight);
253 0.05f * childHeight, childWidth)
    [all...]
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
PercentFrameLayout.java 87 final int childHeight = child.getMeasuredHeight();
90 final int childTop = subTop + (subHeight - childHeight) / 2;
91 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
  /packages/apps/Contacts/src/com/android/contacts/widget/
ProportionalLayout.java 100 final int childHeight = child.getMeasuredHeight();
105 width = Math.round(childHeight * mRatio);
106 height = childHeight;
  /packages/apps/Messaging/src/com/android/messaging/ui/
LineWrapLayout.java 117 int childHeight = currChild.getMeasuredHeight();
128 currLineHeight = Math.max(currLineHeight, childHeight + layoutParams.topMargin +
146 int childHeight = currChild.getMeasuredHeight();
165 startPositionY = y + lineHeight - childHeight - layoutParams.bottomMargin;
169 startPositionY = y + (lineHeight - childHeight) / 2;
177 width - startPositionX, startPositionY + childHeight);
180 startPositionY + childHeight);
182 currLineHeight = Math.max(currLineHeight, childHeight + layoutParams.topMargin +
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AttachmentTileGrid.java 202 final int childHeight = child.getMeasuredHeight();
209 childTop += childHeight + mTilePadding;
215 childLeft + childWidth, childTop + childHeight);
MiniDrawerView.java 195 int childHeight = 0;
203 childHeight += params.topMargin + params.bottomMargin + child.getMeasuredHeight();
206 if (childHeight <= availableHeight) {
213 if (childHeight <= availableHeight) {
215 measureSpacer(availableHeight - childHeight);
231 childHeight -= childToHideParams.topMargin + childToHideParams.bottomMargin +
235 if (childHeight <= availableHeight) {
237 measureSpacer(availableHeight - childHeight);
  /development/samples/Home/src/com/example/android/home/
ApplicationsStackLayout.java 199 int childHeight = mButton.getMeasuredHeight();
201 childTop -= childHeight + mMarginBottom;
202 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
222 int childHeight = mButton.getMeasuredHeight();
225 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
245 int childHeight;
260 childHeight = view.getMeasuredHeight();
263 childTop -= childHeight + mMarginBottom;
266 childTop += childHeight + mMarginBottom;
280 view.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
AbsActionBarView.java 320 int childHeight = child.getMeasuredHeight();
321 int childTop = y + (contentHeight - childHeight) / 2;
324 child.layout(x - childWidth, childTop, x, childTop + childHeight);
326 child.layout(x, childTop, x + childWidth, childTop + childHeight);
AlertDialogLayout.java 314 final int childHeight = child.getMeasuredHeight();
349 setChildFrame(child, childLeft, childTop, childWidth, childHeight);
350 childTop += childHeight + lp.bottomMargin;
MessagingLinearLayout.java 111 final int childHeight = child.getMeasuredHeight();
112 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin +
168 final int childHeight = child.getMeasuredHeight();
187 lp.lastVisibleHeight = childHeight;
195 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
197 childTop += childHeight + lp.bottomMargin;
NotificationActionListLayout.java 242 final int childHeight = child.getMeasuredHeight();
246 childTop = paddingTop + ((innerHeight - childHeight) / 2)
250 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
  /frameworks/base/graphics/java/android/graphics/drawable/
InsetDrawable.java 295 final int childHeight = getDrawable().getIntrinsicHeight();
297 if (childHeight < 0 || fraction >= 1) {
300 return (int) (childHeight / (1 - fraction)) + mState.mInsetTop.mDimension
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
AbsActionBarView.java 261 int childHeight = child.getMeasuredHeight();
262 int childTop = y + (contentHeight - childHeight) / 2;
265 child.layout(x - childWidth, childTop, x, childTop + childHeight);
267 child.layout(x, childTop, x + childWidth, childTop + childHeight);
AlertDialogLayout.java 306 final int childHeight = child.getMeasuredHeight();
341 setChildFrame(child, childLeft, childTop, childWidth, childHeight);
342 childTop += childHeight + lp.bottomMargin;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
StackScrollAlgorithm.java 389 int childHeight = getMaxAllowedChildHeight(child);
407 ambientState.getInnerHeight() - childHeight);
409 childViewState.yTranslation = ambientState.getInnerHeight() - childHeight
415 currentYPosition = childViewState.yTranslation + childHeight + paddingAfterChild;
  /frameworks/base/core/java/android/view/
NotificationHeaderView.java 192 int childHeight = child.getMeasuredHeight();
196 int top = (int) (getPaddingTop() + (ownHeight - childHeight) / 2.0f);
197 int bottom = top + childHeight;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
ExpandableView.java 88 int childHeight = child.getMeasuredHeight();
89 maxChildHeight = Math.max(maxChildHeight, childHeight);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
SmartReplyView.java 304 final int childHeight = child.getMeasuredHeight();
306 maxChildHeight = Math.max(maxChildHeight, childHeight);
551 final int childHeight = child.getMeasuredHeight();
553 child.layout(childLeft, 0, childLeft + childWidth, childHeight);
  /frameworks/support/slices/view/src/main/java/androidx/slice/widget/
SliceView.java 363 int childHeight = height + getPaddingTop() + getPaddingBottom();
365 int childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY);
  /frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
PagerTitleStrip.java 290 final int childHeight = getHeight() - getPaddingTop() - getPaddingBottom();
291 final int maxHeight = Math.max(0, childHeight);

Completed in 412 milliseconds

1 2 3 4