/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/ |
bouncing_balls.js | 12 var gravity = 0.5; //screen heights per second^2 variable 105 velocityY = -Math.sqrt(2 * gravity * (1-2 * borderY) * (0.75 + 0.25 * 139 var deltaY = alive ? velocityY*timeStep+gravity*timeStep*timeStep/2 : 0; 147 var a = gravity/2; 151 velocityY = -elasticity*(velocityY + gravity*subStep); 162 deltaY = velocityY*remainingTime+gravity*remainingTime*remainingTime/2; 168 velocityY += gravity*remainingTime;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
GridLayoutTest.java | 23 import android.view.Gravity; 47 int gravity; field in class:GridLayoutTest.Alignment 51 protected Alignment(String name, int gravity) { 53 this.gravity = gravity; 58 new Alignment("LEFT", Gravity.LEFT) { 64 new Alignment("CENTER", Gravity.CENTER_HORIZONTAL) { 70 new Alignment("RIGHT", Gravity.RIGHT) { 76 new Alignment("FILL", Gravity.FILL_HORIZONTAL) { 85 new Alignment("TOP", Gravity.TOP) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
CustomLayout.java | 28 import android.view.Gravity; 46 /** These are used for computing child frames based on their gravity. */ 172 // Use the child's gravity and size to determine its final 174 Gravity.apply(lp.gravity, width, height, mTmpContainerRect, mTmpChildRect); 213 * The gravity to apply with the View to which these layout parameters 216 public int gravity = Gravity.TOP | Gravity.START; field in class:CustomLayout.LayoutParams 231 gravity = a.getInt(R.styleable.CustomLayoutLP_android_layout_gravity, gravity) [all...] |
/cts/apps/CtsVerifier/src/android/support/wearable/view/ |
BoxInsetLayout.java | 28 import android.view.Gravity; 47 private static final int DEFAULT_CHILD_GRAVITY = Gravity.TOP | Gravity.START; 240 layoutBoxChildren(left, top, right, bottom, false /* no force left gravity */); 265 int gravity = lp.gravity; local 266 if (gravity == -1) { 267 gravity = DEFAULT_CHILD_GRAVITY; 271 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection) [all...] |
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
DeviceSensorsTest.java | 259 float[] gravity = {0, 0, 1}; local 263 verifyOrientationAngles(gravity, magnetic, expectedAngles); 268 float[] gravity = {0, (float) Math.sin(Math.PI / 4), (float) Math.cos(Math.PI / 4)}; local 272 verifyOrientationAngles(gravity, magnetic, expectedAngles); 277 float[] gravity = {-(float) Math.sin(Math.PI / 4), 0, (float) Math.cos(Math.PI / 4)}; local 281 verifyOrientationAngles(gravity, magnetic, expectedAngles); 286 float[] gravity = {0, 0, 1}; local 290 verifyOrientationAngles(gravity, magnetic, expectedAngles); 295 float[] gravity = {0, 1, 0}; local 299 verifyOrientationAngles(gravity, magnetic, expectedAngles) 305 float[] gravity = {0, (float) Math.cos(largePitchAngle - Math.PI \/ 2), local 315 float[] gravity = {-1, 0, 0}; local [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
InfoBarLayout.java | 14 import android.view.Gravity; 70 * The gravity of each view in Group. Must be either Gravity.START, Gravity.END, or 71 * Gravity.FILL_HORIZONTAL. 73 public int gravity = Gravity.START; field in class:InfoBarLayout.Group 126 * These values, along with a view's gravity, are used to position the next view. 354 placeChild(mCloseButton, Gravity.END); 374 mCustomGroup.gravity = (mButtonGroup != null && buttonGroupOnMainRow [all...] |
/development/samples/training/NavigationDrawer/libs/ |
android-support-v4.jar | |
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/libs/ |
android-support-v4.jar | |
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/ |
android-support-v4.jar | |
/external/chromium_org/third_party/libaddressinput/src/java/ |
android.jar | |
/development/samples/training/AnimationsDemo/libs/ |
android-support-v13.jar | |
/development/samples/training/basic/ActivityLifecycle/libs/ |
android-support-v13.jar | |
/development/samples/ControllerSample/libs/ |
android-support-v4.jar | |
/development/samples/training/ContactsList/libs/ |
android-support-v4.jar | |
/development/samples/training/EffectiveNavigation/libs/ |
android-support-v4.jar | |
/development/samples/training/InteractiveChart/libs/ |
android-support-v4.jar | |
/development/samples/training/basic/FragmentBasics/libs/ |
android-support-v4.jar | |
/development/samples/training/location-aware/libs/ |
android-support-v4.jar | |