OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:snake
(Results
1 - 8
of
8
) sorted by null
/development/samples/Snake/tests/src/com/example/android/snake/
SnakeTest.java
17
package com.example.android.
snake
;
25
public class SnakeTest extends ActivityInstrumentationTestCase2<
Snake
> {
28
* Creates an {@link ActivityInstrumentationTestCase2} for the {@link
Snake
} activity.
31
super(
Snake
.class);
/development/samples/Snake/src/com/example/android/snake/
BackgroundView.java
17
package com.example.android.
snake
;
Snake.java
17
package com.example.android.
snake
;
28
*
Snake
: a simple game that everyone can enjoy.
30
* This is an implementation of the classic Game "
Snake
", in which you control a serpent roaming
36
public class
Snake
extends Activity {
39
* Constants for desired direction of moving the
snake
46
private static String ICICLE_KEY = "
snake
-view";
61
mSnakeView = (SnakeView) findViewById(R.id.
snake
);
118
* Handles key events in the game. Update the direction our
snake
is traveling based on the
TileView.java
17
package com.example.android.
snake
;
SnakeView.java
17
package com.example.android.
snake
;
33
* SnakeView: implementation of a simple game of
Snake
50
* Current direction the
snake
is headed.
68
* between
snake
movements. This will decrease as apples are captured.
73
* mLastMove: Tracks the absolute time when the
snake
last moved, and is used to determine if a
84
* mArrowsView: View which shows 4 arrows to signify 4 directions in which the
snake
can move
90
* moves the
snake
95
* mSnakeTrail: A list of Coordinates that make up the
snake
's body mAppleList: The secret
96
* location of the juicy apples the
snake
craves.
161
// For now we're just going to load up a short default eastbound
snake
[
all
...]
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
FileServiceRepository.java
54
Uri
snake
= initFile("animals/
snake
.png", R.raw.
snake
);
local
59
createFileService("Class1",
snake
, unicorn, sheep);
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DiffUtil.java
72
private static final Comparator<
Snake
> SNAKE_COMPARATOR = new Comparator<
Snake
>() {
74
public int compare(
Snake
o1,
Snake
o2) {
112
final List<
Snake
> snakes = new ArrayList<>();
131
final
Snake
snake
= diffPartial(cb, range.oldListStart, range.oldListEnd,
local
133
if (
snake
!= null) {
134
if (
snake
.size > 0) {
135
snakes.add(
snake
);
520
final Snake
snake
= mSnakes.get(i);
local
591
final Snake
snake
= mSnakes.get(i);
local
708
final Snake
snake
= mSnakes.get(
snake
Index);
local
[
all
...]
/prebuilts/sdk/current/support/v7/recyclerview/libs/
android-support-v7-recyclerview.jar
Completed in 1135 milliseconds