HomeSort by relevance Sort by last modified time
    Searched refs:lastKey (Results 1 - 25 of 68) sorted by null

1 2 3

  /libcore/luni/src/main/java/java/util/
SortedMap.java 70 public K lastKey();
TreeSet.java 272 return backingMap.lastKey();
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceRandom.java 396 int lastKey = 0;
418 lastKey = NAV_KEYS[mRandom.nextInt(NAV_KEYS.length)];
420 lastKey = MAJOR_NAV_KEYS[mRandom.nextInt(MAJOR_NAV_KEYS.length)];
422 lastKey = SYS_KEYS[mRandom.nextInt(SYS_KEYS.length)];
434 lastKey = 1 + mRandom.nextInt(KeyEvent.getMaxKeyCode() - 1);
437 if (lastKey != KeyEvent.KEYCODE_POWER
438 && lastKey != KeyEvent.KEYCODE_ENDCALL
439 && PHYSICAL_KEY_EXISTS[lastKey]) {
444 MonkeyKeyEvent e = new MonkeyKeyEvent(KeyEvent.ACTION_DOWN, lastKey);
447 e = new MonkeyKeyEvent(KeyEvent.ACTION_UP, lastKey);
    [all...]
  /external/guava/guava/src/com/google/common/collect/
StandardRowSortedTable.java 92 return sortedBackingMap().lastKey();
144 public R lastKey() {
145 return sortedBackingMap().lastKey();
ForwardingSortedMap.java 80 public K lastKey() {
81 return delegate().lastKey();
SortedMaps.java 348 @Override public K lastKey() {
352 K key = headMap.lastKey();
TreeBasedTable.java 232 @Override public C lastKey() {
237 return backingRowMap().lastKey();
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidTreeMapTest.java 68 if (SPEW) System.out.println("tm.lastKey() = " + tm.lastKey());
71 assertEquals(maxVal, tm.lastKey().intValue());
OldTreeMapTest.java 100 assertTrue("TreeMap does not use comparator (lastKey was incorrect)",
101 reversedTreeMap.lastKey().equals(new Integer(1).toString()));
144 assertTrue("TreeMap does not use comparator (lastKey was incorrect)",
145 anotherTreeMap.lastKey().equals(new Integer(1).toString()));
290 // Test for method java.lang.Object java.util.TreeMap.lastKey()
291 assertTrue("Returned incorrect last key", tm.lastKey().equals(
295 tm.lastKey();
420 // Regression test for typo in lastKey method
425 assertEquals("3", map.lastKey());
427 assertEquals("2", sub.lastKey());
    [all...]
  /system/core/libutils/tests/
LruCache_test.cpp 84 EntryRemovedCallback() : callbackCount(0), lastKey(-1), lastValue(NULL) { }
88 lastKey = k;
92 SimpleKey lastKey;
274 EXPECT_EQ(1, callback.lastKey);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
SortedMapTestBase.java 155 int key = ref.tailMap((ref.firstKey() + ref.lastKey()) / 2)
201 assertEquals(ref.lastKey(), map.lastKey());
299 assertEquals(ref.lastKey(), map.lastKey());
311 map.lastKey();
365 map2.remove(map2.lastKey());
RefSortedMap.java 153 int lastIdx = bsearch(SubMap.this.lastKey());
195 public K lastKey() {
197 K res = RefSortedMap.this.lastKey();
286 public K lastKey() {
TreeMapTest.java 126 assertTrue("TreeMap does not use comparator (lastKey was incorrect)",
127 reversedTreeMap.lastKey().equals(new Integer(1).toString()));
158 assertTrue("TreeMap does not use comparator (lastKey was incorrect)",
159 anotherTreeMap.lastKey().equals(new Integer(1).toString()));
222 assertTrue("TreeMap does not use comparator (lastKey was incorrect)",
223 reversedTreeMap.lastKey().equals(new Integer(1).toString()));
385 sub.lastKey();
405 sub.lastKey();
427 * @tests java.util.TreeMap#lastKey()
430 // Test for method java.lang.Object java.util.TreeMap.lastKey()
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
MapNavigationTester.java 111 assertNull(navigableMap.lastKey());
151 assertEquals(a.getKey(), navigableMap.lastKey());
231 assertEquals(c.getKey(), navigableMap.lastKey());
  /external/stlport/test/unit/
hash_test.cpp 220 int lastKey = -1;
224 if (mIter->first != lastKey) {
226 lastKey = mIter->first;
233 assert (h->first == lastKey);
  /ndk/tests/device/test-gnustl-full/unit/
hash_test.cpp 220 int lastKey = -1;
224 if (mIter->first != lastKey) {
226 lastKey = mIter->first;
233 assert (h->first == lastKey);
  /ndk/tests/device/test-stlport/unit/
hash_test.cpp 220 int lastKey = -1;
224 if (mIter->first != lastKey) {
226 lastKey = mIter->first;
233 assert (h->first == lastKey);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
SafeTreeMap.java 168 @Override public K lastKey() {
169 return delegate.lastKey();
SortedMapInterfaceTest.java 156 map.lastKey();
173 assertEquals(expected, map.lastKey());
299 assertEquals(head.lastKey(), firstEntry.getKey());
  /external/guava/guava-tests/test/com/google/common/collect/
SortedMapsTest.java 117 assertEquals((Integer) 6, filtered.lastKey());
146 assertEquals((Integer) 7, filtered.lastKey());
ForwardingSortedMapTest.java 227 forward().lastKey();
228 assertEquals("[lastKey]", getCalls());
  /dalvik/vm/analysis/
DexVerify.cpp 669 s4 lastKey;
671 lastKey = switchInsns[offsetToKeys] |
676 if (key <= lastKey) {
678 lastKey, key);
682 lastKey = key;
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSortedMap.java 252 public K lastKey() {
253 return sortedDelegate.lastKey();
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
FlyweightMapStorage.java 73 prefixSizeInBytes = getOptimalNumberOfBytesForValue(areaCodeMap.lastKey());
  /libcore/luni/src/main/java/java/util/concurrent/
ConcurrentSkipListSet.java 364 return m.lastKey();

Completed in 994 milliseconds

1 2 3