HomeSort by relevance Sort by last modified time
    Searched refs:parentHeight (Results 1 - 25 of 43) sorted by null

1 2

  /external/replicaisland/src/com/replica/replicaisland/
CollisionVolume.java 84 value = flip.parentHeight - maxY;
95 value = flip.parentHeight - minY;
112 public float parentHeight;
GameObjectCollisionSystem.java 111 sFlip.parentHeight = record.object.height;
124 sOtherFlip.parentHeight = other.object.height;
331 sCompareFlip.parentHeight = object1.object.height;
339 sCompareFlip.parentHeight = object2.object.height;
SphereCollisionVolume.java 168 position.y += flip.parentHeight - center.y;
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
FitCenterFrameLayout.java 62 final int parentHeight = parentBottom - parentTop;
85 parentUnpaddedHeight = parentHeight - childPaddingTop - childPaddingBottom;
102 parentTop + (parentHeight - scaledChildHeight) / 2,
104 parentTop + (parentHeight + scaledChildHeight) / 2);
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
Rotate3dAnimation.java 63 public void initialize(int width, int height, int parentWidth, int parentHeight) {
64 super.initialize(width, height, parentWidth, parentHeight);
  /frameworks/base/core/java/android/view/animation/
RotateAnimation.java 178 public void initialize(int width, int height, int parentWidth, int parentHeight) {
179 super.initialize(width, height, parentWidth, parentHeight);
181 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
TranslateAnimation.java 171 public void initialize(int width, int height, int parentWidth, int parentHeight) {
172 super.initialize(width, height, parentWidth, parentHeight);
175 mFromYDelta = resolveSize(mFromYType, mFromYValue, height, parentHeight);
176 mToYDelta = resolveSize(mToYType, mToYValue, height, parentHeight);
ScaleAnimation.java 278 public void initialize(int width, int height, int parentWidth, int parentHeight) {
279 super.initialize(width, height, parentWidth, parentHeight);
283 mFromY = resolveScale(mFromY, mFromYType, mFromYData, height, parentHeight);
284 mToY = resolveScale(mToY, mToYType, mToYData, height, parentHeight);
287 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
AnimationSet.java 424 public void initialize(int width, int height, int parentWidth, int parentHeight) {
425 super.initialize(width, height, parentWidth, parentHeight);
482 a.initialize(width, height, parentWidth, parentHeight);
Animation.java 351 * @param parentHeight Height of the animated object's parent
353 public void initialize(int width, int height, int parentWidth, int parentHeight) {
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
CenteredLinearLayout.java 40 int parentHeight = MeasureSpec.getSize(heightMeasureSpec);
  /cts/tests/tests/widget/src/android/widget/cts/
LinearLayoutTest.java 467 final int parentHeight = parent.getHeight();
469 int verticalOffset = (parentHeight - leftView.getHeight()) / 2;
475 verticalOffset = (parentHeight - centerView.getHeight()) / 2;
481 verticalOffset = (parentHeight - rightView.getHeight()) / 2;
514 final int parentHeight = parent.getHeight();
516 assertEquals(parentHeight - leftView.getHeight(), leftView.getTop());
517 assertEquals(parentHeight, leftView.getBottom());
521 assertEquals(parentHeight - centerView.getHeight(), centerView.getTop());
522 assertEquals(parentHeight, centerView.getBottom());
526 assertEquals(parentHeight - rightView.getHeight(), rightView.getTop())
    [all...]
PopupWindowTest.java     [all...]
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
RecyclerViewActivity.java 173 final int parentHeight = getHeight();
177 Math.max(getDecoratedBottom(bottomView) - parentHeight, 0);
248 final int parentHeight = getHeight();
257 getDecoratedTop(v) <= parentHeight)) {
AnimatedRecyclerView.java 554 final int parentHeight = getHeight();
557 final int hangingBottom = Math.max(bottomView.getBottom() - parentHeight, 0);
628 final int parentHeight = getHeight();
635 v.getBottom() >= 0 && v.getTop() <= parentHeight)) {
  /frameworks/base/core/java/com/android/internal/widget/
SlidingTab.java 350 final int parentHeight = b - t;
359 final int targetTop = (parentHeight - targetHeight) / 2;
361 final int top = (parentHeight - handleHeight) / 2;
362 final int bottom = (parentHeight + handleHeight) / 2;
380 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight;
381 final int bottom = (int) ((1.0f - THRESHOLD) * parentHeight) - handleHeight / 2;
384 text.layout(left, 0 - parentHeight, right, 0);
388 tab.layout(left, parentHeight - handleHeight, right, parentHeight);
389 text.layout(left, parentHeight, right, parentHeight + parentHeight)
    [all...]
  /cts/tests/tests/view/src/android/view/animation/cts/
TranslateAnimationTest.java 168 final int parentHeight = parent.getHeight();
170 final int actualHeight = parentHeight;
177 translateAnimation.initialize(selfWidth, selfHeight, parentWidth, parentHeight);
  /frameworks/support/wear/tests/src/android/support/wear/widget/
BoxInsetLayoutTest.java 159 int parentHeight = boxParent.getHeight();
198 .check(approximateTop(is(closeTo((parentHeight / 2 - child3.getHeight() / 2), 1))))
201 closeTo((parentHeight / 2 + child3.getHeight() / 2), 1))));
213 .check(approximateTop(is(closeTo((parentHeight / 2 - child3.getHeight() / 2), 1))))
216 closeTo((parentHeight / 2 + child4.getHeight() / 2), 1))));
  /frameworks/support/wear/src/android/support/wear/widget/drawer/
WearableDrawerLayout.java     [all...]
  /packages/apps/Contacts/src/com/android/contacts/widget/
InterpolatingLayout.java 206 int parentHeight = MeasureSpec.getSize(heightMeasureSpec);
247 parentHeight - params.topMargin - params.bottomMargin,
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationMenuRow.java 423 int parentHeight = mParent.getCollapsedHeight();
425 if (parentHeight < mVertSpaceForIcons) {
426 translationY = (parentHeight / 2) - (mHorizSpaceForIcon / 2);
  /frameworks/base/services/core/java/com/android/server/wm/
AppWindowAnimator.java 125 int parentHeight, boolean skipFirstFrame, int stackClip, int transit,
133 anim.initialize(width, height, parentWidth, parentHeight);
  /packages/apps/PackageInstaller/src/android/support/wearable/view/
WearableListView.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
NotificationChildrenContainer.java 634 * @param parentHeight the height of the parent.
640 int parentHeight, ExpandableViewState childState, int yPosition) {
645 if (bottom >= parentHeight) {
647 newHeight = Math.max((parentHeight - top), 0);
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageShow.java 208 int parentHeight = MeasureSpec.getSize(heightMeasureSpec);
209 setMeasuredDimension(parentWidth, parentHeight);
    [all...]

Completed in 1043 milliseconds

1 2