Home
last modified time | relevance | path

Searched refs:copyOf (Results 1 – 25 of 97) sorted by relevance

1234

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractKeyboardBuilder.java58 mRows[rowIndex] = Arrays.copyOf(row, row.length); in AbstractKeyboardBuilder()
104 : Arrays.copyOf(mRows, rowIndex + 1); in setRowAt()
128 final E[] newElements = Arrays.copyOf(elements, elements.length + 1); in setElementAt()
139 : Arrays.copyOf(elements, columnIndex + 1); in setElementAt()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolderList.java28 folders = ImmutableList.copyOf(in); in FolderList()
33 folders = ImmutableList.copyOf(in.createTypedArrayList(Folder.CREATOR)); in FolderList()
82 public static FolderList copyOf(Collection<Folder> in) { in copyOf() method in FolderList
DMailAppProvider.java404 accountList = ImmutableList.copyOf(mAccountCache.values()); in cacheAccountList()
455 accountList = ImmutableList.copyOf(mAccountCache.values()); in onLoadComplete()
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java262 mEQPresetOpenSLESBandLevel[preset] = Arrays.copyOf( in initEffectsPreferences()
274 final short[] eQPresetCIExtremeBandLevel = Arrays.copyOf( in initEffectsPreferences()
276 final short[] eQPresetUserBandLevelDefault = Arrays.copyOf( in initEffectsPreferences()
618 final short[] eQPresetCIExtremeBandLevelDefault = Arrays.copyOf( in setParameterInt()
620 final short[] eQPresetUserBandLevelDefault = Arrays.copyOf( in setParameterInt()
706 final short[][] eQPresetOpenSLESBandLevelDefault = Arrays.copyOf( in setParameterInt()
708 final short[] eQPresetCIExtremeBandLevelDefault = Arrays.copyOf( in setParameterInt()
710 final short[] eQPresetUserBandLevelDefault = Arrays.copyOf( in setParameterInt()
1138 final short[] eQPresetCIExtremeBandLevel = Arrays.copyOf( in openSession()
1140 final short[] eQPresetUserBandLevelDefault = Arrays.copyOf( in openSession()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DResponseListenerBroadcaster.java35 mListeners = ImmutableList.copyOf(listeners); in ResponseListenerBroadcaster()
39 mListeners = ImmutableList.copyOf(listeners); in ResponseListenerBroadcaster()
/packages/apps/UnifiedEmail/src/com/android/mail/
DSenderInfoLoader.java182 return ImmutableMap.copyOf(results); in loadContactPhotos()
202 return ImmutableMap.copyOf(results); in loadContactPhotos()
237 return ImmutableMap.copyOf(results); in loadContactPhotos()
/packages/apps/Tag/src/com/android/apps/tag/record/
DMimeRecord.java45 mContent = Arrays.copyOf(content, content.length); in MimeRecord()
55 return Arrays.copyOf(mContent, mContent.length); in getContent()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLease.java54 mClientId = (clientId == null ? null : Arrays.copyOf(clientId, clientId.length)); in DhcpLease()
71 return Arrays.copyOf(mClientId, mClientId.length); in getClientId()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DBoundedRect.java190 float[] c0 = Arrays.copyOf(c, 2); in resizeInner()
280 float[] c0 = Arrays.copyOf(c, 2); in fixedAspectResizeInner()
347 float[] unrotated = Arrays.copyOf(innerRotated, 8); in reconstrain()
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItemMutator.java301 ImmutableList.copyOf(entriesToInsert), in loadSpeedDialUiItemsInternal()
302 ImmutableList.copyOf(entriesToUpdate), in loadSpeedDialUiItemsInternal()
303 ImmutableList.copyOf(entriesToDelete)); in loadSpeedDialUiItemsInternal()
334 return ImmutableList.copyOf(speedDialUiItems); in speedDialUiItemsWithUpdatedIds()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterDrawRepresentation.java106 mPoints = Arrays.copyOf(copy.mPoints, copy.mPoints.length); in StrokeData()
294 mCurrent.mPoints = Arrays.copyOf(mCurrent.mPoints, mCurrent.mPoints.length * 2); in addPoint()
372 stroke.mPoints = Arrays.copyOf(stroke.mPoints, count * 2); in deSerializeRepresentation()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlocking.java174 return ImmutableMap.copyOf(blockedStatus);
181 return ImmutableMap.copyOf(blockedStatus);
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DEpgTestData.java169 ImmutableList.copyOf(channels), in toTvChannels()
190 ImmutableList.copyOf(programs),
DFakeEpgReader.java119 return ImmutableList.copyOf( in getPrograms()
137 ImmutableList.copyOf(Iterables.filter(programs, isProgramDuring(validRange)))); in getPrograms()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentTasksList.java87 : () -> callback.accept(copyOf(mTasks)); in getTasks()
187 private ArrayList<Task> copyOf(ArrayList<Task> tasks) { in copyOf() method in RecentTasksList
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DLimitedMultiSelectDialogFragment.java166 mEntries = ImmutableList.copyOf(entries);
167 mEntryValues = ImmutableList.copyOf(entryValues);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DColorChooser.java173 cpd.setColor(Arrays.copyOf(c, 4)); in showColorPicker()
174 cpd.setOrigColor(Arrays.copyOf(c, 4)); in showColorPicker()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecTests.java305 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length); in assertGetBooleanValue()
345 final String[] actual = Arrays.copyOf(moreKeys, moreKeys.length); in assertGetIntValue()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DInitialLockSetupServiceTest.java178 byte[] expectedPassword = Arrays.copyOf(password, password.length); in testSetLockPassword_setsDevicePassword()
190 byte[] expectedPassword = Arrays.copyOf(password, password.length); in testSetLockPin_setsDevicePin()
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DUtils.java40 int[] newArray = Arrays.copyOf(arrays[0], totalSize); in concatIntArrays()
/packages/apps/TV/common/src/com/android/tv/common/support/tis/
DSimpleSessionManager.java55 return ImmutableSet.copyOf(sessions); in getSessions()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapUtils.java441 utf8Bytes = Arrays.copyOf(utf8Bytes, i + 1); in truncateUtf8StringToBytearray()
448 utf8Bytes = Arrays.copyOf(utf8Bytes, maxLength); in truncateUtf8StringToBytearray()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java184 entries = Arrays.copyOf(entries, size); in setupLookbackPreferenceOptions()
185 values = Arrays.copyOf(values, size); in setupLookbackPreferenceOptions()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemAttributes.java99 return new FilmstripItemAttributes(EnumSet.copyOf(mAttributes)); in build()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollSidecar.java39 mDisabledFeatures = Arrays.copyOf(disabledFeatures, disabledFeatures.length); in FaceEnrollSidecar()

1234