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

1 2

  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
CenteredLinearLayout.java 39 int parentWidth = MeasureSpec.getSize(widthMeasureSpec);
42 float value = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, parentWidth,
44 if (mMaxWidth > 0 && parentWidth > mMaxWidth) {
  /packages/apps/DeskClock/src/com/android/deskclock/widget/
EllipsizeLayout.java 71 final int parentWidth = MeasureSpec.getSize(widthMeasureSpec);
111 if (!outOfSpec && totalLength > parentWidth) {
112 int maxWidth = ellipsizeView.getMeasuredWidth() - (totalLength - parentWidth);
  /external/replicaisland/src/com/replica/replicaisland/
CollisionVolume.java 62 value = flip.parentWidth - maxX;
73 value = flip.parentWidth - minX;
111 public float parentWidth;
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
FitCenterFrameLayout.java 61 final int parentWidth = parentRight - parentLeft;
84 parentUnpaddedWidth = parentWidth - childPaddingLeft - childPaddingRight;
92 parentLeft + (parentWidth - scaledChildWidth) / 2,
94 parentRight - (parentWidth - scaledChildWidth) / 2,
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
Widget.java 74 float parentWidth, parentHeight;
77 parentWidth = stage.getWidth();
80 parentWidth = parent.getWidth();
83 setSize(parentWidth, parentHeight);
WidgetGroup.java 97 float parentWidth, parentHeight;
100 parentWidth = stage.getWidth();
103 parentWidth = parent.getWidth();
106 if (getWidth() != parentWidth || getHeight() != parentHeight) {
107 setWidth(parentWidth);
Window.java 210 float parentWidth = stage.getWidth();
212 if (getX(Align.right) - camera.position.x > parentWidth / 2 / orthographicCamera.zoom)
213 setPosition(camera.position.x + parentWidth / 2 / orthographicCamera.zoom, getY(Align.right), Align.right);
214 if (getX(Align.left) - camera.position.x < -parentWidth / 2 / orthographicCamera.zoom)
215 setPosition(camera.position.x - parentWidth / 2 / orthographicCamera.zoom, getY(Align.left), Align.left);
221 float parentWidth = stage.getWidth();
224 if (getRight() > parentWidth) setX(parentWidth - getWidth());
  /cts/tests/tests/view/src/android/view/animation/cts/
TranslateAnimationTest.java 150 final int parentWidth = parent.getWidth();
160 translateAnimation.initialize(selfWidth, selfHeight, parentWidth, parentHeight);
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
Illustration.java 138 int parentWidth = MeasureSpec.getSize(widthMeasureSpec);
139 int illustrationHeight = (int) (parentWidth / mAspectRatio);
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
RecyclerViewActivity.java 248 final int parentWidth = getWidth();
256 getDecoratedLeft(v) <= parentWidth &&
AnimatedRecyclerView.java 629 final int parentWidth = getWidth();
636 if (v.hasFocus() || (v.getRight() >= 0 && v.getLeft() <= parentWidth &&
  /packages/apps/Contacts/src/com/android/contacts/widget/
InterpolatingLayout.java 205 int parentWidth = MeasureSpec.getSize(widthMeasureSpec);
228 int childWidth = params.resolveWidth(parentWidth);
261 width += params.resolveLeftMargin(parentWidth) + params.resolveRightMargin(parentWidth);
265 int remainder = parentWidth - width;
  /cts/tests/tests/widget/src/android/widget/cts/
LinearLayoutTest.java 174 int parentWidth = parent.getWidth();
175 assertEquals(Math.ceil(parentWidth * 0.2), weight02.getWidth(), 1.0);
176 assertEquals(Math.ceil(parentWidth * 0.5), weight05.getWidth(), 1.0);
177 assertEquals(Math.ceil(parentWidth * 0.3), weight03.getWidth(), 1.0);
  /frameworks/base/core/java/com/android/internal/widget/
SlidingTab.java 349 final int parentWidth = r - l;
352 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2;
353 final int rightTarget = (int) ((1.0f - THRESHOLD) * parentWidth) - handleWidth / 2;
354 final int left = (parentWidth - handleWidth) / 2;
365 text.layout(0 - parentWidth, top, 0, bottom);
370 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom);
371 text.layout(parentWidth, top, parentWidth + parentWidth, bottom)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageShow.java 207 int parentWidth = MeasureSpec.getSize(widthMeasureSpec);
209 setMeasuredDimension(parentWidth, parentHeight);
    [all...]
  /packages/apps/PackageInstaller/src/android/support/wearable/view/
WearableListView.java     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.ui.forms_3.5.2.r36_v20100702.jar 
  /external/libgdx/backends/gdx-backend-android/libs/
android-4.4.jar 
  /external/robolectric/v1/lib/main/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 

Completed in 1134 milliseconds

1 2