HomeSort by relevance Sort by last modified time
    Searched defs:childHeight (Results 1 - 25 of 89) 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/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/tests/java/android/support/percent/
PercentRelativeTest.java 80 final int childHeight = childToTest.getHeight();
85 0.05f * childWidth, childHeight);
101 final int childHeight = childToTest.getHeight();
104 0.5f * mContainerHeight, childHeight);
106 0.05f * childHeight, childWidth);
122 final int childHeight = childToTest.getHeight();
127 0.05f * childWidth, childHeight);
143 final int childHeight = childToTest.getHeight();
146 0.4f * mContainerHeight, childHeight);
148 0.05f * childHeight, childWidth)
    [all...]
PercentFrameTest.java 57 int childHeight = childToTest.getHeight();
62 0.5f * mContainerHeight, childHeight);
70 int childHeight = childToTest.getHeight();
75 childWidth / 1.2f, childHeight);
83 int childHeight = childToTest.getHeight();
86 0.5f * mContainerHeight, childHeight);
88 1.5f * childHeight, childWidth);
134 int childHeight = childToTest.getHeight();
141 0.5f * mContainerHeight, childHeight);
153 int childHeight = childToTest.getHeight()
    [all...]
PercentRelativeRtlTest.java 152 final int childHeight = childToTest.getHeight();
157 0.05f * childWidth, childHeight);
177 final int childHeight = childToTest.getHeight();
180 0.5f * mContainerHeight, childHeight);
182 0.05f * childHeight, childWidth);
208 final int childHeight = childToTest.getHeight();
213 0.05f * childWidth, childHeight);
238 final int childHeight = childToTest.getHeight();
241 0.4f * mContainerHeight, childHeight);
243 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/Calculator/src/com/android/calculator2/
CalculatorPadLayout.java 87 final int childHeight = childBottom - childTop;
89 childHeight != childView.getMeasuredHeight()) {
92 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
ProportionalLayout.java 100 final int childHeight = child.getMeasuredHeight();
105 width = Math.round(childHeight * mRatio);
106 height = childHeight;
  /frameworks/base/core/java/com/android/internal/widget/
MessagingLinearLayout.java 134 final int childHeight = child.getMeasuredHeight();
135 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin +
212 final int childHeight = child.getMeasuredHeight();
226 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
228 childTop += childHeight + lp.bottomMargin;
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);
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 234 final int childHeight = getDrawable().getIntrinsicHeight();
235 if (childHeight < 0) {
238 return childHeight + mState.mInsetTop + mState.mInsetBottom;
  /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/support/v7/appcompat/src/android/support/v7/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);
  /frameworks/base/core/java/android/view/
NotificationHeaderView.java 185 int childHeight = child.getMeasuredHeight();
189 int top = (int) (getPaddingTop() + (ownHeight - childHeight) / 2.0f);
190 int bottom = top + childHeight;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
ExpandableView.java 80 int childHeight = child.getMeasuredHeight();
81 maxChildHeight = Math.max(maxChildHeight, childHeight);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
StackScrollAlgorithm.java 336 int childHeight = getMaxAllowedChildHeight(child);
340 updateFirstChildHeight(child, childViewState, childHeight, ambientState);
344 float nextYPosition = currentYPosition + childHeight +
359 childViewState, childHeight);
365 clampPositionToBottomStackStart(childViewState, childViewState.height, childHeight,
375 currentYPosition = childViewState.yTranslation + childHeight + paddingAfterChild;
463 * @param childHeight the height of this child
467 int childHeight, int minHeight, AmbientState ambientState) {
471 int childStart = bottomStackStart - childHeight;
492 StackViewState childViewState, int childHeight) {
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
LinearLayoutTest.java 424 final int childHeight = 200;
431 ViewGroup.LayoutParams childParams = new ViewGroup.LayoutParams(childWidth, childHeight);
435 childParams = new ViewGroup.LayoutParams(childWidth, childHeight);
446 checkBounds(viewGroup, child1, countDownLatch1, 0, 0, childWidth, childHeight);
448 childWidth, 0, childWidth, childHeight);
457 checkBounds(viewGroup, child2, countDownLatch2, 0, 0, childWidth, childHeight);
466 checkBounds(viewGroup, child1, countDownLatch3, 0, 0, childWidth, childHeight);
468 childWidth, 0, childWidth, childHeight);
  /packages/apps/Settings/src/com/android/settings/widget/
MatchParentShrinkingLinearLayout.java 716 final int childHeight = child.getMeasuredHeight();
718 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
722 largestChildHeight = Math.max(childHeight, largestChildHeight);
853 int childHeight = child.getMeasuredHeight() + share;
854 if (childHeight < 0) {
855 childHeight = 0;
859 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
    [all...]
  /frameworks/base/core/java/android/widget/
AdapterViewAnimator.java 683 final int childHeight = getMeasuredHeight() - mPaddingTop - mPaddingBottom;
688 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
    [all...]
Gallery.java 945 int childHeight = duringLayout ? child.getMeasuredHeight() : child.getHeight();
955 - mSpinnerPadding.top - childHeight;
959 childTop = myHeight - mSpinnerPadding.bottom - childHeight;
    [all...]
LinearLayout.java 761 final int childHeight = child.getMeasuredHeight();
767 consumedExcessSpace += childHeight;
771 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
775 largestChildHeight = Math.max(childHeight, largestChildHeight);
    [all...]

Completed in 454 milliseconds

1 2 3 4