Home
last modified time | relevance | path

Searched refs:firstIndex (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DKernelCpuUidBpfMapReader.java98 int firstIndex = mData.indexOfKey(startUid); in removeUidsInRange() local
99 if (firstIndex < 0) { in removeUidsInRange()
101 firstIndex = mData.indexOfKey(startUid); in removeUidsInRange()
108 mData.removeAtRange(firstIndex, lastIndex - firstIndex + 1); in removeUidsInRange()
DKernelCpuUidTimeReader.java178 int firstIndex = mLastTimes.indexOfKey(startUid); in removeUidsInRange() local
180 mLastTimes.removeAtRange(firstIndex, lastIndex - firstIndex + 1); in removeUidsInRange()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DRingBufferTest.java104 int firstIndex = 0; in testRingBufferWithWrapping() local
107 expected2[firstIndex] = "e"; in testRingBufferWithWrapping()
115 expected2[firstIndex] = "x"; in testRingBufferWithWrapping()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPageIndicator.java187 int firstIndex = Math.min(fromIndex, toIndex); in animate()
189 if (secondIndex == firstIndex) { in animate()
192 ImageView first = (ImageView) getChildAt(firstIndex); in animate()
/frameworks/base/graphics/java/android/graphics/drawable/
DAdaptiveIconDrawable.java1076 int firstIndex = -1; in getOpacity() local
1079 firstIndex = i; in getOpacity()
1085 if (firstIndex >= 0) { in getOpacity()
1086 op = array[firstIndex].mDrawable.getOpacity(); in getOpacity()
1092 for (int i = firstIndex + 1; i < N_CHILDREN; i++) { in getOpacity()
DLayerDrawable.java2087 int firstIndex = -1;
2090 firstIndex = i;
2096 if (firstIndex >= 0) {
2097 op = array[firstIndex].mDrawable.getOpacity();
2103 for (int i = firstIndex + 1; i < N; i++) {
/frameworks/native/libs/binder/
DParcel.cpp519 int firstIndex = -1, lastIndex = -2; in appendFrom() local
523 if (firstIndex == -1) { in appendFrom()
524 firstIndex = i; in appendFrom()
529 int numObjects = lastIndex - firstIndex + 1; in appendFrom()
551 for (int i = firstIndex; i <= lastIndex; i++) { in appendFrom()
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h140 …r commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexO…
Dnull_driver.cpp1418 …uffer cmdBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexO… in CmdDrawIndexed() argument
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp502 …r commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexO…
1358 …r commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexO… in CmdDrawIndexed() argument
1359 …fer).dispatch.CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, f… in CmdDrawIndexed()
2406 …r commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexO… in vkCmdDrawIndexed() argument
2407 …vulkan::api::CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, fi… in vkCmdDrawIndexed()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java15054 final int firstIndex = mUidStats.indexOfKey(firstUidForUser);
15056 for (int i = firstIndex; i <= lastIndex; i++) {
15062 mUidStats.removeAtRange(firstIndex, lastIndex - firstIndex + 1);