Home
last modified time | relevance | path

Searched refs:speed (Results 1 – 25 of 33) sorted by relevance

12

/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlaybackControlSupportHelper.java206 int speed; in getCurrentPosition() local
208 speed = 0; in getCurrentPosition()
210 speed = 1; in getCurrentPosition()
213 speed = getFastForwardSpeeds()[index]; in getCurrentPosition()
216 speed = -getRewindSpeeds()[index]; in getCurrentPosition()
221 (System.currentTimeMillis() - mStartTime) * speed; in getCurrentPosition()
248 protected void startPlayback(int speed) { in startPlayback() argument
249 if (speed == mSpeed) { in startPlayback()
253 mSpeed = speed; in startPlayback()
DPlaybackControlHelper.java204 int speed; in getCurrentPosition() local
206 speed = 0; in getCurrentPosition()
208 speed = 1; in getCurrentPosition()
211 speed = getFastForwardSpeeds()[index]; in getCurrentPosition()
214 speed = -getRewindSpeeds()[index]; in getCurrentPosition()
219 (System.currentTimeMillis() - mStartTime) * speed; in getCurrentPosition()
246 protected void startPlayback(int speed) { in startPlayback() argument
247 if (speed == mSpeed) { in startPlayback()
251 mSpeed = speed; in startPlayback()
/development/ndk/platforms/android-3/include/
Dtermios.h85 static __inline__ int cfsetospeed(struct termios *s, speed_t speed) in cfsetospeed() argument
87 s->c_cflag = (s->c_cflag & ~CBAUD) | (speed & CBAUD); in cfsetospeed()
96 static __inline__ int cfsetispeed(struct termios *s, speed_t speed) in cfsetispeed() argument
98 s->c_cflag = (s->c_cflag & ~CBAUD) | (speed & CBAUD); in cfsetispeed()
/development/samples/browseable/SpeedTracker/
D_index.jd11 current speed of the device on the watch. User can set a speed
12 limit and if the speed approaches that limit, it changes the
/development/ndk/platforms/android-3/include/linux/raid/
Dxor.h22 int speed; member
/development/ndk/platforms/android-21/include/linux/usb/
Dgadgetfs.h36 enum usb_device_speed speed; member
/development/ndk/platforms/android-21/include/linux/
Dbpqether.h37 int speed; member
Dscc.h132 long speed; member
Dfirewire-cdev.h236 __u32 speed; member
319 __u32 speed; member
/development/ndk/platforms/android-21/include/linux/hsi/
Dhsi_char.h55 uint32_t speed; member
/development/tools/emulator/skins/WSVGA/
Dlayout86 speed full
/development/tools/emulator/skins/WXGA800-7in/
Dlayout87 speed full
/development/tools/emulator/skins/WXGA720/
Dlayout86 speed full
/development/tools/emulator/skins/WXGA800/
Dlayout86 speed full
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java448 float speed = mRandom.nextFloat() * (mMaxObstacleSpeed - mMinObstacleSpeed)
450 float velocityX = (float) Math.cos(direction) * speed;
451 float velocityY = (float) Math.sin(direction) * speed;
671 final float speed = pythag(mVelocityX, mVelocityY);
672 if (speed > maxSpeed) {
673 final float scale = maxSpeed / speed;
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java637 double speed = Math.hypot(mDX, mDY); in doDraw() local
638 int speedWidth = (int) (UI_BAR * speed / PHYS_SPEED_MAX); in doDraw()
640 if (speed <= mGoalSpeed) { in doDraw()
759 double speed = Math.hypot(mDX, mDY); in updatePhysics() local
766 && speed > PHYS_SPEED_HYPERSPACE) { in updatePhysics()
778 } else if (speed > mGoalSpeed) { in updatePhysics()
/development/samples/browseable/BeamLargeFiles/
D_index.jd9 handshake over NFC, file transfer will take place over a secondary high-speed
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java436 float speed = mRandom.nextFloat() * (mMaxObstacleSpeed - mMinObstacleSpeed) in step() local
438 float velocityX = (float) Math.cos(direction) * speed; in step()
439 float velocityY = (float) Math.sin(direction) * speed; in step()
995 final float speed = pythag(mVelocityX, mVelocityY);
996 if (speed > mMaxSpeed) {
997 final float scale = mMaxSpeed / speed;
/development/ndk/platforms/android-21/include/linux/dvb/
Dvideo.h89 __s32 speed; member
/development/tools/emulator/skins/QVGA/
Dlayout437 speed full
/development/tools/emulator/skins/WQVGA400/
Dlayout436 speed full
/development/tools/emulator/skins/WVGA854/
Dlayout437 speed full
/development/tools/emulator/skins/WVGA800/
Dlayout437 speed full
/development/tools/emulator/skins/WQVGA432/
Dlayout436 speed full
/development/tools/emulator/skins/HVGA/
Dlayout441 speed full

12