Home
last modified time | relevance | path

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

12345678910>>...27

/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
DGrowingArrayUtils.java44 T[] newArray = (T[]) Array.newInstance(array.getClass().getComponentType(), in append() local
46 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
47 array = newArray; in append()
60 int[] newArray = new int[growSize(currentSize)]; in append() local
61 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
62 array = newArray; in append()
75 long[] newArray = new long[growSize(currentSize)]; in append() local
76 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
77 array = newArray; in append()
90 boolean[] newArray = new boolean[growSize(currentSize)]; in append()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DGrowingArrayUtils.java45 T[] newArray = ArrayUtils.newUnpaddedArray( in append() local
47 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
48 array = newArray; in append()
61 int[] newArray = ArrayUtils.newUnpaddedIntArray(growSize(currentSize)); in append() local
62 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
63 array = newArray; in append()
76 long[] newArray = ArrayUtils.newUnpaddedLongArray(growSize(currentSize)); in append() local
77 System.arraycopy(array, 0, newArray, 0, currentSize); in append()
78 array = newArray; in append()
91 boolean[] newArray = ArrayUtils.newUnpaddedBooleanArray(growSize(currentSize)); in append()
[all …]
DParcelableString.java48 public ParcelableString[] newArray(int size) {
/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/hardware/camera2/dispatch/
DArgumentReplacingDispatcher.java79 Object[] newArray = new Object[length]; in arrayCopy() local
81 newArray[i] = array[i]; in arrayCopy()
83 return newArray; in arrayCopy()
/frameworks/support/compat/gingerbread/android/support/v4/os/
DParcelableCompatCreatorBase.java35 public T[] newArray(int size) { in newArray() method in ParcelableCompatCreatorBase
36 return mCallbacks.newArray(size); in newArray()
DParcelableCompatCreatorCallbacks.java46 public T[] newArray(int size); in newArray() method
/frameworks/base/core/java/android/net/
DConnectivityMetricsEvent.java59 public ConnectivityMetricsEvent[] newArray(int size) {
101 public Reference[] newArray(int size) {
/frameworks/base/telecomm/java/android/telecom/
DParcelableCallAnalytics.java48 public VideoEvent[] newArray(int size) {
147 public AnalyticsEvent[] newArray(int size) {
210 public EventTiming[] newArray(int size) {
273 public ParcelableCallAnalytics[] newArray(int size) {
DTelecomAnalytics.java40 public TelecomAnalytics[] newArray(int size) {
55 public SessionTiming[] newArray(int size) {
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java123 public ModuleProperties[] newArray(int size) {
296 public Keyphrase[] newArray(int size) {
402 public KeyphraseSoundModel[] newArray(int size) {
480 public GenericSoundModel[] newArray(int size) {
593 public RecognitionEvent[] newArray(int size) {
760 public RecognitionConfig[] newArray(int size) {
818 public ConfidenceLevel[] newArray(int size) {
905 public KeyphraseRecognitionExtra[] newArray(int size) {
993 public KeyphraseRecognitionEvent[] newArray(int size) {
1111 public GenericRecognitionEvent[] newArray(int size) {
[all …]
/frameworks/base/core/java/android/hardware/display/
DWifiDisplayStatus.java75 WifiDisplay[] displays = WifiDisplay.CREATOR.newArray(in.readInt());
87 public WifiDisplayStatus[] newArray(int size) {
/frameworks/base/core/tests/coretests/src/android/content/pm/
DParceledListSliceTest.java173 public BaseObject[] newArray(int size) {
208 public SmallObject[] newArray(int size) {
258 public LargeObject[] newArray(int size) {
/frameworks/base/media/java/android/media/
DRemoteDisplayState.java84 public RemoteDisplayState[] newArray(int size) {
184 public RemoteDisplayInfo[] newArray(int size) {
DMediaRouterClientState.java89 public MediaRouterClientState[] newArray(int size) {
201 public RouteInfo[] newArray(int size) {
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java229 public ModuleProperties[] newArray(int size) {
394 public BandDescriptor[] newArray(int size) {
520 public FmBandDescriptor[] newArray(int size) {
612 public AmBandDescriptor[] newArray(int size) {
723 public BandConfig[] newArray(int size) {
844 public FmBandConfig[] newArray(int size) {
1039 public AmBandConfig[] newArray(int size) {
1223 public ProgramInfo[] newArray(int size) {
/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/java/android/os/
DParcelable.java135 public T[] newArray(int size); in newArray() method
/frameworks/support/compat/gingerbread/android/support/v4/app/
DRemoteInputCompatBase.java33 public RemoteInput[] newArray(int length); in newArray() method
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java265 public ScanSettings[] newArray(int size) {
373 public ScanData[] newArray(int size) {
421 public ParcelableScanData[] newArray(int size) {
469 public ParcelableScanResults[] newArray(int size) {
620 public PnoSettings[] newArray(int size) {
928 public WifiChangeSettings[] newArray(int size) {
1072 public HotlistSettings[] newArray(int size) {
1329 public OperationResult[] newArray(int size) {
/frameworks/base/core/java/android/security/keymaster/
DKeymasterBlob.java37 public KeymasterBlob[] newArray(int length) {
DExportResult.java36 public ExportResult[] newArray(int length) {
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallInfo.java57 public CallInfo[] newArray(int size) {

12345678910>>...27