Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/core/tests/coretests/src/android/transition/
DTransitionTest.java84 Fade clone = (Fade) fade.clone(); in testClone() local
85 assertFieldEquals(fade, clone, "mStartDelay"); in testClone()
86 assertFieldEquals(fade, clone, "mDuration"); in testClone()
87 assertFieldEquals(fade, clone, "mInterpolator"); in testClone()
88 assertFieldEquals(fade, clone, "mPropagation"); in testClone()
89 assertEquals(fade.getPathMotion(), clone.getPathMotion()); in testClone()
90 assertEquals(fade.getEpicenterCallback(), clone.getEpicenterCallback()); in testClone()
91 assertFieldEquals(fade, clone, "mNameOverrides"); in testClone()
92 assertFieldEquals(fade, clone, "mMatchOrder"); in testClone()
94 assertFieldEquals(fade, clone, "mTargets"); in testClone()
[all …]
/frameworks/base/core/java/android/animation/
DStateListAnimator.java136 public StateListAnimator clone() { in clone() method in StateListAnimator
138 StateListAnimator clone = (StateListAnimator) super.clone(); in clone() local
139 clone.mTuples = new ArrayList<Tuple>(mTuples.size()); in clone()
140 clone.mLastMatch = null; in clone()
141 clone.mRunningAnimator = null; in clone()
142 clone.mViewRef = null; in clone()
143 clone.mAnimatorListener = null; in clone()
144 clone.initAnimatorListener(); in clone()
148 final Animator animatorClone = tuple.mAnimator.clone(); in clone()
150 clone.addState(tuple.mSpecs, animatorClone); in clone()
[all …]
DAnimator.java118 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone(); in pause()
142 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone(); in resume()
397 public Animator clone() { in clone() method in Animator
399 final Animator anim = (Animator) super.clone(); in clone()
673 final Animator clone = mAnimator.clone(); in newInstance() local
674 clone.mConstantState = this; in newInstance()
675 return clone; in newInstance()
DLayoutTransition.java298 defaultChangeOut = defaultChangeIn.clone(); in LayoutTransition()
301 defaultChange = defaultChangeIn.clone(); in LayoutTransition()
850 final Animator anim = baseAnimator.clone(); in setupChangeAnimation()
968 (ArrayList<TransitionListener>) mListeners.clone(); in setupChangeAnimation()
989 (ArrayList<TransitionListener>) mListeners.clone(); in setupChangeAnimation()
1017 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in startChangingAnimations()
1036 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in endChangingAnimations()
1079 (LinkedHashMap<View, Animator>) currentChangingAnimations.clone(); in cancel()
1087 (LinkedHashMap<View, Animator>) currentAppearingAnimations.clone(); in cancel()
1095 (LinkedHashMap<View, Animator>) currentDisappearingAnimations.clone(); in cancel()
[all …]
DKeyframe.java257 public abstract Keyframe clone(); in clone() method in Keyframe
286 public ObjectKeyframe clone() { in clone() method in Keyframe.ObjectKeyframe
332 public IntKeyframe clone() { in clone() method in Keyframe.IntKeyframe
379 public FloatKeyframe clone() { in clone() method in Keyframe.FloatKeyframe
/frameworks/base/core/tests/coretests/src/android/view/autofill/
DAutofillIdTest.java41 final AutofillId clone = cloneThroughParcel(id); in testNonVirtual() local
42 assertNonVirtual(clone, 42, NO_SESSION); in testNonVirtual()
55 final AutofillId clone = cloneThroughParcel(id); in testVirtual_int() local
56 assertThat(clone.getViewId()).isEqualTo(42); in testVirtual_int()
57 assertThat(clone.isVirtualLong()).isFalse(); in testVirtual_int()
58 assertThat(clone.isVirtualInt()).isTrue(); in testVirtual_int()
59 assertThat(clone.isNonVirtual()).isFalse(); in testVirtual_int()
60 assertThat(clone.getVirtualChildIntId()).isEqualTo(108); in testVirtual_int()
61 assertThat(clone.getVirtualChildLongId()).isEqualTo(View.NO_ID); in testVirtual_int()
74 final AutofillId clone = cloneThroughParcel(id); in testVirtual_long() local
[all …]
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
DInputMethodInfoTest.java46 final InputMethodInfo clone = cloneViaParcel(imi); in testEqualsAndHashCode() local
48 assertThat(clone.equals(imi), is(true)); in testEqualsAndHashCode()
49 assertThat(clone.hashCode(), equalTo(imi.hashCode())); in testEqualsAndHashCode()
59 final InputMethodInfo clone = cloneViaParcel(imi); in testBooleanAttributes_DefaultValues() local
61 assertThat(clone.supportsSwitchingToNextInputMethod(), is(false)); in testBooleanAttributes_DefaultValues()
71 final InputMethodInfo clone = cloneViaParcel(imi); in testSupportsSwitchingToNextInputMethod() local
73 assertThat(clone.supportsSwitchingToNextInputMethod(), is(true)); in testSupportsSwitchingToNextInputMethod()
82 final InputMethodInfo clone = cloneViaParcel(imi); in testInlineSuggestionsEnabled() local
84 assertThat(clone.isInlineSuggestionsEnabled(), is(true)); in testInlineSuggestionsEnabled()
93 final InputMethodInfo clone = cloneViaParcel(imi); in testIsVrOnly() local
[all …]
/frameworks/base/core/java/android/util/
DSparseLongArray.java76 public SparseLongArray clone() { in clone() method in SparseLongArray
77 SparseLongArray clone = null; in clone() local
79 clone = (SparseLongArray) super.clone(); in clone()
80 clone.mKeys = mKeys.clone(); in clone()
81 clone.mValues = mValues.clone(); in clone()
85 return clone; in clone()
DSparseIntArray.java83 public SparseIntArray clone() { in clone() method in SparseIntArray
84 SparseIntArray clone = null; in clone() local
86 clone = (SparseIntArray) super.clone(); in clone()
87 clone.mKeys = mKeys.clone(); in clone()
88 clone.mValues = mValues.clone(); in clone()
92 return clone; in clone()
DLongSparseLongArray.java85 public LongSparseLongArray clone() { in clone() method in LongSparseLongArray
86 LongSparseLongArray clone = null; in clone() local
88 clone = (LongSparseLongArray) super.clone(); in clone()
89 clone.mKeys = mKeys.clone(); in clone()
90 clone.mValues = mValues.clone(); in clone()
94 return clone; in clone()
DSparseBooleanArray.java75 public SparseBooleanArray clone() { in clone() method in SparseBooleanArray
76 SparseBooleanArray clone = null; in clone() local
78 clone = (SparseBooleanArray) super.clone(); in clone()
79 clone.mKeys = mKeys.clone(); in clone()
80 clone.mValues = mValues.clone(); in clone()
84 return clone; in clone()
DLongArray.java157 public LongArray clone() { in clone() method in LongArray
158 LongArray clone = null; in clone() local
160 clone = (LongArray) super.clone(); in clone()
161 clone.mValues = mValues.clone(); in clone()
165 return clone; in clone()
DIntArray.java170 public IntArray clone() throws CloneNotSupportedException { in clone() method in IntArray
171 final IntArray clone = (IntArray) super.clone(); in clone() local
172 clone.mValues = mValues.clone(); in clone()
173 return clone; in clone()
DSparseArray.java94 public SparseArray<E> clone() { in clone() method in SparseArray
95 SparseArray<E> clone = null; in clone() local
97 clone = (SparseArray<E>) super.clone(); in clone()
98 clone.mKeys = mKeys.clone(); in clone()
99 clone.mValues = mValues.clone(); in clone()
103 return clone; in clone()
DLongSparseArray.java95 public LongSparseArray<E> clone() { in clone() method in LongSparseArray
96 LongSparseArray<E> clone = null; in clone() local
98 clone = (LongSparseArray<E>) super.clone(); in clone()
99 clone.mKeys = mKeys.clone(); in clone()
100 clone.mValues = mValues.clone(); in clone()
104 return clone; in clone()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java84 RemoteViews clone = original.clone(); in clone_doesNotCopyBitmap() local
85 View inflated = clone.apply(mContext, mContainer); in clone_doesNotCopyBitmap()
95 RemoteViews clone = original.clone(); in clone_originalCanStillBeApplied() local
97 clone.apply(mContext, mContainer); in clone_originalCanStillBeApplied()
104 RemoteViews clone = original.clone(); in clone_clones() local
106 View inflated = clone.apply(mContext, mContainer); in clone_clones()
120 RemoteViews clone = child.clone(); in clone_child_fails() local
127 original.clone(); in clone_repeatedly()
128 original.clone(); in clone_repeatedly()
137 RemoteViews clone = original.clone().clone(); in clone_chained() local
[all …]
/frameworks/base/core/java/com/android/internal/util/
DCallbackRegistry.java355 public synchronized CallbackRegistry<C, T, A> clone() { in clone() method in CallbackRegistry
356 CallbackRegistry<C, T, A> clone = null; in clone() local
358 clone = (CallbackRegistry<C, T, A>) super.clone(); in clone()
359 clone.mFirst64Removed = 0; in clone()
360 clone.mRemainderRemoved = null; in clone()
361 clone.mNotificationLevel = 0; in clone()
362 clone.mCallbacks = new ArrayList<C>(); in clone()
366 clone.mCallbacks.add(mCallbacks.get(i)); in clone()
372 return clone; in clone()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/
DCryptoTestUtils.java125 public static ChunksMetadataProto.ChunkListing clone( in clone() method in CryptoTestUtils
133 clonedChunks[i] = clone(original.chunks[i]); in clone()
145 public static ChunksMetadataProto.Chunk clone(ChunksMetadataProto.Chunk original) { in clone() method in CryptoTestUtils
149 public static ChunksMetadataProto.ChunksMetadata clone( in clone() method in CryptoTestUtils
162 public static ChunksMetadataProto.ChunkOrdering clone( in clone() method in CryptoTestUtils
164 ChunksMetadataProto.ChunkOrdering clone = new ChunksMetadataProto.ChunkOrdering(); in clone() local
165 clone.starts = Arrays.copyOf(original.starts, original.starts.length); in clone()
166 clone.checksum = Arrays.copyOf(original.checksum, original.checksum.length); in clone()
167 return clone; in clone()
/frameworks/base/telephony/java/android/telephony/
DRadioAccessSpecifier.java76 this.mBands = bands.clone(); in RadioAccessSpecifier()
81 this.mChannels = channels.clone(); in RadioAccessSpecifier()
105 return mBands == null ? null : mBands.clone(); in getBands()
110 return mChannels == null ? null : mChannels.clone(); in getChannels()
DNetworkScanRequest.java147 this.mSpecifiers = specifiers.clone(); in NetworkScanRequest()
156 this.mMccMncs = (ArrayList<String>) mccMncs.clone(); in NetworkScanRequest()
194 return mSpecifiers == null ? null : mSpecifiers.clone(); in getSpecifiers()
203 return (ArrayList<String>) mMccMncs.clone(); in getPlmns()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DTriData.java57 public TriData(TriData clone) { in TriData() argument
59 mVert = Arrays.copyOf(clone.mVert, clone.mVert.length); in TriData()
60 mIndex = Arrays.copyOf(clone.mIndex, clone.mIndex.length); in TriData()
DVrState.java41 public void clone(VrState src) { in clone() method in VrState
49 mCubeVolume.clone(src.mCubeVolume); in clone()
55 mTransform.clone(src.mTransform); in clone()
111 mCubeVolume.clone(src.mCubeVolume); in copyData()
115 mTransform.clone(src.mTransform); in copyData()
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java110 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneSmallView() local
111 assertStructureWithManySmallViews(clone, 1); in testParcelizationForAutofill_oneSmallView()
130 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_manySmallViews() local
131 assertStructureWithManySmallViews(clone, NUMBER_SMALL_VIEWS); in testParcelizationForAutofill_manySmallViews()
184 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneBigView() local
185 assertStructureWithOneBigView(clone); in testParcelizationForAutofill_oneBigView()
285 AssistStructure clone = AssistStructure.CREATOR.createFromParcel(parcel); in cloneThroughParcel() local
286 assertThat(clone).isNotNull(); in cloneThroughParcel()
287 return clone; in cloneThroughParcel()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureEventTest.java163 final ContentCaptureEvent clone = cloneThroughParcel(event); in testSessionStarted_throughParcel() local
164 assertSessionStartedEvent(clone); in testSessionStarted_throughParcel()
203 final ContentCaptureEvent clone = cloneThroughParcel(event); in testSessionFinished_throughParcel() local
204 assertSessionFinishedEvent(clone); in testSessionFinished_throughParcel()
232 final ContentCaptureEvent clone = cloneThroughParcel(event); in testContextUpdated_throughParcel() local
233 assertContextUpdatedEvent(clone); in testContextUpdated_throughParcel()
325 ContentCaptureEvent clone = ContentCaptureEvent.CREATOR.createFromParcel(parcel); in cloneThroughParcel() local
326 assertThat(clone).isNotNull(); in cloneThroughParcel()
327 return clone; in cloneThroughParcel()
/frameworks/base/keystore/java/android/security/keystore/
DUtils.java30 return (value != null) ? (Date) value.clone() : null; in cloneIfNotNull()
34 return (value != null) ? value.clone() : null; in cloneIfNotNull()

12345678910>>...13