Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java176 SimCard copy = new SimCard(this); in withImportAndDismissStates() local
177 copy.mImported = imported; in withImportAndDismissStates()
178 copy.mDismissed = dismissed; in withImportAndDismissStates()
179 return copy; in withImportAndDismissStates()
191 final SimCard copy = new SimCard(this); in withContacts() local
192 copy.mContacts = contacts; in withContacts()
193 return copy; in withContacts()
197 final SimCard copy = new SimCard(this); in withContacts() local
198 copy.mContacts = Arrays.asList(contacts); in withContacts()
199 return copy; in withContacts()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DCellAndSpan.java31 public void copyFrom(CellAndSpan copy) { in copyFrom() argument
32 cellX = copy.cellX; in copyFrom()
33 cellY = copy.cellY; in copyFrom()
34 spanX = copy.spanX; in copyFrom()
35 spanY = copy.spanY; in copyFrom()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterDrawRepresentation.java100 public StrokeData(StrokeData copy) { in StrokeData() argument
101 mType = copy.mType; in StrokeData()
102 mPath = new Path(copy.mPath); in StrokeData()
103 mRadius = copy.mRadius; in StrokeData()
104 mColor = copy.mColor; in StrokeData()
105 noPoints = copy.noPoints; in StrokeData()
106 mPoints = Arrays.copyOf(copy.mPoints, copy.mPoints.length); in StrokeData()
187 public FilterRepresentation copy() { in copy() method in FilterDrawRepresentation
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsFooterViewHolder.java39 private final View copy; field in CallDetailsFooterViewHolder
53 copy = view.findViewById(R.id.call_detail_action_copy); in CallDetailsFooterViewHolder()
57 copy.setOnClickListener(this); in CallDetailsFooterViewHolder()
66 copy.setVisibility(View.GONE); in setPhoneNumber()
76 if (view == copy) { in onClick()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md278 A very special decision during design of RapidJSON is that, assignment of value does not copy the s…
290 … are often unnoticed. Especially when we need to create temporary object, copy it to another varia…
292 For example, if normal *copy* semantics was used:
306 ![Copy semantics makes a lots of copy operations.](diagram/move2.png)
346 1. copy-string: allocates a buffer, and then copy the source data into it.
349 Copy-string is always safe because it owns a copy of the data. Const-string can be used for storing…
353 Therefore, when we assign a copy-string, we call this overloaded `SetString()` with allocator:
419 …eateString)) to the array, you need to create a string Value by using the copy-string API. To avo…
423 contact.PushBack(Value("copy", document.GetAllocator()).Move(), // copy string
427 Value val("key", document.GetAllocator()); // copy string
[all …]
Dsax.md70 bool String(const char* str, SizeType length, bool copy) {
71 cout << "String(" << str << ", " << length << ", " << boolalpha << copy << ")" << endl;
75 bool Key(const char* str, SizeType length, bool copy) {
76 cout << "Key(" << str << ", " << length << ", " << boolalpha << copy << ")" << endl;
109 bool String(const Ch* str, SizeType length, bool copy);
111 bool Key(const Ch* str, SizeType length, bool copy);
124copy)` is called when the `Reader` encounters a string. The first parameter is pointer to the stri…
426 …return out_.String(&buffer_.front(), length, true); // true = output handler need to copy the stri…
429 bool Key(const char* str, SizeType length, bool copy) { return String(str, length, copy); }
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DInputPointers.java82 public void copy(@Nonnull final InputPointers ip) { in copy() method in InputPointers
83 mXCoordinates.copy(ip.mXCoordinates); in copy()
84 mYCoordinates.copy(ip.mYCoordinates); in copy()
85 mPointerIds.copy(ip.mPointerIds); in copy()
86 mTimes.copy(ip.mTimes); in copy()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplereader/
Dsimplereader.cpp15 bool String(const char* str, SizeType length, bool copy) { in String()
16 cout << "String(" << str << ", " << length << ", " << boolalpha << copy << ")" << endl; in String()
20 bool Key(const char* str, SizeType length, bool copy) { in Key()
21 cout << "Key(" << str << ", " << length << ", " << boolalpha << copy << ")" << endl; in Key()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java80 WifiConfiguration copy = Shadows.shadowOf(config).copy(); in makeCopy() local
81 copy.networkId = networkId; in makeCopy()
82 return copy; in makeCopy()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduComposer.java354 mStack.copy(); in appendEncodedString()
467 temp = EncodedStringValue.copy(address); in appendAddressType()
565 mStack.copy(); in appendHeader()
647 mStack.copy(); in appendHeader()
929 mStack.copy(); in makeMessageBody()
957 mStack.copy(); in makeMessageBody()
1024 mStack.copy(); in makeMessageBody()
1089 mStack.copy(); in makeMessageBody()
1189 void copy() { in copy() method in PduComposer.BufferStack
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java609 ImagePreset copy = new ImagePreset(oldPreset); in removeFilterRepresentation() local
610 copy.removeFilter(filterRepresentation); in removeFilterRepresentation()
611 PrimaryImage.getImage().setPreset(copy, copy.getLastRepresentation(), true); in removeFilterRepresentation()
613 FilterRepresentation lastRepresentation = copy.getLastRepresentation(); in removeFilterRepresentation()
633 ImagePreset copy = new ImagePreset(oldPreset); in useFilterRepresentation() local
634 FilterRepresentation representation = copy.getRepresentation(filterRepresentation); in useFilterRepresentation()
636 filterRepresentation = filterRepresentation.copy(); in useFilterRepresentation()
637 copy.addFilter(filterRepresentation); in useFilterRepresentation()
646 copy.removeFilter(representation); in useFilterRepresentation()
647 copy.addFilter(filterRepresentation); in useFilterRepresentation()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
DClipStorageTest.java94 File copy = mStorage.getFile(mSlot); in testRead() local
95 try(ClipStorageReader provider = mStorage.createReader(copy)) { in testRead()
123 File copy = mStorage.getFile(mSlot); in testReadConcurrently() local
125 try(ClipStorageReader reader = mStorage.createReader(copy)) { in testReadConcurrently()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dprettywriter.h73 bool String(const Ch* str, SizeType length, bool copy = false) {
74 (void)copy;
91 … bool Key(const Ch* str, SizeType length, bool copy = false) { return String(str, length, copy); }
Dwriter.h122 bool String(const Ch* str, SizeType length, bool copy = false) {
123 (void)copy;
140 … bool Key(const Ch* str, SizeType length, bool copy = false) { return String(str, length, copy); }
Dreader.h196 …bool Key(const Ch* str, SizeType len, bool copy) { return static_cast<Override&>(*this).String(str… in Key()
248 internal::StreamLocalCopy<InputStream> copy(is); in SkipWhitespace()
249 InputStream& s(copy.s); in SkipWhitespace()
638 internal::StreamLocalCopy<InputStream> copy(is);
639 InputStream& s(copy.s);
773 internal::StreamLocalCopy<InputStream> copy(is); in ParseNumber()
774 NumberStream<InputStream, (parseFlags & kParseFullPrecisionFlag) != 0> s(*this, copy.s); in ParseNumber()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dbuffer_with_extendable_buffer_test.cpp66 EXPECT_TRUE(targetBuffer.copy(&buffer)); in TEST()
80 EXPECT_TRUE(smallBuffer.copy(&emptyBuffer)); in TEST()
81 EXPECT_FALSE(emptyBuffer.copy(&smallBuffer)); in TEST()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLossyScreenMigrationTask.java56 mUpdates.put(item.id, item.copy()); in update()
63 mOriginalItems.put(entry.id, entry.copy()); in loadWorkspaceEntries()
67 mUpdates.put(entry.id, entry.copy()); in loadWorkspaceEntries()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java125 copy(child, extension.srcTarget[0]); in fillInLauncherExtension()
126 copy(parent, extension.srcTarget[1]); in fillInLauncherExtension()
138 copy(target, ext.srcTarget[0]); in fillInLauncherExtensionWithPageId()
142 private static void copy(Target src, LauncherTarget dst) { in copy() method in StatsLogCompatManager
/packages/apps/TV/libs/m2/
Dupdate.sh24 dependency:copy-dependencies \
31 dependency:copy-dependencies \
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageItemInfo.java37 public PackageItemInfo(PackageItemInfo copy) { in PackageItemInfo() argument
38 this.packageName = copy.packageName; in PackageItemInfo()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DProvisioningConfiguration.java406 final ByteBuffer copy = buffer.asReadOnlyBuffer(); in convertToByteArray() local
408 copy.position(0); in convertToByteArray()
409 copy.get(bytes); in convertToByteArray()
443 mInitialConfig = InitialConfiguration.copy(other.mInitialConfig); in ProvisioningConfiguration()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImagePreset.java72 mFilters.add(sourceRepresentation.copy()); in ImagePreset()
83 representation = mFilters.elementAt(position).copy(); in getFilterRepresentation()
142 representation = representation.copy(); in getFilterRepresentationCopyFrom()
158 addFilter(rep.copy()); in updateOrAddFilterRepresentation()
459 return r.copy(); in getFilterWithSerializationName()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp369 void (CDelaunay::*copy)(int,int)) in rcssort()
393 (this->*copy)( sij,temp ); in rcssort()
455 (this->*copy)( si+1,temp ); in rcssort()
459 (this->*copy)( sk,sj ); in rcssort()
463 (this->*copy)( temp,sj ); in rcssort()
/packages/apps/TV/res/raw/
Dthird_party_licenses9 Permission is hereby granted, free of charge, to any person obtaining a copy
12 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
125 Derivative Works a copy of this License; and
138 include a readable copy of the attribution notices contained
223 You may obtain a copy of the License at
330 Derivative Works a copy of this License; and
343 include a readable copy of the attribution notices contained
428 You may obtain a copy of the License at
536 Derivative Works a copy of this License; and
549 include a readable copy of the attribution notices contained
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DCompress.java62 BinaryDictOffdeviceUtils.copy(input, compressedOutput); in run()
91 BinaryDictOffdeviceUtils.copy(uncompressedInput, output); in run()

12345678910>>...19