/frameworks/base/services/core/java/com/android/server/hdmi/ |
UnmodifiableSparseIntArray.java | 45 public int keyAt(int index) { 46 return mArray.keyAt(index);
|
UnmodifiableSparseArray.java | 45 public int keyAt(int index) { 46 return mArray.keyAt(index);
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/ |
SparseIntArray.java | 54 public int keyAt(final int index) { 55 return mArray.keyAt(index);
|
/frameworks/base/core/java/android/app/usage/ |
TimeSparseArray.java | 52 key = keyAt(mid); 86 if (keyAt(index) == time) {
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSparseIntArray.java | 44 public int keyAt( int index ){ 45 return sparseArray.keyAt( index ); 58 clone.put( keyAt(i), valueAt(i) );
|
ShadowSparseBooleanArray.java | 45 public int keyAt(int index) { 46 return sparseArray.keyAt(index); 79 clone.put(keyAt(i), valueAt(i));
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
UsageGraph.java | 119 mPaths.put(points.keyAt(i), points.valueAt(i)); 121 mPaths.put(points.keyAt(points.size() - 1) + 1, PATH_DELIM); 152 int x = mPaths.keyAt(i); 167 int lastX = mLocalPaths.keyAt(mLocalPaths.size() - 1); 222 int x = mLocalPaths.keyAt(mLocalPaths.size() - 2); 231 mPath.moveTo(mLocalPaths.keyAt(0), mLocalPaths.valueAt(0)); 233 int x = mLocalPaths.keyAt(i); 237 mPath.moveTo(mLocalPaths.keyAt(i), mLocalPaths.valueAt(i)); 248 float lastStartX = mLocalPaths.keyAt(0); 249 mPath.moveTo(mLocalPaths.keyAt(0), mLocalPaths.valueAt(0)) [all...] |
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
ObservableArrayMap.java | 75 Object key = keyAt(i); 86 K key = keyAt(index); 96 K key = keyAt(index);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
SpTexts.java | 63 mTexts.keyAt(0).post(mUpdateAll); 74 setTextSizeH(mTexts.keyAt(i), mTexts.valueAt(i));
|
/frameworks/base/tools/aapt/ |
CrunchCache.cpp | 47 const char* rPathPtr = mSourceFiles.keyAt(0).string()+mSourcePath.length(); 68 cu->deleteFile(mDestFiles.keyAt(0));
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryActiveView.java | 57 drawColor(canvas, array.keyAt(i), array.keyAt(i + 1), array.valueAt(i), period);
|
/cts/tests/tests/util/src/android/util/cts/ |
SparseIntArrayTest.java | 72 assertEquals(NON_EXISTED_KEY, sparseIntArray.keyAt(size)); 120 assertEquals(NON_EXISTED_KEY, sparseIntArray.keyAt(size)); 145 int key = sia.keyAt(i); 182 assertEquals(1, sparseArray.keyAt(0)); 183 assertEquals(5, sparseArray.keyAt(1)); 184 assertEquals(10, sparseArray.keyAt(2)); 185 assertEquals(Integer.MAX_VALUE, sparseArray.keyAt(3));
|
LongSparseArrayTest.java | 71 assertEquals(NON_EXISTED_KEY, sparseArray.keyAt(size)); 136 assertEquals(NON_EXISTED_KEY, sparseArray.keyAt(size)); 171 assertEquals(1L, sparseArray.keyAt(0)); 172 assertEquals(5L, sparseArray.keyAt(1)); 173 assertEquals(10L, sparseArray.keyAt(2)); 174 assertEquals(Long.MAX_VALUE, sparseArray.keyAt(3));
|
SparseArrayTest.java | 67 assertEquals(NON_EXISTED_KEY, sparseArray.keyAt(size)); 132 assertEquals(NON_EXISTED_KEY, sparseArray.keyAt(size)); 167 assertEquals(1, sparseArray.keyAt(0)); 168 assertEquals(5, sparseArray.keyAt(1)); 169 assertEquals(10, sparseArray.keyAt(2)); 170 assertEquals(Integer.MAX_VALUE, sparseArray.keyAt(3));
|
SparseBooleanArrayTest.java | 77 assertEquals(NON_EXISTED_KEY, sparseBooleanArray.keyAt(size)); 133 assertEquals(NON_EXISTED_KEY, sparseBooleanArray.keyAt(size)); 154 assertEquals(1, sparseArray.keyAt(0)); 155 assertEquals(5, sparseArray.keyAt(1)); 156 assertEquals(10, sparseArray.keyAt(2)); 157 assertEquals(Integer.MAX_VALUE, sparseArray.keyAt(3));
|
SparseLongArrayTest.java | 71 assertEquals(NON_EXISTED_KEY, sparseArray.keyAt(size)); 132 assertEquals(NON_EXISTED_KEY, sparseArray.keyAt(size)); 163 assertEquals(1, sparseArray.keyAt(0)); 164 assertEquals(5, sparseArray.keyAt(1)); 165 assertEquals(10, sparseArray.keyAt(2)); 166 assertEquals(Integer.MAX_VALUE, sparseArray.keyAt(3));
|
/frameworks/base/core/java/android/bluetooth/le/ |
BluetoothLeUtils.java | 48 buffer.append(array.keyAt(i)).append("=").append(Arrays.toString(array.valueAt(i))); 95 if (array.keyAt(i) != otherArray.keyAt(i) ||
|
/frameworks/base/tools/aapt/tests/ |
MockFileFinder.h | 43 fileStore.add(payload->keyAt(i),payload->valueAt(i));
|
FileFinder_test.cpp | 77 String8 testExt(testStorage.keyAt(i).getPathExtension()); 80 wrongExts += testStorage.keyAt(i);
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
ParcelableSparseArray.java | 31 dest.writeInt(keyAt(i));
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
MessageUtilsTest.java | 70 assertEquals(msg, a1.keyAt(i), a2.keyAt(i));
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
TableLayoutBindingAdapter.java | 50 int column = columns.keyAt(i); 68 int column = columns.keyAt(i);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
GroupingListAdapter.java | 125 if (lastIndex < 0 || cursorPosition <= mGroupMetadata.keyAt(lastIndex)) { 159 int cursorPosition = mGroupMetadata.keyAt(listPosition);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
MPEG2TSExtractor.cpp | 211 int64_t diffUs = mSeekSyncPoints->keyAt(prevSyncSize - 1) 212 - mSeekSyncPoints->keyAt(0); 292 int64_t firstTimeUs = syncPoints->keyAt(0); 293 int64_t lastTimeUs = syncPoints->keyAt(size - 1); 319 (seekTimeUs > mSeekSyncPoints->keyAt(mSeekSyncPoints->size() - 1)); 324 int64_t timeUs = mSeekSyncPoints->keyAt(index); 352 int64_t actualSeekTimeUs = mSeekSyncPoints->keyAt(index); 433 while (seekTimeUs > mSeekSyncPoints->keyAt( 438 int64_t syncTimeUs = mSeekSyncPoints->keyAt(syncPointsSize - 1);
|
/frameworks/av/media/libstagefright/foundation/ |
ALooperRoster.cpp | 88 ALOGV("Unregistering stale handler %d", mHandlers.keyAt(i)); 137 s.appendFormat(" %d: ", mHandlers.keyAt(i)); 149 makeFourCC(handler->mMessages.keyAt(j), fourcc);
|