HomeSort by relevance Sort by last modified time
    Searched defs:STEPS (Results 1 - 3 of 3) sorted by null

  /external/guava/guava-testlib/test/com/google/common/collect/testing/
IteratorTesterTest.java 143 /* Choose 4 steps to get sequence [next, next, next, remove] */
176 private static final int STEPS = 3;
179 super(STEPS, MODIFIABLE, newArrayList(1),
201 tester.numCallsToNewTargetIterator * STEPS);
  /frameworks/support/design/tests/src/android/support/design/widget/
BottomSheetBehaviorTest.java 170 private static final int STEPS = 10;
199 float[][] steps = interpolate(start, end, STEPS); local
200 int delayBetweenMovements = DURATION / steps.length;
204 for (int i = 0; i < steps.length; i++) {
212 if (!MotionEvents.sendMovement(uiController, downEvent, steps[i])) {
227 private static float[][] interpolate(float[] start, float[] end, int steps) {
230 float[][] res = new float[steps][2];
231 for(int i = 1; i < steps + 1; ++i) {
232 res[i - 1][0] = start[0] + (end[0] - start[0]) * (float)i / ((float)steps + 2.0F)
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
InputTestsBase.java 341 final int STEPS = 5;
342 for (int j = 0; j < STEPS; ++j) {
344 pointers.addPointer(oldPoint.x + ((newPoint.x - oldPoint.x) * j) / STEPS,
345 oldPoint.y + ((newPoint.y - oldPoint.y) * j) / STEPS,

Completed in 139 milliseconds