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

1234

/frameworks/wilhelm/tools/hashgen/
H A Dtest.c6 * You may obtain a copy of the License at
39 const struct SLInterfaceID_ copy = *original; local
40 MPH = IID_to_MPH(&copy);
42 fprintf(stderr, "error: IID_to_MPH(copy) = %d != %d\n", MPH, i);
/frameworks/av/include/private/media/
H A DVideoFrame.h7 ** You may obtain a copy of the License at
36 VideoFrame(const VideoFrame& copy) { argument
37 mWidth = copy.mWidth;
38 mHeight = copy.mHeight;
39 mDisplayWidth = copy.mDisplayWidth;
40 mDisplayHeight = copy.mDisplayHeight;
41 mSize = copy.mSize;
43 if (mSize > 0 && copy.mData != NULL) {
46 memcpy(mData, copy.mData, mSize);
51 mRotationAngle = copy
[all...]
/frameworks/av/media/libstagefright/
H A DDataURISource.cpp6 * You may obtain a copy of the License at
93 size_t copy = mBuffer->size() - offset; local
94 if (copy > size) {
95 copy = size;
98 memcpy(data, mBuffer->data() + offset, copy);
100 return copy;
/frameworks/base/graphics/java/android/graphics/
H A DBitmapShader.java6 * You may obtain a copy of the License at
68 protected Shader copy() { method in class:BitmapShader
69 final BitmapShader copy = new BitmapShader(mBitmap, mTileX, mTileY);
70 copyLocalMatrix(copy);
71 return copy;
H A DComposeShader.java6 * You may obtain a copy of the License at
94 protected Shader copy() { method in class:ComposeShader
95 final ComposeShader copy = new ComposeShader(
96 mShaderA.copy(), mShaderB.copy(), mPorterDuffMode);
97 copyLocalMatrix(copy);
98 return copy;
H A DShader.java6 * You may obtain a copy of the License at
139 protected Shader copy() { method in class:Shader
140 final Shader copy = new Shader();
141 copyLocalMatrix(copy);
142 return copy;
H A DSweepGradient.java6 * You may obtain a copy of the License at
102 protected Shader copy() { method in class:SweepGradient
103 final SweepGradient copy;
105 copy = new SweepGradient(mCx, mCy, mColors.clone(),
108 copy = new SweepGradient(mCx, mCy, mColor0, mColor1);
110 copyLocalMatrix(copy);
111 return copy;
H A DLinearGradient.java6 * You may obtain a copy of the License at
117 protected Shader copy() { method in class:LinearGradient
118 final LinearGradient copy;
120 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(),
123 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColor0, mColor1, mTileMode);
125 copyLocalMatrix(copy);
126 return copy;
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCameraSettings.java6 * You may obtain a copy of the License at
80 public CameraSettings copy() { method in class:AndroidCameraSettings
/frameworks/native/opengl/tools/glgen/src/
H A DGenerateEGL.java6 * You may obtain a copy of the License at
26 private static void copy(String filename, PrintStream out) throws IOException { method in class:GenerateEGL
52 copy(javaPath, glStream);
53 copy(stubRoot + ".cpp", cStream);
96 copy("stubs/egl/" + suffix + "Header.java-if", egljStream);
97 copy("stubs/egl/" + suffix + "cHeader.cpp", eglcStream);
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
51 copy(javaPath, glStream);
52 copy(stubRoot + ".cpp", cStream);
99 copy("stubs/gles11/" + suffix + "Header.java-if", gl11Stream);
100 copy("stubs/gles11/" + suffix + "cHeader.cpp", gl11cStream);
101 copy("stubs/gles11/common.cpp", gl11cStream);
/frameworks/wilhelm/tests/sandbox/
H A Dengine.c6 * You may obtain a copy of the License at
145 // Use a copy of the interface ID to make sure lookup is not purely relying on address
147 struct SLInterfaceID_ copy = *engine_ids[index]; local
148 result = (*engineObject)->GetInterface(engineObject, &copy, &interface_again);
152 printf("copy = ");
153 slesutPrintIID(&copy);
/frameworks/av/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;
152 if (mem == NULL || mem->size() < copy || mem->size() - copy < entry->mOffset) {
159 copy);
161 entry->mOffset += copy;
162 entry->mSize -= copy;
170 return copy;
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DCellSignalStrength.java6 * You may obtain a copy of the License at
73 * @return A deep copy of this class.
76 public abstract CellSignalStrength copy(); method in class:CellSignalStrength
/frameworks/base/tools/aapt/
H A DFileFinder.cpp63 DirectoryWalker* copy = dw->clone(); local
64 findFiles(fullPath, extensions, fileStore,copy);
65 delete copy;
/frameworks/av/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);
H A DHTTPDownloader.cpp6 * You may obtain a copy of the License at
159 sp<ABuffer> copy = new ABuffer(buffer->size() + bufferRemaining); local
160 memcpy(copy->data(), buffer->data(), buffer->size());
161 copy->setRange(0, buffer->size());
163 buffer = copy;
/frameworks/base/core/java/org/apache/http/params/
H A DHttpParams.java13 * with the License. You may obtain a copy of the License at
72 * Creates a copy of these parameters.
76 HttpParams copy(); method in interface:HttpParams
/frameworks/base/tools/aapt2/util/
H A DMaybe.h6 * You may obtain a copy of the License at
99 Maybe& copy(const Maybe<U>& rhs);
162 return copy(rhs);
168 return copy(rhs);
173 Maybe<T>& Maybe<T>::copy(const Maybe<U>& rhs) { function in class:aapt::Maybe
/frameworks/compile/mclinker/lib/MC/
H A DAttribute.cpp109 Attribute* copy = new Attribute(*m_pBase); local
110 copy->setWholeArchive();
111 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
115 Attribute* copy = new Attribute(*m_pBase); local
116 copy->unsetWholeArchive();
117 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
121 Attribute* copy = new Attribute(*m_pBase); local
122 copy->setAsNeeded();
123 ReplaceOrRecord(m_AttrPool, m_pBase, copy);
127 Attribute* copy local
133 Attribute* copy = new Attribute(*m_pBase); local
139 Attribute* copy = new Attribute(*m_pBase); local
145 Attribute* copy = new Attribute(*m_pBase); local
151 Attribute* copy = new Attribute(*m_pBase); local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
H A DSoftAMRNBEncoder.cpp6 * You may obtain a copy of the License at
325 size_t copy = numBytesPerInputFrame - mInputSize; local
326 if (copy > inHeader->nFilledLen) {
327 copy = inHeader->nFilledLen;
334 memcpy((uint8_t *)mInputFrame + mInputSize, inData, copy);
335 mInputSize += copy;
337 inHeader->nOffset += copy;
338 inHeader->nFilledLen -= copy;
343 (copy * 1000000ll / kSampleRate) / sizeof(int16_t);
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp6 * You may obtain a copy of the License at
102 size_t copy = size - numBytesRead; local
104 if (copy > 64 * 1024) {
107 copy = 64 * 1024;
111 offset + numBytesRead, (uint8_t *)data + numBytesRead, copy);
/frameworks/base/core/java/android/service/notification/
H A DCondition.java6 * You may obtain a copy of the License at
202 public Condition copy() { method in class:Condition
/frameworks/base/core/java/android/view/
H A DInputEvent.java6 * You may obtain a copy of the License at
100 * @return A deep copy of the event.
103 public abstract InputEvent copy(); method in class:InputEvent

Completed in 262 milliseconds

1234