Home
last modified time | relevance | path

Searched refs:copied (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/text/
DSpannedStringNoCopyTest.java44 final SpannedString copied = new SpannedString(first); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl() local
45 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl()
58 final SpannedString copied = new SpannedString(first, true /* ignoreNoCopySpan */); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl() local
59 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl()
76 final SpannedString copied = new SpannedString(new CustomSpanned(first)); in testCopyConstructor_copyNoCopySpans_OtherSpannedImpl() local
77 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_copyNoCopySpans_OtherSpannedImpl()
90 final SpannedString copied = new SpannedString( in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannedImpl() local
92 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannedImpl()
DSpannableStringNoCopyTest.java44 final SpannedString copied = new SpannedString(first); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl() local
45 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_copyNoCopySpans_SpannableStringInternalImpl()
58 final SpannedString copied = new SpannedString(first, true /* ignoreNoCopySpan */); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl() local
59 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_doesNotCopyNoCopySpans_SpannableStringInternalImpl()
76 final SpannedString copied = new SpannedString(new CustomSpannable(first)); in testCopyConstructor_copyNoCopySpans_OtherSpannableImpl() local
77 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_copyNoCopySpans_OtherSpannableImpl()
90 final SpannedString copied = new SpannedString( in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannableImpl() local
92 final Object[] spans = copied.getSpans(0, copied.length(), Object.class); in testCopyConstructor_doesNotCopyNoCopySpans_OtherSpannableImpl()
/frameworks/minikin/tests/unittest/
DFontCollectionTest.cpp207 auto copied = FontCollection::readVector(&reader); in TEST() local
208 EXPECT_EQ(1u, copied.size()); in TEST()
209 expectVSGlyphsForVsTestFont(copied[0].get()); in TEST()
210 ASSERT_EQ(original[0]->getSupportedAxesCount(), copied[0]->getSupportedAxesCount()); in TEST()
212 EXPECT_EQ(original[0]->getSupportedAxisAt(i), copied[0]->getSupportedAxisAt(i)); in TEST()
215 EXPECT_NE(original[0]->getId(), copied[0]->getId()); in TEST()
216 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST()
227 auto copied = FontCollection::readVector(&reader); in TEST() local
228 EXPECT_EQ(2u, copied.size()); in TEST()
229 EXPECT_EQ(copied[0]->getFamilyAt(0), copied[1]->getFamilyAt(0)); in TEST()
[all …]
DFontFamilyTest.cpp925 std::vector<std::shared_ptr<FontFamily>> copied = FontFamily::readVector(&reader); in TEST_F() local
926 ASSERT_EQ(2u, copied.size()); in TEST_F()
927 expectFontFamilyEquals(original[0], copied[0]); in TEST_F()
928 expectVSGlyphsForVsTestFont(copied[0].get()); in TEST_F()
929 expectFontFamilyEquals(original[1], copied[1]); in TEST_F()
930 std::vector<uint8_t> newBuffer = writeToBuffer(copied); in TEST_F()
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp72 Paint copied(paint); in drawGlyphs() local
82 SkFont* skfont = &copied.getSkFont(); in drawGlyphs()
86 drawGlyphs(glyphFunc, glyphCount, copied, 0 /* x */, 0 /* y */, 0 /* total Advance */); in drawGlyphs()
114 Paint copied(paint); in drawText() local
117 filter->filterFullPaint(&copied); in drawText()
119 const bool isUnderline = copied.isUnderline(); in drawText()
120 const bool isStrikeThru = copied.isStrikeThru(); in drawText()
126 drawStroke(left, right, top, f.getUnderlineThickness(), copied, this); in drawText()
133 drawStroke(left, right, top, thickness, copied, this); in drawText()
/frameworks/av/media/libstagefright/
DSkipCutBuffer.cpp87 size_t copied = read(dst, buffer->size()); in submit() local
88 buffer->set_range(0, copied); in submit()
120 size_t copied = read(dst, buffer->capacity()); in submitInternal() local
121 buffer->setRange(0, copied); in submitInternal()
/frameworks/base/core/tests/coretests/src/android/service/euicc/
DEuiccProfileInfoTest.java150 EuiccProfileInfo copied = new EuiccProfileInfo.Builder(p).build(); in testBuilder_BasedOnAnotherProfile() local
152 assertEquals(p, copied); in testBuilder_BasedOnAnotherProfile()
153 assertEquals(p.hashCode(), copied.hashCode()); in testBuilder_BasedOnAnotherProfile()
174 EuiccProfileInfo copied = new EuiccProfileInfo.Builder(p).build(); in testBuilder_BasedOnAnotherProfileWithEmptyAccessRules() local
176 assertEquals(null, copied.getUiccAccessRules()); in testBuilder_BasedOnAnotherProfileWithEmptyAccessRules()
/frameworks/base/core/jni/
Deventlog_helper.h110 jsize copied = 0, num = env->GetArrayLength(value); in writeEventArray() local
111 for (; copied < num && copied < 255; ++copied) { in writeEventArray()
113 ScopedLocalRef<jobject> item(env, env->GetObjectArrayElement(value, copied)); in writeEventArray()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java195 ByteBuffer copied = buffer.slice(); in isCollectionFont() local
196 copied.order(ByteOrder.BIG_ENDIAN); in isCollectionFont()
197 int magicNumber = copied.getInt(0); in isCollectionFont()
/frameworks/layoutlib/create/tests/res/mock_data/mock_android/data/
DanotherDataFile1 A simple data file that should *not* be copied to the output jar.
DdataFile1 A simple data file that should be copied to the output jar unchanged.
/frameworks/compile/slang/tests/F_struct_array_copy/
Dstderr.txt.expect1 struct_array_copy.rscript:35:8: error: Arrays of RS object types within structures cannot be copied
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java213 Typeface copied = copiedFontMap.get(key); in testSerialize() local
214 assertEquals(original.getStyle(), copied.getStyle()); in testSerialize()
215 assertEquals(original.getWeight(), copied.getWeight()); in testSerialize()
216 assertEquals(measureText(original, "hello"), measureText(copied, "hello"), 1e-6); in testSerialize()
/frameworks/base/test-junit/src/junit/
DREADME.android9 These are copied here to ensure that the android.test.runner target remains
/frameworks/rs/script_api/
Drs_allocation_data.spec25 <li>Multiple cells can be copied using the rsAllocationCopy* and
/frameworks/native/vulkan/libvulkan/
Dapi.cpp1280 uint32_t copied = std::min(*pPropertyCount, count); in EnumerateInstanceLayerProperties() local
1281 for (uint32_t i = 0; i < copied; i++) in EnumerateInstanceLayerProperties()
1283 *pPropertyCount = copied; in EnumerateInstanceLayerProperties()
1285 return (copied == count) ? VK_SUCCESS : VK_INCOMPLETE; in EnumerateInstanceLayerProperties()
1380 uint32_t copied = std::min(*pPropertyCount, count); in EnumerateDeviceLayerProperties() local
1381 for (uint32_t i = 0; i < copied; i++) in EnumerateDeviceLayerProperties()
1383 *pPropertyCount = copied; in EnumerateDeviceLayerProperties()
1385 return (copied == count) ? VK_SUCCESS : VK_INCOMPLETE; in EnumerateDeviceLayerProperties()
/frameworks/av/media/module/bufferpool/2.0/
DAccessorImpl.cpp831 std::map<uint32_t, const std::weak_ptr<Accessor::Impl>> copied; in invalidatorThread() local
839 copied.insert(accessors.begin(), accessors.end()); in invalidatorThread()
842 for (auto it = copied.begin(); it != copied.end(); ++it) { in invalidatorThread()
/frameworks/native/opengl/specs/
DEGL_ANDROID_presentation_time.txt91 or copied to a native pixmap then the presentation time of the surface at
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java298 String copied = mContext.getString(R.string.clipboard_overlay_text_copied); in showDefaultTextPreview() local
299 showTextPreview(copied, false); in showDefaultTextPreview()
/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/
DImmutable.md28 are already copied to perform further mutations, so that temporary copies won't be unnecessarily
136 parent data structure is mutated/copied, a new `MutableReference` object should be obtained with
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp790 bool copied = false; in queueSecureInputBuffer() local
811 copied = true; in queueSecureInputBuffer()
818 if (!copied) { in queueSecureInputBuffer()
963 bool copied = false; in queueSecureInputBuffers() local
984 copied = true; in queueSecureInputBuffers()
991 if (!copied) { in queueSecureInputBuffers()
/frameworks/rs/script_api/include/
Drs_allocation_data.rsh27 * - Multiple cells can be copied using the rsAllocationCopy* and
59 * dstOff: Offset in the destination of the first cell to be copied into.
61 * count: Number of cells to be copied.
63 * srcOff: Offset in the source of the first cell to be copied.
76 * (width * heigth) cells are copied.
139 * x: X offset in the allocation of the first cell to be copied from.
140 * y: Y offset in the allocation of the first cell to be copied from.
141 * z: Z offset in the allocation of the first cell to be copied from.
619 * x: X offset in the allocation of the first cell to be copied into.
620 * y: Y offset in the allocation of the first cell to be copied into.
[all …]
Drs_object_info.rsh308 * Returns: Number of characters copied, excluding the null terminator.
/frameworks/base/tools/aapt2/
Dreadme.md90 by AAPT2, just copied, so incremental building gets slower if they are included early on.
/frameworks/compile/slang/
DREADME.rst213 // copyNow: If true, it will be copied to the *index*\-th entry

12