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

1234567891011>>

/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/base/graphics/java/android/graphics/
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 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 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 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 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/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/base/core/tests/utiltests/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/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/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/core/java/android/content/res/
H A DGradientColor.java6 * You may obtain a copy of the License at
96 // NOTE: they need to be copied in the copy constructor!
127 private GradientColor(GradientColor copy) { argument
128 if (copy != null) {
129 mChangingConfigurations = copy.mChangingConfigurations;
130 mDefaultColor = copy.mDefaultColor;
131 mShader = copy.mShader;
132 mGradientType = copy.mGradientType;
133 mCenterX = copy.mCenterX;
134 mCenterY = copy
[all...]
/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/av/include/media/
H A DMediaProfiles.h7 ** You may obtain a copy of the License at
191 VideoCodec(const VideoCodec& copy) { argument
192 mCodec = copy.mCodec;
193 mBitRate = copy.mBitRate;
194 mFrameWidth = copy.mFrameWidth;
195 mFrameHeight = copy.mFrameHeight;
196 mFrameRate = copy.mFrameRate;
215 AudioCodec(const AudioCodec& copy) { argument
216 mCodec = copy.mCodec;
217 mBitRate = copy
239 CamcorderProfile(const CamcorderProfile& copy) argument
[all...]
/frameworks/native/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
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);
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...]
/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);
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DBluetoothPacketEncoder.java6 * You may obtain a copy of the License at
117 int copy = mAccumulationBuffer.length - mAccumulatedBytes;
118 if (copy > remaining) copy = remaining;
119 System.arraycopy(msg, offset, mAccumulationBuffer, mAccumulatedBytes, copy);
120 mAccumulatedBytes += copy;
121 offset += copy;
122 remaining -= copy;
148 // now copy data bytes
/frameworks/base/tools/aapt/
H A DFileFinder.cpp63 DirectoryWalker* copy = dw->clone(); local
64 findFiles(fullPath, extensions, fileStore,copy);
65 delete copy;
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DLocation.java6 * You may obtain a copy of the License at
180 Location copy = new Location(this);
181 boolean sameLine = copy.startLine == copy.endLine;
182 if (copy.startLine == 0) {
183 copy.startOffset += absoluteParent.startOffset;
186 copy.endOffset += absoluteParent.startOffset;
189 copy.startLine += absoluteParent.startLine;
190 copy.endLine += absoluteParent.startLine;
191 return copy;
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java6 * You may obtain a copy of the License at
514 private VClipPath_Delegate(VClipPath_Delegate copy) { argument
515 super(copy);
580 // Variables below need to be copied (deep copy if applicable) for mutation.
604 private VFullPath_Delegate(VFullPath_Delegate copy) { argument
605 super(copy);
607 mStrokeColor = copy.mStrokeColor;
608 mStrokeWidth = copy.mStrokeWidth;
609 mStrokeAlpha = copy.mStrokeAlpha;
610 mFillColor = copy
827 VGroup_Delegate(VGroup_Delegate copy, ArrayMap<String, Object> targetsMap) argument
973 VPath_Delegate(VPath_Delegate copy) argument
[all...]
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java5 * in compliance with the License. You may obtain a copy of the License at
781 // Deep copy for mutate() or implicitly mutate.
782 public VectorDrawableCompatState(VectorDrawableCompatState copy) { argument
783 if (copy != null) {
784 mChangingConfigurations = copy.mChangingConfigurations;
785 mVPathRenderer = new VPathRenderer(copy.mVPathRenderer);
786 if (copy.mVPathRenderer.mFillPaint != null) {
787 mVPathRenderer.mFillPaint = new Paint(copy.mVPathRenderer.mFillPaint);
789 if (copy.mVPathRenderer.mStrokePaint != null) {
790 mVPathRenderer.mStrokePaint = new Paint(copy
952 VPathRenderer(VPathRenderer copy) argument
1143 VGroup(VGroup copy, ArrayMap<String, Object> targetsMap) argument
1374 VPath(VPath copy) argument
1427 VClipPath(VClipPath copy) argument
1493 VFullPath(VFullPath copy) argument
[all...]
/frameworks/av/media/libnbaio/
H A DNBLog.cpp6 * You may obtain a copy of the License at
188 // The Entry could have a method copyTo(ptr, offset, size) to optimize the copy.
305 // make a copy to avoid race condition with writer
306 uint8_t *copy = new uint8_t[avail]; local
307 // copy first part of circular buffer up until the wraparound point
308 memcpy(copy, &mShared->mBuffer[front], read);
311 // copy second part of circular buffer starting at beginning
312 memcpy(&copy[read], mShared->mBuffer, remaining);
324 length = copy[i - 1];
325 if (length + 3 > i || copy[
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp6 * You may obtain a copy of the License at
519 size_t copy = buffer->size(); local
520 if(copy > bytesMissingForFullAU) {
521 copy = bytesMissingForFullAU;
526 copy);
528 mPartialAudioAU->setRange(0, mPartialAudioAU->size() + copy);
530 buffer->setRange(buffer->offset() + copy, buffer->size() - copy);
535 int64_t copyUs = (int64_t)((copy / kFrameSize) * 1E6 / 48000.0);
539 if (bytesMissingForFullAU == copy) {
568 size_t copy = buffer->size(); local
[all...]

Completed in 478 milliseconds

1234567891011>>