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

1 2

  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
Widget.java 74 float parentWidth, parentHeight;
78 parentHeight = stage.getHeight();
81 parentHeight = parent.getHeight();
83 setSize(parentWidth, parentHeight);
WidgetGroup.java 97 float parentWidth, parentHeight;
101 parentHeight = stage.getHeight();
104 parentHeight = parent.getHeight();
106 if (getWidth() != parentWidth || getHeight() != parentHeight) {
108 setHeight(parentHeight);
Window.java 211 float parentHeight = stage.getHeight();
216 if (getY(Align.top) - camera.position.y > parentHeight / 2 / orthographicCamera.zoom)
217 setPosition(getX(Align.top), camera.position.y + parentHeight / 2 / orthographicCamera.zoom, Align.top);
218 if (getY(Align.bottom) - camera.position.y < -parentHeight / 2 / orthographicCamera.zoom)
219 setPosition(getX(Align.bottom), camera.position.y - parentHeight / 2 / orthographicCamera.zoom, Align.bottom);
222 float parentHeight = stage.getHeight();
226 if (getTop() > parentHeight) setY(parentHeight - getHeight());
  /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 350 * @param parentHeight Height of the animated object's parent
352 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);
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
RecyclerViewActivity.java 174 final int parentHeight = getHeight();
178 Math.max(getDecoratedBottom(bottomView) - parentHeight, 0);
249 final int parentHeight = getHeight();
258 getDecoratedTop(v) <= parentHeight)) {
AnimatedRecyclerView.java 556 final int parentHeight = getHeight();
559 final int hangingBottom = Math.max(bottomView.getBottom() - parentHeight, 0);
630 final int parentHeight = getHeight();
637 v.getBottom() >= 0 && v.getTop() <= parentHeight)) {
  /cts/tests/tests/view/src/android/view/animation/cts/
TranslateAnimationTest.java 151 final int parentHeight = parent.getHeight();
153 final int actualHeight = parentHeight;
160 translateAnimation.initialize(selfWidth, selfHeight, parentWidth, 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...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationSettingsIconRow.java 233 int parentHeight = mParent.getCollapsedHeight();
234 if (parentHeight < mVertSpaceForGear) {
235 mGearIcon.setTranslationY((parentHeight / 2) - (mGearIcon.getHeight() / 2));
  /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/stack/
NotificationChildrenContainer.java 428 int parentHeight = parentState.height;
455 if (updateChildStateForExpandedGroup(child, parentHeight, childState, yPosition)) {
525 * @param parentHeight the height of the parent.
531 int parentHeight, StackViewState childState, int yPosition) {
536 if (bottom >= parentHeight) {
538 newHeight = Math.max((parentHeight - top), 0);
    [all...]
  /packages/apps/PackageInstaller/src/android/support/wearable/view/
WearableListView.java     [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageShow.java 208 int parentHeight = MeasureSpec.getSize(heightMeasureSpec);
209 setMeasuredDimension(parentWidth, parentHeight);
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
ViewTest.java     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 

Completed in 1662 milliseconds

1 2