/cts/tools/signature-tools/src/signature/model/impl/ |
SigEnumConstant.java | 26 private int ordinal = UNKNOWN; field in class:SigEnumConstant 33 if (ordinal == UNKNOWN) { 36 return ordinal; 39 public void setOrdinal(int ordinal) { 40 this.ordinal = ordinal;
|
/external/nist-sip/java/javax/sip/ |
DialogState.java | 8 public static final int _EARLY = EARLY.ordinal(); 9 public static final int _CONFIRMED = CONFIRMED.ordinal(); 10 public static final int _TERMINATED = TERMINATED.ordinal(); 22 return ordinal();
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
UriType.java | 25 /** Returns the ordinal associated with this URI type. */ 26 public int ordinal(); method in interface:UriType
|
/external/chromium/chrome/browser/ui/find_bar/ |
find_bar_host_browsertest.cc | 125 int* ordinal) { 128 forward, case_sensitive, ordinal); 140 int ordinal = 0; local 143 kFwd, kIgnoreCase, &ordinal)); 144 EXPECT_EQ(1, ordinal); 146 kFwd, kIgnoreCase, &ordinal)); 147 EXPECT_EQ(1, ordinal); 149 kFwd, kIgnoreCase, &ordinal)); 150 EXPECT_EQ(1, ordinal); 152 kFwd, kIgnoreCase, &ordinal)); 242 int ordinal = 0; local 288 int ordinal = 0; local 327 int ordinal = 0; local 364 int ordinal = 0; local 413 int ordinal = 0; local 442 int ordinal = 0; local 465 int ordinal = 0; local 489 int ordinal = 0; local 512 int ordinal = 0; local 530 int ordinal = 0; local 552 int ordinal = 0; local 657 int ordinal = 0; local 703 int ordinal = 0; local 803 int ordinal = 0; local 834 int ordinal = 0; local 877 int ordinal = 0; local 916 int ordinal = 0; local 952 int ordinal = 0; local 1026 int ordinal = 0; local 1081 int ordinal = 0; local [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
EnumSerializer.java | 48 int ordinal = data.getInt(); local 50 if (ordinal == -1) return null; 54 return enumConstants[ordinal]; 64 buffer.putInt(((Enum)object).ordinal());
|
/libcore/luni/src/main/java/java/lang/ |
Enum.java | 51 private final int ordinal; field in class:Enum 58 * @param ordinal 59 * the enum constant's ordinal, which corresponds to its position 62 protected Enum(String name, int ordinal) { 64 this.ordinal = ordinal; 80 * constant has an ordinal value of zero. 82 * @return the ordinal value of this enum constant. 84 public final int ordinal() { method in class:Enum 85 return ordinal; [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
ConnectivityManagerTest.java | 68 assertTrue(State.UNKNOWN.ordinal() >= state.ordinal() 69 && state.ordinal() >= State.CONNECTING.ordinal()); 71 assertTrue(DetailedState.FAILED.ordinal() >= ds.ordinal() 72 && ds.ordinal() >= DetailedState.IDLE.ordinal()); 77 assertTrue(State.UNKNOWN.ordinal() >= state.ordinal() [all...] |
/dalvik/tests/058-enum-order/src/ |
Main.java | 28 System.out.println(m.ordinal() + ": " + m);
|
/external/replicaisland/src/com/replica/replicaisland/ |
CameraBiasComponent.java | 21 setPhase(GameComponent.ComponentPhases.THINK.ordinal());
|
EnemyAnimationComponent.java | 50 setPhase(ComponentPhases.ANIMATION.ordinal()); 71 mSprite.playAnimation(EnemyAnimations.IDLE.ordinal()); 87 mSprite.playAnimation(EnemyAnimations.MOVE.ordinal()); 106 mSprite.playAnimation(EnemyAnimations.ATTACK.ordinal()); 113 mSprite.playAnimation(EnemyAnimations.HIDDEN.ordinal()); 123 mSprite.playAnimation(EnemyAnimations.APPEAR.ordinal());
|
FixedAnimationComponent.java | 24 setPhase(ComponentPhases.ANIMATION.ordinal());
|
AnimationComponent.java | 80 setPhase(ComponentPhases.ANIMATION.ordinal()); 218 mSprite.playAnimation(PlayerAnimations.IDLE.ordinal()); 220 mSprite.playAnimation(PlayerAnimations.MOVE_FAST.ordinal()); 222 mSprite.playAnimation(PlayerAnimations.MOVE.ordinal()); 241 mSprite.playAnimation(PlayerAnimations.BOOST_UP.ordinal()); 243 mSprite.playAnimation(PlayerAnimations.BOOST_MOVE_FAST.ordinal()); 245 mSprite.playAnimation(PlayerAnimations.BOOST_MOVE.ordinal()); 250 mSprite.playAnimation(PlayerAnimations.IDLE.ordinal()); 252 mSprite.playAnimation(PlayerAnimations.MOVE_FAST.ordinal()); 254 mSprite.playAnimation(PlayerAnimations.MOVE.ordinal()); [all...] |
FrameRateWatcherComponent.java | 27 setPhase(GameComponent.ComponentPhases.THINK.ordinal());
|
GravityComponent.java | 32 setPhase(ComponentPhases.PHYSICS.ordinal());
|
PlaySingleSoundComponent.java | 26 setPhase(ComponentPhases.THINK.ordinal());
|
ScrollerComponent.java | 40 setPhase(ComponentPhases.PRE_DRAW.ordinal()); 48 setPhase(ComponentPhases.PRE_DRAW.ordinal()); 54 setPhase(ComponentPhases.PRE_DRAW.ordinal());
|
CrusherAndouComponent.java | 24 setPhase(ComponentPhases.THINK.ordinal());
|
InventoryComponent.java | 27 setPhase(ComponentPhases.FRAME_END.ordinal());
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaMetadataTest.java | 52 validateMetatData(mp3_test_file.ID3V1V2.ordinal(), MediaNames.META_DATA_MP3); 57 validateMetatData(mp3_test_file.ID3V2.ordinal(), MediaNames.META_DATA_MP3); 62 validateMetatData(mp3_test_file.ID3V1.ordinal(), MediaNames.META_DATA_MP3); 84 assertEquals(TAG, meta_data_file[fileIndex][meta.CD_TRACK.ordinal()], value); 88 assertEquals(TAG, meta_data_file[fileIndex][meta.ALBUM.ordinal()], value); 92 assertEquals(TAG, meta_data_file[fileIndex][meta.ARTIST.ordinal()], value); 96 assertEquals(TAG, meta_data_file[fileIndex][meta.AUTHOR.ordinal()], value); 100 assertEquals(TAG, meta_data_file[fileIndex][meta.COMPOSER.ordinal()], value); 104 assertEquals(TAG, meta_data_file[fileIndex][meta.DATE.ordinal()], value); 108 assertEquals(TAG, meta_data_file[fileIndex][meta.GENRE.ordinal()], value) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IccServiceTable.java | 39 * @param service the service number as a zero-based offset (the enum ordinal) 70 int ordinal = (i * 8) + bit; local 71 if (ordinal < values.length) { 72 builder.append(values[ordinal]); 74 builder.append('#').append(ordinal + 1); // service number (one-based)
|
/libcore/luni/src/main/java/java/util/ |
HugeEnumSet.java | 38 * @param enums non-null; pre-populated array of constants in ordinal 101 int ordinal = Long.numberOfTrailingZeros(mask) + index * BIT_IN_LONG; local 102 last = enums[ordinal]; 123 int ordinal = element.ordinal(); local 124 int index = ordinal / BIT_IN_LONG; 125 int inBits = ordinal % BIT_IN_LONG; 196 int ordinal = ((E) object).ordinal(); local 197 int index = ordinal / BIT_IN_LONG 252 int ordinal = ((E) object).ordinal(); local [all...] |
MiniEnumSet.java | 37 * @param enums non-null; pre-populated array of constants in ordinal 72 int ordinal = Long.numberOfTrailingZeros(mask); local 73 last = enums[ordinal]; 111 long newBits = oldBits | (1L << element.ordinal()); 147 int ordinal = element.ordinal(); local 148 return (bits & (1L << ordinal)) != 0; 222 int ordinal = element.ordinal(); local 224 long newBits = oldBits & ~(1L << ordinal); [all...] |
EnumMap.java | 55 private final int ordinal; field in class:EnumMap.Entry 60 ordinal = ((Enum) theKey).ordinal(); 66 if (!enumMap.hasMapping[ordinal]) { 75 if (enumMap.values[ordinal] == null) { 78 isEqual = enumMap.values[ordinal].equals(theValue); 87 return (enumMap.keys[ordinal] == null ? 0 : enumMap.keys[ordinal] 89 ^ (enumMap.values[ordinal] == null ? 0 90 : enumMap.values[ordinal].hashCode()) [all...] |
/external/chromium/base/win/ |
pe_image.cc | 157 WORD ordinal = 0; 158 if (!GetProcOrdinal(name, &ordinal)) 164 return functions + ordinal - exports->Base; 189 bool PEImage::GetProcOrdinal(LPCSTR function_name, WORD *ordinal) const { 190 if (NULL == ordinal) 199 *ordinal = ToOrdinal(function_name); 233 *ordinal = ordinals[lower - names] + static_cast<WORD>(exports->Base); 367 for (; name_table && name_table->u1.Ordinal; name_table++, iat++) { 369 WORD ordinal = 0; local 372 if (IMAGE_SNAP_BY_ORDINAL(name_table->u1.Ordinal)) { 462 WORD ordinal = 0; local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
Duration.java | 63 dest.writeInt(timeUnit.ordinal());
|