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

1234

/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
54 protected Shader copy() { method in class:BitmapShader
55 final BitmapShader copy = new BitmapShader(mBitmap, mTileX, mTileY);
56 copyLocalMatrix(copy);
57 return copy;
H A DComposeShader.java6 * You may obtain a copy of the License at
80 protected Shader copy() { method in class:ComposeShader
81 final ComposeShader copy;
84 copy = new ComposeShader(mShaderA.copy(), mShaderB.copy(), mXferMode);
87 copy = new ComposeShader(mShaderA.copy(), mShaderB.copy(), mPorterDuffMode);
93 copyLocalMatrix(copy);
[all...]
H A DLinearGradient.java6 * You may obtain a copy of the License at
97 protected Shader copy() { method in class:LinearGradient
98 final LinearGradient copy;
101 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(),
105 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColor0, mColor1, mTileMode);
111 copyLocalMatrix(copy);
112 return copy;
H A DShader.java6 * You may obtain a copy of the License at
101 protected Shader copy() { method in class:Shader
102 final Shader copy = new Shader();
103 copyLocalMatrix(copy);
104 return copy;
H A DSweepGradient.java6 * You may obtain a copy of the License at
89 protected Shader copy() { method in class:SweepGradient
90 final SweepGradient copy;
93 copy = new SweepGradient(mCx, mCy, mColors.clone(),
97 copy = new SweepGradient(mCx, mCy, mColor0, mColor1);
103 copyLocalMatrix(copy);
104 return copy;
H A DRadialGradient.java6 * You may obtain a copy of the License at
102 protected Shader copy() { method in class:RadialGradient
103 final RadialGradient copy;
106 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(),
110 copy = new RadialGradient(mX, mY, mRadius, mCenterColor, mEdgeColor, mTileMode);
116 copyLocalMatrix(copy);
117 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
144 // Use a copy of the interface ID to make sure lookup is not purely relying on address
146 struct SLInterfaceID_ copy = *engine_ids[index]; local
147 result = (*engineObject)->GetInterface(engineObject, &copy, &interface_again);
/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
96 Maybe& copy(const Maybe<U>& rhs);
165 return copy(rhs);
171 return copy(rhs);
176 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
329 size_t copy = numBytesPerInputFrame - mInputSize; local
330 if (copy > inHeader->nFilledLen) {
331 copy = inHeader->nFilledLen;
338 memcpy((uint8_t *)mInputFrame + mInputSize, inData, copy);
339 mInputSize += copy;
341 inHeader->nOffset += copy;
342 inHeader->nFilledLen -= copy;
347 (copy * 1000000ll / kSampleRate) / sizeof(int16_t);
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp6 * You may obtain a copy of the License at
98 size_t copy = size - numBytesRead; local
100 if (copy > 64 * 1024) {
103 copy = 64 * 1024;
107 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 501 milliseconds

1234