Home
last modified time | relevance | path

Searched refs:keyAt (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DUsageGraph.java119 mPaths.put(points.keyAt(i), points.valueAt(i)); in addPath()
121 mPaths.put(points.keyAt(points.size() - 1) + 1, PATH_DELIM); in addPath()
152 int x = mPaths.keyAt(i); in calculateLocalPaths()
167 int lastX = mLocalPaths.keyAt(mLocalPaths.size() - 1); in calculateLocalPaths()
222 int x = mLocalPaths.keyAt(mLocalPaths.size() - 2); in drawProjection()
231 mPath.moveTo(mLocalPaths.keyAt(0), mLocalPaths.valueAt(0)); in drawLinePath()
233 int x = mLocalPaths.keyAt(i); in drawLinePath()
237 mPath.moveTo(mLocalPaths.keyAt(i), mLocalPaths.valueAt(i)); in drawLinePath()
248 float lastStartX = mLocalPaths.keyAt(0); in drawFilledPath()
249 mPath.moveTo(mLocalPaths.keyAt(0), mLocalPaths.valueAt(0)); in drawFilledPath()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp211 int64_t diffUs = mSeekSyncPoints->keyAt(prevSyncSize - 1) in init()
212 - mSeekSyncPoints->keyAt(0); in init()
292 int64_t firstTimeUs = syncPoints->keyAt(0); in addSyncPoint_l()
293 int64_t lastTimeUs = syncPoints->keyAt(size - 1); in addSyncPoint_l()
319 (seekTimeUs > mSeekSyncPoints->keyAt(mSeekSyncPoints->size() - 1)); in seek()
324 int64_t timeUs = mSeekSyncPoints->keyAt(index); in seek()
352 int64_t actualSeekTimeUs = mSeekSyncPoints->keyAt(index); in seek()
433 while (seekTimeUs > mSeekSyncPoints->keyAt( in seekBeyond()
438 int64_t syncTimeUs = mSeekSyncPoints->keyAt(syncPointsSize - 1); in seekBeyond()
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DObservableArrayMap.java75 Object key = keyAt(i); in retainAll()
86 K key = keyAt(index); in removeAt()
96 K key = keyAt(index); in setValueAt()
/frameworks/base/services/core/java/com/android/server/hdmi/
DUnmodifiableSparseIntArray.java45 public int keyAt(int index) { in keyAt() method in UnmodifiableSparseIntArray
46 return mArray.keyAt(index); in keyAt()
DUnmodifiableSparseArray.java45 public int keyAt(int index) { in keyAt() method in UnmodifiableSparseArray
46 return mArray.keyAt(index); in keyAt()
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeUtils.java48 buffer.append(array.keyAt(i)).append("=").append(Arrays.toString(array.valueAt(i))); in toString()
95 if (array.keyAt(i) != otherArray.keyAt(i) || in equals()
/frameworks/base/core/java/android/app/usage/
DTimeSparseArray.java52 key = keyAt(mid); in closestIndexOnOrAfter()
86 if (keyAt(index) == time) { in closestIndexOnOrBefore()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java221 final String pkgName = pkgMap.keyAt(ip); in add()
224 final int uid = uids.keyAt(iu); in add()
227 final int vers = versions.keyAt(iv); in add()
266 int uid = uids.keyAt(iu); in add()
774 writeCommonString(out, procMap.keyAt(ip)); in writeToParcel()
779 out.writeInt(uids.keyAt(iu)); in writeToParcel()
788 writeCommonString(out, pkgMap.keyAt(ip)); in writeToParcel()
793 out.writeInt(uids.keyAt(iu)); in writeToParcel()
798 out.writeInt(vpkgs.keyAt(iv)); in writeToParcel()
803 writeCommonString(out, pkgState.mProcesses.keyAt(iproc)); in writeToParcel()
[all …]
/frameworks/av/media/libstagefright/foundation/
DALooperRoster.cpp88 ALOGV("Unregistering stale handler %d", mHandlers.keyAt(i)); in unregisterStaleHandlers()
137 s.appendFormat(" %d: ", mHandlers.keyAt(i)); in dump()
149 makeFourCC(handler->mMessages.keyAt(j), fourcc); in dump()
/frameworks/base/tools/aapt/
DCrunchCache.cpp47 const char* rPathPtr = mSourceFiles.keyAt(0).string()+mSourcePath.length(); in crunch()
68 cu->deleteFile(mDestFiles.keyAt(0)); in crunch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSpTexts.java63 mTexts.keyAt(0).post(mUpdateAll); in update()
74 setTextSizeH(mTexts.keyAt(i), mTexts.valueAt(i));
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DVolumeCurve.cpp91 snprintf(buffer, SIZE, "%04x : %02d, ", mIndexCur.keyAt(i), mIndexCur.valueAt(i)); in dump()
101 DeviceCategoryConverter::toString(keyAt(i), deviceCatLiteral); in dump()
130 StreamTypeConverter::toString(keyAt(i), streamTypeLiteral); in dump()
/frameworks/base/tools/aapt/tests/
DFileFinder_test.cpp77 String8 testExt(testStorage.keyAt(i).getPathExtension()); in main()
80 wrongExts += testStorage.keyAt(i); in main()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DMessageUtilsTest.java70 assertEquals(msg, a1.keyAt(i), a2.keyAt(i)); in assertSparseArrayEquals()
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp429 mStateByTrackIndex.keyAt(i)); in onDoMoreStuff()
434 mStateByTrackIndex.keyAt(i), err); in onDoMoreStuff()
449 mStateByTrackIndex.keyAt(i)); in onDoMoreStuff()
453 err = onOutputFormatChanged(mStateByTrackIndex.keyAt(i), state); in onDoMoreStuff()
460 mStateByTrackIndex.keyAt(i), err); in onDoMoreStuff()
529 mStateByTrackIndex.keyAt(i), (long long)lateByUs); in onDoMoreStuff()
559 mStateByTrackIndex.keyAt(i), (long long)-lateByUs); in onDoMoreStuff()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTableLayoutBindingAdapter.java50 int column = columns.keyAt(i); in setShrinkColumns()
68 int column = columns.keyAt(i); in setStretchColumns()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastStats.java120 pw.print(ae.mPackages.keyAt(j)); in dumpStats()
143 pw.print(mActions.keyAt(i)); in dumpCheckinStats()
155 pw.print(ae.mPackages.keyAt(j)); in dumpCheckinStats()
/frameworks/base/services/core/java/com/android/server/wm/
DDimLayerController.java164 DimLayer.DimLayerUser dimLayerUser = mState.keyAt(i); in stopDimmingIfNeeded()
193 DimLayer.DimLayerUser user = mState.keyAt(i); in animateDimLayers()
213 result |= animateDimLayers(mState.keyAt(fullScreenAndDimming)); in animateDimLayers()
217 result |= animateDimLayers(mState.keyAt(fullScreen)); in animateDimLayers()
353 pw.println(prefixPlusDoubleSpace + mState.keyAt(i).toShortString()); in dump()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItemGroup.java49 return array.keyAt(mid); // value found in binarySearch()
54 return array.keyAt(lo - 1); in binarySearch()
/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp72 mService->getSensorName(mSensorInfo.keyAt(i)).string(), in dump()
73 mSensorInfo.keyAt(i), in dump()
123 const int handle = mSensorInfo.keyAt(i); in hasOneShotSensors()
167 const int handle = mSensorInfo.keyAt(i); in updateLooperRegistrationLocked()
389 const int handle = mSensorInfo.keyAt(i); in sendPendingFlushEventsLocked()
614 sp<SensorInterface> si = mService->getSensorInterfaceFromHandle(mSensorInfo.keyAt(i)); in computeMaxCacheSizeLocked()
/frameworks/support/compat/java/android/support/v4/util/
DSimpleArrayMap.java332 public K keyAt(int index) { in keyAt() method in SimpleArrayMap
439 put(array.keyAt(i), array.valueAt(i)); in putAll()
543 K key = keyAt(i); in equals()
568 K key = keyAt(i); in equals()
623 Object key = keyAt(i); in toString()
/frameworks/base/services/core/java/com/android/server/
DLockGuard.java109 final Object test = sKnown.keyAt(i); in guard()
140 final Object lock = sKnown.keyAt(i); in dump()
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java270 return mKeySets.keyAt(keySetIndex); in getIdByKeySetLPr()
288 String alias = definedMapping.keyAt(i); in addDefinedKeySetsToPackageLPw()
496 return mKeySetMapping.keyAt(keyMapIndex); in getIdFromKeyIdsLPr()
511 return mPublicKeys.keyAt(publicKeyIndex); in getIdForPublicKeyLPr()
656 long id = mPublicKeys.keyAt(pKeyIndex); in writePublicKeysLPr()
670 long id = mKeySetMapping.keyAt(keySetIndex); in writeKeySetsLPr()
785 KeySetHandle ks = mKeySets.get(keySetRefCounts.keyAt(i)); in addRefCountsFromSavedPackagesLPw()
805 orphanedKeySets.add(mKeySets.keyAt(i)); in addRefCountsFromSavedPackagesLPw()
/frameworks/base/services/core/java/com/android/server/job/
DJobPackageTracker.java210 … PackageEntry nextPe = next.getOrCreateEntry(mEntries.keyAt(i), uidMap.keyAt(j)); in finish()
241 PackageEntry outPe = out.getOrCreateEntry(mEntries.keyAt(i), uidMap.keyAt(j)); in addTo()
300 int uid = mEntries.keyAt(i); in dump()
310 pw.print(" / "); pw.print(uidMap.keyAt(j)); in dump()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java140 Object key = array.keyAt(i); in compareMaps()
253 Object realValue = array.keyAt(index); in validateArrayMap()
274 Object realValue = array.keyAt(index); in validateArrayMap()
308 Log.e("test", " " + array.keyAt(i) + " -> " + array.valueAt(i)); in dump()
327 Log.e("test", " " + map1.keyAt(i) + " -> " + map1.valueAt(i)); in dump()
331 Log.e("test", " " + map2.keyAt(i) + " -> " + map2.valueAt(i)); in dump()

12345678910>>...12