Home
last modified time | relevance | path

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

123

/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
DUIProviderValidator.java81 if (isValidProjection(requestedProjection, ImmutableSet.copyOf(allColumnProjection))) { in getValidProjection()
DMailAppProvider.java404 accountList = ImmutableList.copyOf(mAccountCache.values()); in cacheAccountList()
455 accountList = ImmutableList.copyOf(mAccountCache.values()); in onLoadComplete()
/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/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/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/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/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/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/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()
DParameterColor.java109 mBasColors = Arrays.copyOf(palette, palette.length); in setColorpalette()
/packages/apps/TV/common/src/com/android/tv/common/
DCollectionUtils.java37 T[] result = Arrays.copyOf(first, totalLength); in concatAll()
/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/Camera2/src/com/android/camera/data/
DFilmstripItemAttributes.java99 return new FilmstripItemAttributes(EnumSet.copyOf(mAttributes)); in build()
/packages/apps/Tag/src/com/android/apps/tag/message/
DParsedNdefMessage.java38 mRecords = ImmutableList.copyOf(records); in ParsedNdefMessage()
/packages/apps/Camera2/src/com/android/camera/async/
DObservableCombiner.java47 mInputs = ImmutableList.copyOf(inputs); in ObservableCombiner()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DEncodedImageResource.java67 return Arrays.copyOf(mImageBytes, mImageBytes.length); in getBytes()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DResizableIntArray.java78 mArray = Arrays.copyOf(mArray, newCapacity); in ensureCapacity()
/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/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapUtils.java414 utf8Bytes = Arrays.copyOf(utf8Bytes, i+1); in truncateUtf8StringToBytearray()
421 utf8Bytes = Arrays.copyOf(utf8Bytes, maxLength); in truncateUtf8StringToBytearray()
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidImageProxy.java119 mPlanes = ImmutableList.copyOf(wrappedPlanes); in AndroidImageProxy()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DUserBinaryDictionary.java149 Arrays.copyOf(localeElements, length + 1); in loadInitialContentsLocked()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DMemoryDumpActivity.java100 final int[] pids_copy = Arrays.copyOf(pids_orig, pids_orig.length); in dumpHprofAndShare()

123