Home
last modified time | relevance | path

Searched refs:direction (Results 1 – 25 of 42) sorted by relevance

12

/development/samples/Snake/src/com/example/android/snake/
DSnake.java87 int direction = 0; in onCreate()
88 direction = (x > y) ? 1 : 0; in onCreate()
89 direction |= (x > 1 - y) ? 2 : 0; in onCreate()
92 mSnakeView.moveSnake(direction); in onCreate()
DSnakeView.java259 public void moveSnake(int direction) { in moveSnake() argument
261 if (direction == Snake.MOVE_UP) { in moveSnake()
288 if (direction == Snake.MOVE_DOWN) { in moveSnake()
295 if (direction == Snake.MOVE_LEFT) { in moveSnake()
302 if (direction == Snake.MOVE_RIGHT) { in moveSnake()
/development/tools/winscope/libs/virtualList/
Dvirtual.js32 this.direction = ''
60 return this.direction === DIRECTION_TYPE.BEHIND
64 return this.direction === DIRECTION_TYPE.FRONT
137 this.direction = offset < this.offset ? DIRECTION_TYPE.FRONT : DIRECTION_TYPE.BEHIND
140 if (this.direction === DIRECTION_TYPE.FRONT) {
142 } else if (this.direction === DIRECTION_TYPE.BEHIND) {
Dprops.js27 direction: { property
DVirtualList.js40 this.isHorizontal = this.direction === 'horizontal'
/development/samples/ApiDemos/src/com/example/android/apis/view/
DInternalSelectionView.java232 protected void onFocusChanged(boolean focused, int direction, in onFocusChanged() argument
234 super.onFocusChanged(focused, direction, previouslyFocusedRect); in onFocusChanged()
237 switch (direction) { in onFocusChanged()
DGameView.java447 float direction = mRandom.nextFloat() * (float) Math.PI * 2;
450 float velocityX = (float) Math.cos(direction) * speed;
451 float velocityY = (float) Math.sin(direction) * speed;
/development/tools/winscope/src/
Dmain.js295 advanceTimeline(context, direction) { argument
300 if (direction !== DIRECTION.FORWARD && direction !== DIRECTION.BACKWARD) {
318 switch (direction) {
331 candidateTimestampIndex += direction;
DLogEntry.vue20 <md-tooltip md-direction="right" style="margin-left: -15px">
DTransactionEntry.vue6 <md-tooltip md-direction="left">
/development/samples/USB/MissileLauncher/
DREADME.txt3 Tilt the tablet to change the direction of the launcher.
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DKube.java252 boolean direction = mRandom.nextBoolean(); in animate()
256 direction = false; in animate()
258 if (direction) { in animate()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java532 double direction = mRandom.nextDouble() * Math.PI * 2; in drawSplat() local
534 double vx = Math.cos(direction) * dispersion; in drawSplat()
535 double vy = Math.sin(direction) * dispersion; in drawSplat()
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java435 float direction = mRandom.nextFloat() * (float) Math.PI * 2; in step() local
438 float velocityX = (float) Math.cos(direction) * speed; in step()
439 float velocityY = (float) Math.sin(direction) * speed; in step()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DHdrViewfinderActivity.java442 private void switchRenderMode(int direction) { in switchRenderMode() argument
444 mRenderMode = (mRenderMode + direction) % 3; in switchRenderMode()
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12