Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 319) 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 …]
DPathKeyframes.java130 public Keyframes clone() { in clone() method in PathKeyframes
131 Keyframes clone = null; in clone() local
133 clone = (Keyframes) super.clone(); in clone()
135 return clone; in clone()
218 public Keyframes clone() {
219 Keyframes clone = null;
221 clone = (Keyframes) super.clone();
223 return clone;
DAnimator.java119 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone(); in pause()
143 (ArrayList<AnimatorPauseListener>) mPauseListeners.clone(); in resume()
398 public Animator clone() { in clone() method in Animator
400 final Animator anim = (Animator) super.clone(); in clone()
674 final Animator clone = mAnimator.clone(); in newInstance() local
675 clone.mConstantState = this; in newInstance()
676 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 …]
/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/
DSparseDoubleArray.java68 public SparseDoubleArray clone() { in clone() method in SparseDoubleArray
69 SparseDoubleArray clone = null; in clone() local
71 clone = (SparseDoubleArray) super.clone(); in clone()
72 clone.mValues = mValues.clone(); in clone()
76 return clone; in clone()
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.java76 public SparseBooleanArray clone() { in clone() method in SparseBooleanArray
77 SparseBooleanArray clone = null; in clone() local
79 clone = (SparseBooleanArray) super.clone(); in clone()
80 clone.mKeys = mKeys.clone(); in clone()
81 clone.mValues = mValues.clone(); in clone()
85 return clone; in clone()
DLongArray.java158 public LongArray clone() { in clone() method in LongArray
159 LongArray clone = null; in clone() local
161 clone = (LongArray) super.clone(); in clone()
162 clone.mValues = mValues.clone(); in clone()
166 return clone; in clone()
DIntArray.java181 public IntArray clone() throws CloneNotSupportedException { in clone() method in IntArray
182 final IntArray clone = (IntArray) super.clone(); in clone() local
183 clone.mValues = mValues.clone(); in clone()
184 return clone; in clone()
DSparseArray.java97 public SparseArray<E> clone() { in clone() method in SparseArray
98 SparseArray<E> clone = null; in clone() local
100 clone = (SparseArray<E>) super.clone(); in clone()
101 clone.mKeys = mKeys.clone(); in clone()
102 clone.mValues = mValues.clone(); in clone()
106 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/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java113 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneSmallView() local
114 assertStructureWithManySmallViews(clone, 1); in testParcelizationForAutofill_oneSmallView()
133 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_manySmallViews() local
134 assertStructureWithManySmallViews(clone, NUMBER_SMALL_VIEWS); in testParcelizationForAutofill_manySmallViews()
187 AssistStructure clone = cloneThroughParcel(structure); in testParcelizationForAutofill_oneBigView() local
188 assertStructureWithOneBigView(clone); in testParcelizationForAutofill_oneBigView()
243 ViewNodeParcelable clone = cloneThroughParcel(viewNodeParcelable); in testViewNodeParcelableForAutofill() local
244 assertBigView(clone.getViewNode()); in testViewNodeParcelableForAutofill()
310 ViewNodeParcelable clone = ViewNodeParcelable.CREATOR.createFromParcel(parcel); in cloneThroughParcel() local
311 assertThat(clone).isNotNull(); in cloneThroughParcel()
[all …]
/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/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()
38 return (value != null) ? value.clone() : null; in cloneIfNotNull()
/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()
/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/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()
328 ContentCaptureEvent clone = ContentCaptureEvent.CREATOR.createFromParcel(parcel); in cloneThroughParcel() local
329 assertThat(clone).isNotNull(); in cloneThroughParcel()
330 return clone; in cloneThroughParcel()

12345678910>>...13