Home
last modified time | relevance | path

Searched refs:newArray (Results 1 – 25 of 947) sorted by relevance

12345678910>>...38

/frameworks/base/core/java/com/android/internal/util/
DGrowingArrayUtils.java48 T[] newArray = ArrayUtils.newUnpaddedArray( in append() local
50 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
51 array = newArray; in append()
65 int[] newArray = ArrayUtils.newUnpaddedIntArray(growSize(currentSize)); in append() local
66 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
67 array = newArray; in append()
80 long[] newArray = ArrayUtils.newUnpaddedLongArray(growSize(currentSize)); in append() local
81 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
82 array = newArray; in append()
95 boolean[] newArray = ArrayUtils.newUnpaddedBooleanArray(growSize(currentSize)); in append()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DSparseRectFArray.java172 final int[] newArray = new int[requiredIndexArraySize * 2]; in ensureBufferSize() local
173 System.arraycopy(mKeys, 0, newArray, 0, mCount); in ensureBufferSize()
174 mKeys = newArray; in ensureBufferSize()
178 final float[] newArray = new float[requiredCoordinatesArraySize * 2]; in ensureBufferSize() local
179 System.arraycopy(mCoordinates, 0, newArray, 0, mCount * 4); in ensureBufferSize()
180 mCoordinates = newArray; in ensureBufferSize()
184 final int[] newArray = new int[requiredFlagsArraySize * 2]; in ensureBufferSize() local
185 System.arraycopy(mFlagsArray, 0, newArray, 0, mCount); in ensureBufferSize()
186 mFlagsArray = newArray; in ensureBufferSize()
302 public SparseRectFArray[] newArray(int size) {
/frameworks/base/core/java/android/util/
DLongArrayQueue.java67 final long[] newArray = ArrayUtils.newUnpaddedLongArray(newSize); in grow() local
69 System.arraycopy(mValues, mHead, newArray, 0, r); in grow()
70 System.arraycopy(mValues, 0, newArray, r, mHead); in grow()
71 mValues = newArray; in grow()
/frameworks/base/services/core/jni/
Dcom_android_server_security_VerityUtils.cpp110 static JavaByteArrayHolder newArray(JNIEnv* env, jsize size) { in newArray() function in android::__anon69dd2ccd0111::JavaByteArrayHolder
172 auto raii = JavaByteArrayHolder::newArray(env, sizeof(fsverity_digest_disk) + kSha256Bytes); in constructFsveritySignedData()
190 auto raii = JavaByteArrayHolder::newArray(env, sizeof(fsverity_descriptor)); in constructFsverityDescriptor()
209 auto raii = JavaByteArrayHolder::newArray(env, sizeof(fsverity_extension)); in constructFsverityExtension()
220 auto raii = JavaByteArrayHolder::newArray(env, sizeof(fsverity_footer)); in constructFsverityFooter()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DIntArrayList.java182 int[] newArray = new int[length]; in addInt() local
185 System.arraycopy(array, 0, newArray, 0, index); in addInt()
188 System.arraycopy(array, index, newArray, index + 1, size - index); in addInt()
189 array = newArray; in addInt()
DDoubleArrayList.java183 double[] newArray = new double[length]; in addDouble() local
186 System.arraycopy(array, 0, newArray, 0, index); in addDouble()
189 System.arraycopy(array, index, newArray, index + 1, size - index); in addDouble()
190 array = newArray; in addDouble()
DFloatArrayList.java182 float[] newArray = new float[length]; in addFloat() local
185 System.arraycopy(array, 0, newArray, 0, index); in addFloat()
188 System.arraycopy(array, index, newArray, index + 1, size - index); in addFloat()
189 array = newArray; in addFloat()
DBooleanArrayList.java182 boolean[] newArray = new boolean[length]; in addBoolean()
185 System.arraycopy(array, 0, newArray, 0, index); in addBoolean()
188 System.arraycopy(array, index, newArray, index + 1, size - index); in addBoolean()
189 array = newArray; in addBoolean()
DLongArrayList.java182 long[] newArray = new long[length]; in addLong() local
185 System.arraycopy(array, 0, newArray, 0, index); in addLong()
188 System.arraycopy(array, index, newArray, index + 1, size - index); in addLong()
189 array = newArray; in addLong()
/frameworks/base/core/java/android/view/
DDisplayAddress.java130 public Physical[] newArray(int size) {
174 public Network[] newArray(int size) {
DRemoteAnimationDefinition.java148 public RemoteAnimationDefinition[] newArray(int size) {
193 public RemoteAnimationAdapterEntry[] newArray(int size) {
/frameworks/base/telecomm/java/android/telecom/
DTelecomAnalytics.java40 public TelecomAnalytics[] newArray(int size) {
55 public SessionTiming[] newArray(int size) {
DParcelableCallAnalytics.java48 public VideoEvent[] newArray(int size) {
147 public AnalyticsEvent[] newArray(int size) {
212 public EventTiming[] newArray(int size) {
296 public ParcelableCallAnalytics[] newArray(int size) {
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java150 public ModuleProperties[] newArray(int size) {
336 public Keyphrase[] newArray(int size) {
446 public KeyphraseSoundModel[] newArray(int size) {
526 public GenericSoundModel[] newArray(int size) {
756 public RecognitionEvent[] newArray(int size) {
930 public RecognitionConfig[] newArray(int size) {
993 public ConfidenceLevel[] newArray(int size) {
1087 public KeyphraseRecognitionExtra[] newArray(int size) {
1179 public KeyphraseRecognitionEvent[] newArray(int size) {
1300 public GenericRecognitionEvent[] newArray(int size) {
[all …]
/frameworks/base/core/java/android/hardware/display/
DWifiDisplayStatus.java83 WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(in.readInt());
95 public WifiDisplayStatus[] newArray(int size) {
/frameworks/base/media/java/android/media/
DRemoteDisplayState.java87 public RemoteDisplayState[] newArray(int size) {
187 public RemoteDisplayInfo[] newArray(int size) {
DMediaRouterClientState.java79 public MediaRouterClientState[] newArray(int size) {
191 public RouteInfo[] newArray(int size) {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyBuilder.java73 this.pendingList = runtime.newArray(); in initialize()
161 this.pendingList = context.runtime.newArray(); in finalizeToPool()
/frameworks/base/services/core/java/com/android/server/pm/
DPersistentPreferredIntentResolver.java24 protected PersistentPreferredActivity[] newArray(int size) { in newArray() method in PersistentPreferredIntentResolver
DCrossProfileIntentResolver.java30 protected CrossProfileIntentFilter[] newArray(int size) { in newArray() method in CrossProfileIntentResolver
DPreferredIntentResolver.java26 protected PreferredActivity[] newArray(int size) { in newArray() method in PreferredIntentResolver
/frameworks/base/core/tests/coretests/src/android/content/pm/
DParceledListSliceTest.java231 public BaseObject[] newArray(int size) {
266 public SmallObject[] newArray(int size) {
316 public LargeObject[] newArray(int size) {
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java346 public ScanSettings[] newArray(int size) {
471 public ScanData[] newArray(int size) {
519 public ParcelableScanData[] newArray(int size) {
567 public ParcelableScanResults[] newArray(int size) {
712 public PnoSettings[] newArray(int size) {
1038 public WifiChangeSettings[] newArray(int size) {
1150 public HotlistSettings[] newArray(int size) {
1384 public OperationResult[] newArray(int size) {
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierEvent.java219 public TextClassifierEvent[] newArray(int size) {
750 public TextSelectionEvent[] newArray(int size) {
933 public TextLinkifyEvent[] newArray(int size) {
1013 public LanguageDetectionEvent[] newArray(int size) {
1110 public ConversationActionsEvent[] newArray(int size) {
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifier.java93 public WifiAwareAgentNetworkSpecifier[] newArray(int size) {
221 public ByteArrayWrapper[] newArray(int size) {

12345678910>>...38