/frameworks/base/core/java/android/util/ |
D | IntArray.java | 31 public class IntArray implements Cloneable { class 37 private IntArray(int[] array, int size) { in IntArray() method in IntArray 45 public IntArray() { in IntArray() method in IntArray 52 public IntArray(int initialCapacity) { in IntArray() method in IntArray 64 public static IntArray wrap(int[] array) { in wrap() 65 return new IntArray(array, array.length); in wrap() 71 public static IntArray fromArray(int[] array, int size) { in fromArray() 138 public void addAll(IntArray values) { in addAll() 181 public IntArray clone() { in clone() 182 return new IntArray(mValues.clone(), mSize); in clone()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | IntArrayTest.java | 34 IntArray a = new IntArray(); in testIntArray() 40 IntArray b = IntArray.fromArray(new int[]{4, 5, 6, 7, 8}, 3); in testIntArray() 65 a = IntArray.wrap(backingArray); in testIntArray() 81 public void verify(int[] expected, IntArray intArray) { in verify()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | FakeUserInfoHelper.java | 20 import android.util.IntArray; 36 private final IntArray mRunningUserIds; 37 private final SparseArray<IntArray> mProfiles; 43 mRunningUserIds = IntArray.wrap(new int[]{DEFAULT_USERID}); in FakeUserInfoHelper() 80 IntArray.fromArray(currentProfileUserIds, currentProfileUserIds.length)); in setCurrentUserIds() 109 IntArray profiles = mProfiles.get(userId); in getProfileIds()
|
/frameworks/rs/toolkit/test/ |
D | ReferenceHistogram.kt | 39 ): IntArray { in <lambda>() 42 val counts = IntArray(paddedSize(input.vectorSize) * 256) in <lambda>() 66 ): IntArray { in referenceHistogramDot() 80 … val intCoefficients = IntArray(input.vectorSize) { (floatCoefficients[it] * 256f + 0.5f).toInt() } in referenceHistogramDot() 82 val counts = IntArray(256) in referenceHistogramDot()
|
D | IntrinsicHistogram.kt | 38 ): IntArray { in intrinsicHistogram() 63 val intrinsicOutArray = IntArray(256 * paddedSize(vectorSize)) in intrinsicHistogram() 76 ): IntArray { in intrinsicHistogram() 98 val intrinsicOutArray = IntArray(256 * vectorSize) in intrinsicHistogram() 114 ): IntArray { in intrinsicHistogramDot() 147 val intrinsicOutArray = IntArray(256) in intrinsicHistogramDot() 161 ): IntArray { in intrinsicHistogramDot() 190 val intrinsicOutArray = IntArray(256) in intrinsicHistogramDot()
|
D | TimingTracker.kt | 26 private val timings = mutableMapOf<String, IntArray>() in <lambda>() 38 IntArray(numberOfIterations - numberOfIterationsToIgnore) in <lambda>()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/ |
D | Quare.kt | 31 private val data: IntArray = IntArray(width * height) in <lambda>() 32 private val user: IntArray = data.copyOf() in <lambda>() 98 fun errors(): IntArray { in <lambda>() 99 return IntArray(width * height) { in <lambda>() 104 fun getRowClue(y: Int): IntArray { in <lambda>() 107 fun getColumnClue(x: Int): IntArray { in <lambda>() 110 fun getClue(xSel: Int, ySel: Int): IntArray { in <lambda>()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcTimeInStateReader.java | 21 import android.util.IntArray; 165 IntArray timeInStateFrequencyFormat = new IntArray(); in initializeTimeInStateFormat() 166 IntArray timeInStateTimeFormat = new IntArray(); in initializeTimeInStateFormat()
|
D | KernelCpuThreadReader.java | 21 import android.util.IntArray; 459 IntArray indices = new IntArray(); in getClusterStartIndices() 480 IntArray bucketStartIndices = new IntArray(); in getBucketStartIndices()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | Palette.kt | 22 var colors : IntArray 66 colors = IntArray(count) 71 colors = IntArray(count) 75 constructor(_colors: IntArray) {
|
/frameworks/base/media/java/android/media/ |
D | AudioManagerInternal.java | 18 import android.util.IntArray; 41 public abstract void setAccessibilityServiceUids(IntArray uids); in setAccessibilityServiceUids() 61 public abstract void setActiveAssistantServicesUids(IntArray activeUids); in setActiveAssistantServicesUids()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DistractingPackageHelper.java | 28 import android.util.IntArray; 85 final IntArray changedUids = new IntArray(packageNames.length); in setDistractingPackageRestrictionsAsUser() 150 final IntArray changedUids = new IntArray(packagesToChange.length); in removeDistractingPackageRestrictions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/muteawait/ |
D | MediaMuteAwaitConnectionManager.kt | 49 override fun onMutedUntilConnection(device: AudioDeviceAttributes, mutedUsages: IntArray) { in onMutedUntilConnection() 64 mutedUsages: IntArray in onUnmutedEvent() 100 private fun IntArray.hasMedia() = USAGE_MEDIA in this method
|
/frameworks/base/core/java/android/net/metrics/ |
D | ConnectStats.java | 20 import android.util.IntArray; 42 public final IntArray latencies = new IntArray();
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | TransactionExecutorHelper.java | 33 import android.util.IntArray; 54 private IntArray mLifecycleSequence = new IntArray(6); 64 public IntArray getLifecyclePath(int start, int finish, boolean excludeLastState) { in getLifecyclePath() 210 private static boolean pathInvolvesDestruction(IntArray lifecycleSequence) { in pathInvolvesDestruction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | FoldStateListener.kt | 41 private val foldedDeviceStates: IntArray = in onFoldStateChanged() 43 private val goToSleepDeviceStates: IntArray = in onFoldStateChanged()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayWindowListenerController.java | 23 import android.util.IntArray; 45 final IntArray displayIds = new IntArray(); in registerListener()
|
/frameworks/rs/toolkit/java/ |
D | Toolkit.kt | 571 ): IntArray { in histogram() 582 val outputArray = IntArray(256 * paddedSize(vectorSize)) in histogram() 623 ): IntArray { in histogram() 627 val outputArray = IntArray(256 * vectorSize(inputBitmap)) in histogram() 672 ): IntArray { in histogramDot() 684 val outputArray = IntArray(256) in histogramDot() 732 ): IntArray { in histogramDot() 737 val outputArray = IntArray(256) in histogramDot() 1198 outputArray: IntArray, in createNative() 1205 outputArray: IntArray, in createNative() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryUsageStatsQuery.java | 21 import android.util.IntArray; 201 private IntArray mUserIds; 220 mUserIds = new IntArray(1); in addUser()
|
D | IncidentReportArgs.java | 23 import android.util.IntArray; 34 private final IntArray mSections = new IntArray();
|
/frameworks/base/core/java/android/text/ |
D | AutoGrowArray.java | 160 public static class IntArray { class in AutoGrowArray 168 public IntArray() { in IntArray() method in AutoGrowArray.IntArray 175 public IntArray(@IntRange(from = 0) int initialCapacity) { in IntArray() method in AutoGrowArray.IntArray
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | DataRemovalRequest.java | 24 import android.util.IntArray; 117 private IntArray mFlags; 152 mFlags = new IntArray(); in addLocusId()
|
/frameworks/base/core/java/android/content/pm/split/ |
D | SplitDependencyLoader.java | 21 import android.util.IntArray; 75 final IntArray linearDependencies = new IntArray(); in loadDependenciesForSplit()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | ClockPaletteTest.kt | 33 private lateinit var colors: IntArray 41 colors = IntArray(10) in setUp()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ExploreByTouchHelper.java | 22 import android.util.IntArray; 71 private IntArray mTempArray; 384 mTempArray = new IntArray(); in createNodeForHost() 388 final IntArray virtualViewIds = mTempArray; in createNodeForHost() 671 protected abstract void getVisibleVirtualViews(IntArray virtualViewIds); in getVisibleVirtualViews()
|