Searched refs:steps (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | VelocityTest.java | 117 // 100px, 2 steps, 100ms => 1000px/s 133 drag(vt, 100, 200, 100, 200, 10, t, 400); // 10 steps over 400ms 138 drag(vt, 100, 200, 100, 200, 20, t, 400); // 20 steps over 400ms 234 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, argument 236 drag(vt, startX, endX, startY, endY, steps, startime, duration, new LinearInterpolator()); 243 private void drag(VelocityTracker vt, int startX, int endX, int startY, int endY, int steps, argument 246 float dt = duration / (float)steps; 249 for (int i=1; i<steps-1; i++) { 250 float ii = interpolator.getInterpolation(i / (float)steps);
|
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 140 public boolean canGoBackOrForward(int steps) { argument 144 public void goBackOrForward(int steps) { argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | BrowserFrame.java | 298 * Go back or forward the number of steps given. 299 * @param steps A negative or positive number indicating the direction 300 * and number of steps to move. 302 public void goBackOrForward(int steps) { argument 304 nativeGoBackOrForward(steps); 928 * Go back or forward the number of steps given. 929 * @param steps A negative or positive number indicating the direction 930 * and number of steps to move. 932 private native void nativeGoBackOrForward(int steps); argument
|
H A D | WebView.java | 1774 * number of steps. 1775 * @param steps The negative or positive number of steps to move the 1778 public boolean canGoBackOrForward(int steps) { argument 1784 int newIndex = l.getCurrentIndex() + steps; 1791 * Go to the history item that is the number of steps away from 1794 * @param steps The number of steps to take back or forward in the back 1797 public void goBackOrForward(int steps) { argument 1798 goBackOrForward(steps, fals 1801 goBackOrForward(int steps, boolean ignoreSnapshot) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | PowerManagerService.java | 1857 int steps = ANIM_STEPS; 1868 steps = ANIM_STEPS; 1871 steps = (int)(ANIM_STEPS*ratio*scale); 1877 steps = (int)(ANIM_STEPS*(1.0f-ratio)*scale); 1880 steps = (int)(ANIM_STEPS*ratio); 1901 mScreenBrightness.setTargetLocked(brightness, steps,
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 3200 int steps = getCpuSpeedSteps(); 3201 mSpeedBins = new SamplingCounter[bins >= steps ? bins : steps]; 3929 public void setNumSpeedSteps(int steps) { argument 3930 if (sNumSpeedSteps == 0) sNumSpeedSteps = steps;
|
Completed in 232 milliseconds