Searched refs:copy (Results 1 - 25 of 180) sorted by relevance

12345678

/frameworks/base/include/private/media/
H A DVideoFrame.h7 ** You may obtain a copy of the License at
60 MediaAlbumArt(const MediaAlbumArt& copy) { argument
61 mSize = copy.mSize;
63 if (mSize > 0 && copy.mData != NULL) {
64 mData = new uint8_t[copy.mSize];
66 memcpy(mData, copy.mData, mSize);
93 VideoFrame(const VideoFrame& copy) { argument
94 mWidth = copy.mWidth;
95 mHeight = copy.mHeight;
96 mDisplayWidth = copy
[all...]
/frameworks/base/libs/hwui/
H A DSkiaShader.cpp6 * You may obtain a copy of the License at
98 SkiaShader* SkiaBitmapShader::copy() { function in class:android::uirenderer::SkiaBitmapShader
99 SkiaBitmapShader* copy = new SkiaBitmapShader(); local
100 copy->copyFrom(*this);
101 copy->mBitmap = mBitmap;
102 return copy;
204 SkiaShader* SkiaLinearGradientShader::copy() { function in class:android::uirenderer::SkiaLinearGradientShader
205 SkiaLinearGradientShader* copy = new SkiaLinearGradientShader(); local
206 copy->copyFrom(*this);
207 copy
269 SkiaShader* SkiaCircularGradientShader::copy() { function in class:android::uirenderer::SkiaCircularGradientShader
270 SkiaCircularGradientShader* copy = new SkiaCircularGradientShader(); local
318 SkiaShader* SkiaSweepGradientShader::copy() { function in class:android::uirenderer::SkiaSweepGradientShader
319 SkiaSweepGradientShader* copy = new SkiaSweepGradientShader(); local
376 SkiaShader* SkiaComposeShader::copy() { function in class:android::uirenderer::SkiaComposeShader
377 SkiaComposeShader* copy = new SkiaComposeShader(); local
[all...]
H A DGradientCache.h6 * You may obtain a copy of the License at
41 copy(colors, positions, count, tileMode);
45 copy(entry.colors, entry.positions, entry.count, entry.tileMode);
58 copy(entry.colors, entry.positions, entry.count, entry.tileMode);
86 void copy(uint32_t* colors, float* positions, int count, SkShader::TileMode tileMode) { function in struct:android::uirenderer::GradientCacheEntry
H A DPatch.h6 * You may obtain a copy of the License at
55 void copy(const int32_t* xDivs, const int32_t* yDivs);
75 void copy(const int32_t* yDivs);
H A DSkiaShader.h6 * You may obtain a copy of the License at
61 virtual SkiaShader* copy() = 0;
146 SkiaShader* copy();
177 SkiaShader* copy();
201 SkiaShader* copy();
226 SkiaShader* copy();
242 SkiaShader* copy();
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DCharSequencesTest.java6 * You may obtain a copy of the License at
31 String copy = toString(forAsciiBytes(bytes));
32 assertTrue(s.equals(copy));
34 copy = toString(forAsciiBytes(bytes, 0, s.length()));
35 assertTrue(s.equals(copy));
/frameworks/base/include/media/
H A DMediaProfiles.h7 ** You may obtain a copy of the License at
224 VideoCodec(const VideoCodec& copy) { argument
225 mCodec = copy.mCodec;
226 mBitRate = copy.mBitRate;
227 mFrameWidth = copy.mFrameWidth;
228 mFrameHeight = copy.mFrameHeight;
229 mFrameRate = copy.mFrameRate;
248 AudioCodec(const AudioCodec& copy) { argument
249 mCodec = copy.mCodec;
250 mBitRate = copy
272 CamcorderProfile(const CamcorderProfile& copy) argument
[all...]
/frameworks/base/opengl/tools/glgen/src/
H A DGenerateGLES.java6 * You may obtain a copy of the License at
26 static void copy(String filename, PrintStream out) throws IOException { method in class:GenerateGLES
52 copy(javaPath, glStream);
53 copy(stubRoot + ".cpp", cStream);
101 copy("stubs/gles11/" + suffix + "Header.java-if", gl11Stream);
102 copy("stubs/gles11/" + suffix + "cHeader.cpp", gl11cStream);
H A DGenerateGL.java6 * You may obtain a copy of the License at
26 static void copy(String filename, PrintStream out) throws IOException { method in class:GenerateGL
53 copy("stubs/jsr239/" + fname +
55 copy("stubs/jsr239/" + fname + ".java-impl", glImplStream);
56 copy("stubs/jsr239/" + fname + ".cpp", cStream);
153 copy("stubs/jsr239/GL10Header.java-if", gl10Stream);
154 copy("stubs/jsr239/GL10ExtHeader.java-if", gl10ExtStream);
155 copy("stubs/jsr239/GL11Header.java-if", gl11Stream);
156 copy("stubs/jsr239/GL11ExtHeader.java-if", gl11ExtStream);
157 copy("stub
[all...]
/frameworks/base/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp6 * You may obtain a copy of the License at
142 size_t copy = entry->mSize; local
143 if (copy > size) {
144 copy = size;
150 copy);
152 entry->mOffset += copy;
153 entry->mSize -= copy;
161 return copy;
/frameworks/base/media/libstagefright/httplive/
H A DLiveDataSource.cpp6 * You may obtain a copy of the License at
114 size_t copy = size - sizeDone; local
116 if (copy > buffer->size()) {
117 copy = buffer->size();
120 memcpy((uint8_t *)data + sizeDone, buffer->data(), copy);
122 sizeDone += copy;
124 buffer->setRange(buffer->offset() + copy, buffer->size() - copy);
/frameworks/base/tools/aapt/
H A DFileFinder.cpp63 DirectoryWalker* copy = dw->clone(); local
64 findFiles(fullPath, extensions, fileStore,copy);
65 delete copy;
/frameworks/compile/libbcc/runtime/BlocksRuntime/
H A Druntime.c5 * to any person obtaining a copy of this software and associated documentation
7 * including without limitation the rights to use, copy, modify, merge, publish,
285 /* Copy, or bump refcount, of a block. If really copying, call the copy helper if present. */
313 // Its a stack block. Make a copy.
323 //printf("calling block copy helper %p(%p, %p)...\n", aBlock->descriptor->copy, result, aBlock);
324 (*aBlock->descriptor->copy)(result, aBlock); // do fixup
330 // This allows the copy helper routines to make non-refcounted block copies under GC
337 // if we copy a malloc block to a GC block then we need to clear NEEDS_FREE.
345 //printf("calling block copy helpe
383 struct Block_byref *copy = (struct Block_byref *)_Block_allocator(src->size, false, isWeak); local
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/enc/
H A DAMRNBEncoder.cpp6 * You may obtain a copy of the License at
188 size_t copy = local
191 if (copy > mInputBuffer->range_length()) {
192 copy = mInputBuffer->range_length();
198 copy);
200 mNumInputSamples += copy / sizeof(int16_t);
203 mInputBuffer->range_offset() + copy,
204 mInputBuffer->range_length() - copy);
/frameworks/base/media/libstagefright/codecs/amrwbenc/
H A DAMRWBEncoder.cpp6 * You may obtain a copy of the License at
239 size_t copy = local
242 if (copy > mInputBuffer->range_length()) {
243 copy = mInputBuffer->range_length();
249 copy);
252 mInputBuffer->range_offset() + copy,
253 mInputBuffer->range_length() - copy);
260 mNumInputSamples += copy / sizeof(int16_t);
/frameworks/base/core/java/android/view/
H A DInputEvent.java6 * You may obtain a copy of the License at
73 * @return A deep copy of the event.
76 public abstract InputEvent copy(); method in class:InputEvent
/frameworks/base/cmds/stagefright/
H A Dstream.cpp6 * You may obtain a copy of the License at
221 size_t copy = size; local
222 if (copy + mCurrentBufferOffset > mem->size()) {
223 copy = mem->size() - mCurrentBufferOffset;
226 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy);
227 mCurrentBufferOffset += copy;
234 data = (const uint8_t *)data + copy;
235 size -= copy;
237 totalWritten += copy;
/frameworks/media/libvideoeditor/lvpp/
H A DAudioPlayerBase.cpp6 * You may obtain a copy of the License at
423 size_t copy = size_remaining; local
424 if (copy > mInputBuffer->range_length()) {
425 copy = mInputBuffer->range_length();
430 copy);
432 mInputBuffer->set_range(mInputBuffer->range_offset() + copy,
433 mInputBuffer->range_length() - copy);
435 size_done += copy;
436 size_remaining -= copy;
/frameworks/base/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp6 * You may obtain a copy of the License at
271 size_t copy = (nSamples - mNumInputSamples) * sizeof(int16_t); local
273 if (copy > mInputBuffer->range_length()) {
274 copy = mInputBuffer->range_length();
280 copy);
283 mInputBuffer->range_offset() + copy,
284 mInputBuffer->range_length() - copy);
290 mNumInputSamples += copy / sizeof(int16_t);
/frameworks/base/core/tests/hosttests/test-apps/
H A DAndroid.mk5 # You may obtain a copy of the License at
/frameworks/base/core/tests/hosttests/test-apps/AutoLocTestApp/
H A DAndroid.mk5 # You may obtain a copy of the License at
/frameworks/base/core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v1/
H A DAndroid.mk5 # You may obtain a copy of the License at
/frameworks/base/core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v2/
H A DAndroid.mk5 # You may obtain a copy of the License at
/frameworks/base/core/tests/hosttests/test-apps/ExternalLocAllPermsTestApp/
H A DAndroid.mk5 # You may obtain a copy of the License at
/frameworks/base/core/tests/hosttests/test-apps/ExternalLocPermsFLTestApp/
H A DAndroid.mk5 # You may obtain a copy of the License at

Completed in 2493 milliseconds

12345678