Home
last modified time | relevance | path

Searched refs:IntArray (Results 1 – 25 of 102) sorted by relevance

12345

/frameworks/base/core/java/android/util/
DIntArray.java31 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() throws CloneNotSupportedException { in clone()
182 final IntArray clone = (IntArray) super.clone(); in clone()
/frameworks/base/core/tests/utiltests/src/android/util/
DIntArrayTest.java34 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/
DFakeUserInfoHelper.java20 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/base/packages/EasterEgg/src/com/android/egg/quares/
DQuare.kt31 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/
DProcTimeInStateReader.java21 import android.util.IntArray;
165 IntArray timeInStateFrequencyFormat = new IntArray(); in initializeTimeInStateFormat()
166 IntArray timeInStateTimeFormat = new IntArray(); in initializeTimeInStateFormat()
DKernelCpuThreadReader.java21 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/
DPalette.kt22 var colors : IntArray
66 colors = IntArray(count)
71 colors = IntArray(count)
75 constructor(_colors: IntArray) {
/frameworks/base/media/java/android/media/
DAudioManagerInternal.java18 import android.util.IntArray;
52 public abstract void setAccessibilityServiceUids(IntArray uids); in setAccessibilityServiceUids()
/frameworks/base/core/java/android/net/metrics/
DConnectStats.java20 import android.util.IntArray;
42 public final IntArray latencies = new IntArray();
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java33 import android.util.IntArray;
54 private IntArray mLifecycleSequence = new IntArray(6);
64 public IntArray getLifecyclePath(int start, int finish, boolean excludeLastState) { in getLifecyclePath()
209 private static boolean pathInvolvesDestruction(IntArray lifecycleSequence) { in pathInvolvesDestruction()
/frameworks/base/core/java/android/os/
DBatteryUsageStatsQuery.java21 import android.util.IntArray;
179 private IntArray mUserIds;
197 mUserIds = new IntArray(1); in addUser()
DIncidentReportArgs.java23 import android.util.IntArray;
34 private final IntArray mSections = new IntArray();
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DSuspendPackagesBroadcastTest.kt55 lateinit var uidsToSuspend: IntArray
136 private fun allowList(vararg uids: Int) = SparseArray<IntArray>().apply { in <lambda>()
140 private fun mockAllowList(pkgSetting: PackageSetting, list: SparseArray<IntArray>?) { in mockAllowList()
142 any(IntArray::class.java), any() as WatchedArrayMap<String, PackageSetting>)) in mockAllowList()
/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundLaunchProcessController.java31 import android.util.IntArray;
64 private @Nullable IntArray mBoundClientUids;
187 mBoundClientUids = new IntArray(); in setBoundClientUids()
DInsetsPolicy.java38 import android.util.IntArray;
67 private final IntArray mShowingTransientTypes = new IntArray();
274 final IntArray abortTypes = new IntArray(); in checkAbortTransient()
437 final IntArray showingTransientTypes = mShowingTransientTypes; in startAnimation()
/frameworks/base/core/java/android/view/contentcapture/
DDataRemovalRequest.java24 import android.util.IntArray;
116 private IntArray mFlags;
151 mFlags = new IntArray(); in addLocusId()
/frameworks/base/core/java/android/content/pm/split/
DSplitDependencyLoader.java21 import android.util.IntArray;
75 final IntArray linearDependencies = new IntArray(); in loadDependenciesForSplit()
/frameworks/base/core/java/android/text/
DAutoGrowArray.java160 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
DMeasuredParagraph.java28 import android.text.AutoGrowArray.IntArray;
118 private @Nullable IntArray mSpanEndCache = new IntArray(4);
122 private @Nullable IntArray mFontMetrics = new IntArray(4 * 4);
227 public @NonNull IntArray getSpanEndCache() { in getSpanEndCache()
239 public @NonNull IntArray getFontMetrics() { in getFontMetrics()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java22 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockPaletteTest.kt33 private lateinit var colors: IntArray
41 colors = IntArray(10) in setUp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DSnoozeHelperTest.java45 import android.util.IntArray;
469 IntArray profileIds = new IntArray();
491 IntArray profileIds = new IntArray();
508 IntArray profileIds = new IntArray();
529 IntArray profileIds = new IntArray();
556 IntArray profileIds = new IntArray();
/frameworks/base/services/core/java/com/android/server/am/
DBatteryExternalStatsWorker.java38 import android.util.IntArray;
120 private final IntArray mUidsToRemove = new IntArray();
897 final IntArray energyConsumerIds = new IntArray(); in getMeasuredEnergyLocked()
922 IntArray energyConsumerIds, @EnergyConsumerType int type) { in addEnergyConsumerIdLocked()
942 final SparseArray<IntArray> tempTypeToId = new SparseArray<>(); in populateEnergyConsumerSubsystemMapsLocked()
960 IntArray ids = tempTypeToId.get(consumer.type); in populateEnergyConsumerSubsystemMapsLocked()
962 ids = new IntArray(); in populateEnergyConsumerSubsystemMapsLocked()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt82 abstract fun getLocationOnScreen(underlyingObject: T, loc: IntArray) in <lambda>()
140 private val objectLocationOnScreen = IntArray(2) in <lambda>()
602 private val tempLoc = IntArray(2) in <lambda>()
693 override fun getLocationOnScreen(underlyingObject: T, loc: IntArray) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DUidPermissionState.java25 import android.util.IntArray;
333 IntArray gids = IntArray.wrap(globalGids); in computeGids()

12345