Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 81) sorted by relevance

1234

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DSparseLongArray.java52 public SparseLongArray clone() { in clone() method in SparseLongArray
53 SparseLongArray clone = null; in clone() local
55 clone = (SparseLongArray) super.clone(); in clone()
56 clone.mKeys = mKeys.clone(); in clone()
57 clone.mValues = mValues.clone(); in clone()
61 return clone; in clone()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DFadeAndShortSlide.java303 public Transition clone() { in clone() method in FadeAndShortSlide
304 FadeAndShortSlide clone = (FadeAndShortSlide) super.clone(); in clone() local
305 clone.mFade = (Visibility) mFade.clone(); in clone()
306 return clone; in clone()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DListItem.java35 public ListItem clone() { in clone() method in ListItem
37 return new ListItem(folder.clone()); in clone()
39 return new ListItem(song.clone()); in clone()
DUtil.java225 List<ListItem> clone = new ArrayList<ListItem>(list.size()); in cloneList() local
226 for (ListItem item : list) clone.add(item.clone()); in cloneList()
227 return clone; in cloneList()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java734 final Drawable clone; in ChildDrawable() local
738 clone = dr; in ChildDrawable()
740 clone = cs.newDrawable(res); in ChildDrawable()
742 clone = cs.newDrawable(); in ChildDrawable()
744 clone.setCallback(owner); in ChildDrawable()
745 clone.setBounds(dr.getBounds()); in ChildDrawable()
746 clone.setLevel(dr.getLevel()); in ChildDrawable()
748 clone = null; in ChildDrawable()
751 mDrawable = clone; in ChildDrawable()
/packages/apps/SecureElement/src/com/android/se/security/
DApduFilter.java70 public ApduFilter clone() { in clone() method in ApduFilter
72 apduFilter.setApdu(mApdu.clone()); in clone()
73 apduFilter.setMask(mMask.clone()); in clone()
DChannelAccess.java52 public ChannelAccess clone() { in clone() method in ChannelAccess
64 apduFilter[i++] = filter.clone(); in clone()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DContentType.java213 return (ArrayList<String>) sSupportedImageTypes.clone(); in getImageTypes()
218 return (ArrayList<String>) sSupportedAudioTypes.clone(); in getAudioTypes()
223 return (ArrayList<String>) sSupportedVideoTypes.clone(); in getVideoTypes()
228 return (ArrayList<String>) sSupportedContentTypes.clone(); in getSupportedTypes()
DEncodedStringValue.java190 public Object clone() throws CloneNotSupportedException { in clone() method in EncodedStringValue
191 super.clone(); in clone()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DVehiclePropValueBuilder.java41 mPropValue = clone(propValue); in VehiclePropValueBuilder()
44 private VehiclePropValue clone(VehiclePropValue propValue) { in clone() method in VehiclePropValueBuilder
123 return clone(mPropValue); in build()
/packages/apps/SecureElement/src/com/android/se/security/ara/
DAccessRuleApplet.java73 CommandApdu apdu = (CommandApdu) GET_ALL_CMD.clone(); in readAllAccessRules()
105 apdu = (CommandApdu) GET_NEXT_CMD.clone(); in readAllAccessRules()
134 CommandApdu apdu = (CommandApdu) GET_REFRESH_TAG.clone(); in readRefreshTag()
/packages/apps/Camera2/src/com/android/camera/data/
DGlideFilmstripManager.java134 .clone() in loadFull()
148 .clone() in loadScreen()
163 .clone() in loadMediaStoreThumb()
179 .clone() in loadTinyThumb()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java105 public BorderKey clone() { in clone() method in UploadedTexture.BorderKey
107 return (BorderKey) super.clone(); in clone()
129 sBorderLines.put(key.clone(), bitmap); in getBorderLine()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DIntSparseArrayMap.java37 public IntSparseArrayMap<E> clone() { in clone() method in IntSparseArrayMap
38 return (IntSparseArrayMap<E>) super.clone(); in clone()
/packages/services/Car/EncryptionRunner/src/android/car/encryptionrunner/
DHandshakeMessage.java96 return mNextMessage == null ? null : mNextMessage.clone(); in getNextMessage()
140 mNextMessage = nextMessage == null ? null : nextMessage.clone(); in setNextMessage()
/packages/apps/Email/tests/src/com/android/email/
DMockSharedPreferences.java38 mTempValues = (HashMap<String, Object>) mValues.clone(); in edit()
144 mValues = (HashMap<String, Object>) mTempValues.clone(); in commit()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DVehiclePropConfigBuilder.java46 private VehiclePropConfig clone(VehiclePropConfig propConfig) { in clone() method in VehiclePropConfigBuilder
118 return clone(mConfig); in build()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DInspectorControllerTest.java242 DocumentInfo doc = TestEnv.clone(TestEnv.FILE_JPG); in testMetadata_GeoHandlerInstalled()
251 DocumentInfo doc = TestEnv.clone(TestEnv.FILE_JPG); in testMetadata_notDisplayedWhenNotReturned()
269 DocumentInfo doc = TestEnv.clone(TestEnv.FILE_JPG); in testMetadata_GeoHandlerStartsAction()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationActivityUiState.java289 protected ConversationActivityUiState clone() { in clone() method in ConversationActivityUiState
291 return (ConversationActivityUiState) super.clone(); in clone()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterDrawRepresentation.java131 public StrokeData clone() throws CloneNotSupportedException { in clone() method in FilterDrawRepresentation.StrokeData
132 return (StrokeData) super.clone(); in clone()
211 mCurrent = (StrokeData) representation.mCurrent.clone(); in useParametersFrom()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/
DWifiScanWorker.java110 resultList.add(clone(ap)); in onAccessPointsChanged()
119 private AccessPoint clone(AccessPoint accessPoint) { in clone() method in WifiScanWorker
/packages/apps/Tag/src/com/android/apps/tag/record/
DRecordUtils.java94 Intent clone = new Intent(intent); in getViewsForIntent() local
96 listener, clone, description)); in getViewsForIntent()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DEncodedStringValue.java205 public Object clone() throws CloneNotSupportedException { in clone() method in EncodedStringValue
206 super.clone(); in clone()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiScanWorker.java116 resultList.add(clone(ap)); in onAccessPointsChanged()
125 private AccessPoint clone(AccessPoint accessPoint) { in clone() method in WifiScanWorker
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalMergeAlbum.java125 int[] subPos = head.get(markPos).clone(); in getMediaItem()
159 mIndex.put(i + 1, subPos.clone()); in getMediaItem()

1234