Home
last modified time | relevance | path

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

12345678910>>...14

/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/base/core/java/com/android/internal/os/
DMemoryPowerCalculator.java35 double mAatRail = powerAverages[(int) timers.keyAt(i)]; in calculateRemaining()
39 Log.d(TAG, "Calculating mAh for bucket " + timers.keyAt(i) + " while unplugged"); in calculateRemaining()
41 + powerAverages[(int) timers.keyAt(i)] + " into " + mAatRail); in calculateRemaining()
/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/packages/SystemUI/src/com/android/systemui/volume/
DConfigurableTexts.java68 mTexts.keyAt(0).post(mUpdateAll); in update()
89 setTextSizeH(mTexts.keyAt(i), mTexts.valueAt(i));
92 setTextLabelH(mTextLabels.keyAt(i), mTextLabels.valueAt(i));
/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/app/usage/
DTimeSparseArray.java52 key = keyAt(mid); in closestIndexOnOrAfter()
86 if (keyAt(index) == time) { in closestIndexOnOrBefore()
DUsageStats.java169 String action = right.mChooserCounts.keyAt(i); in add()
177 String key = counts.keyAt(j); in add()
204 String action = mChooserCounts.keyAt(i); in writeToParcel()
209 currentCounts.putInt(counts.keyAt(j), counts.valueAt(j)); in writeToParcel()
/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/services/core/java/com/android/server/am/
DBroadcastStats.java139 pw.print(ae.mPackages.keyAt(j)); in dumpStats()
148 pw.print(ae.mBackgroundCheckViolations.keyAt(j)); in dumpStats()
171 pw.print(mActions.keyAt(i)); in dumpCheckinStats()
183 pw.print(ae.mPackages.keyAt(j)); in dumpCheckinStats()
191 pw.print(ae.mBackgroundCheckViolations.keyAt(j)); in dumpCheckinStats()
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp268 int64_t diffUs = mSeekSyncPoints->keyAt(prevSyncSize - 1) in init()
269 - mSeekSyncPoints->keyAt(0); in init()
350 int64_t firstTimeUs = syncPoints->keyAt(0); in addSyncPoint_l()
351 int64_t lastTimeUs = syncPoints->keyAt(size - 1); in addSyncPoint_l()
477 (seekTimeUs > mSeekSyncPoints->keyAt(mSeekSyncPoints->size() - 1)); in seek()
482 int64_t timeUs = mSeekSyncPoints->keyAt(index); in seek()
510 int64_t actualSeekTimeUs = mSeekSyncPoints->keyAt(index); in seek()
591 while (seekTimeUs > mSeekSyncPoints->keyAt( in seekBeyond()
596 int64_t syncTimeUs = mSeekSyncPoints->keyAt(syncPointsSize - 1); in seekBeyond()
/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/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/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, sizeof(fourcc)); in dump()
/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/media/libmedia/
DAudioParameter.cpp92 str += mParameters.keyAt(i); in toStringImpl()
195 key = mParameters.keyAt(index); in getAt()
205 key = mParameters.keyAt(index); in getAt()
/frameworks/base/core/java/android/accessibilityservice/
DFingerprintGestureController.java135 FingerprintGestureCallback callback = handlerMap.keyAt(i); in onGestureDetectionActiveChanged()
156 FingerprintGestureCallback callback = handlerMap.keyAt(i); in onGesture()
DAccessibilityButtonController.java160 final AccessibilityButtonCallback callback = entries.keyAt(i); in dispatchAccessibilityButtonClicked()
185 final AccessibilityButtonCallback callback = entries.keyAt(i); in dispatchAccessibilityButtonAvailabilityChanged()
/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/av/cmds/stagefright/
DSimplePlayer.cpp430 mStateByTrackIndex.keyAt(i)); in onDoMoreStuff()
435 mStateByTrackIndex.keyAt(i), err); in onDoMoreStuff()
450 mStateByTrackIndex.keyAt(i)); in onDoMoreStuff()
454 err = onOutputFormatChanged(mStateByTrackIndex.keyAt(i), state); in onDoMoreStuff()
461 mStateByTrackIndex.keyAt(i), err); in onDoMoreStuff()
532 mStateByTrackIndex.keyAt(i), (long long)lateByUs); in onDoMoreStuff()
562 mStateByTrackIndex.keyAt(i), (long long)-lateByUs); in onDoMoreStuff()
/frameworks/base/services/core/java/com/android/server/wm/
DDimLayerController.java165 DimLayer.DimLayerUser dimLayerUser = mState.keyAt(i); in stopDimmingIfNeeded()
195 final DimLayer.DimLayerUser user = mState.keyAt(i); in animateDimLayers()
239 result |= animateDimLayers(mState.keyAt(fullScreenAndDimming)); in animateDimLayers()
243 result |= animateDimLayers(mState.keyAt(fullScreen)); in animateDimLayers()
392 pw.println(prefixPlusDoubleSpace + mState.keyAt(i).toShortString()); in dump()
DUnknownAppVisibilityController.java78 builder.append("app=").append(mUnknownApps.keyAt(i)) in getDebugMessage()
157 pw.println(prefix + " app=" + mUnknownApps.keyAt(i) in dump()
/frameworks/base/packages/ExtServices/src/android/ext/services/resolver/
DLRResolverRankerService.java144 String featureName = target.keyAt(i); in predict()
158 String featureName = target.keyAt(i); in update()
176 editor.putFloat(mFeatureWeights.keyAt(i), mFeatureWeights.valueAt(i)); in commitUpdate()

12345678910>>...14