Searched defs:copy (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/base/opengl/tools/glgen/src/
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...]
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);
/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/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/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;
H A DNuPlayerRenderer.cpp6 * You may obtain a copy of the License at
279 size_t copy = entry->mBuffer->size() - entry->mOffset; local
280 if (copy > numBytesAvailableToWrite) {
281 copy = numBytesAvailableToWrite;
285 entry->mBuffer->data() + entry->mOffset, copy),
286 (ssize_t)copy);
288 entry->mOffset += copy;
296 numBytesAvailableToWrite -= copy;
297 size_t copiedFrames = copy / mAudioSink->frameSize();
/frameworks/base/tools/aapt/
H A DFileFinder.cpp63 DirectoryWalker* copy = dw->clone(); local
64 findFiles(fullPath, extensions, fileStore,copy);
65 delete copy;
/frameworks/base/libs/hwui/
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.cpp6 * You may obtain a copy of the License at
66 void Patch::copy(const int32_t* xDivs, const int32_t* yDivs) { function in class:android::uirenderer::Patch
71 void Patch::copy(const int32_t* yDivs) { function in class:android::uirenderer::Patch
82 copy(xDivs, yDivs);
88 // The Y divs may or may not match, copy everything
89 copy(xDivs, yDivs);
96 // We know all the X divs match, copy only Y divs
97 copy(yDivs);
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...]
/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/core/java/com/google/android/mms/pdu/
H A DEncodedStringValue.java7 * You may obtain a copy of the License at
264 public static EncodedStringValue copy(EncodedStringValue value) { method in class:EncodedStringValue
/frameworks/base/libs/ui/tests/
H A DInputEvent_test.cpp6 * You may obtain a copy of the License at
451 MotionEvent copy; local
452 copy.copyFrom(&event, true /*keepHistory*/);
461 MotionEvent copy; local
462 copy.copyFrom(&event, false /*keepHistory*/);
464 ASSERT_EQ(event.getPointerCount(), copy.getPointerCount());
465 ASSERT_EQ(0U, copy.getHistorySize());
467 ASSERT_EQ(event.getPointerId(0), copy.getPointerId(0));
468 ASSERT_EQ(event.getPointerId(1), copy.getPointerId(1));
470 ASSERT_EQ(event.getEventTime(), copy
[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/tools/preload/
H A DMemoryUsage.java6 * You may obtain a copy of the License at
240 copy(err, System.err);
274 private static void copy(InputStream in, OutputStream out) { method in class:MemoryUsage
/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/base/media/libstagefright/
H A DAudioPlayer.cpp6 * You may obtain a copy of the License at
431 size_t copy = size_remaining; local
432 if (copy > mInputBuffer->range_length()) {
433 copy = mInputBuffer->range_length();
438 copy);
440 mInputBuffer->set_range(mInputBuffer->range_offset() + copy,
441 mInputBuffer->range_length() - copy);
443 size_done += copy;
444 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/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/compile/libbcc/runtime/BlocksRuntime/
H A DBlock_private.h5 * to any person obtaining a copy of this software and associated documentation
7 * including without limitation the rights to use, copy, modify, merge, publish,
58 void (*copy)(void *dst, void *src); member in struct:Block_descriptor
92 /* Runtime support functions used by compiler when generating copy/dispose helpers. */
99 BLOCK_FIELD_IS_WEAK = 16, /* declared __weak, only used in byref copy helpers */
100 BLOCK_BYREF_CALLER = 128 /* called from __block (byref) copy/dispose support routines. */
103 /* Runtime entry point called by compiler when assigning objects inside copy helper routines */
105 /* BLOCK_FIELD_IS_BYREF is only used from within block copy helpers */
/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;
H A DVideoEditorAudioPlayer.cpp6 * You may obtain a copy of the License at
650 size_t copy = size_remaining; local
651 if (copy > mInputBuffer->range_length()) {
652 copy = mInputBuffer->range_length();
657 copy);
659 mInputBuffer->set_range(mInputBuffer->range_offset() + copy,
660 mInputBuffer->range_length() - copy);
662 size_done += copy;
663 size_remaining -= copy;
/frameworks/opt/mailcommon/java/com/android/mailcommon/
H A DWebViewContextMenu.java7 * You may obtain a copy of the License at
86 // For our copy menu items.
96 copy(mText);
137 private void copy(CharSequence text) { method in class:WebViewContextMenu
/frameworks/base/media/libstagefright/id3/
H A DID3.cpp6 * You may obtain a copy of the License at
152 void *copy = malloc(size); local
153 memcpy(copy, mData, size);
157 memcpy(mData, copy, size);
167 free(copy);
168 copy = NULL;
/frameworks/base/services/input/
H A DSpriteController.h6 * You may obtain a copy of the License at
68 inline SpriteIcon copy() const { function in struct:android::SpriteIcon
105 * The sprite retains a copy of the bitmap for subsequent rendering. */
211 * asynchronously with no locks held except in short critical section to copy

Completed in 873 milliseconds

12