Searched refs:copy (Results 1 - 25 of 491) 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/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/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 DRadialGradient.java6 * You may obtain a copy of the License at
117 protected Shader copy() { method in class:RadialGradient
118 final RadialGradient copy;
120 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(),
123 copy = new RadialGradient(mX, mY, mRadius, mCenterColor, mEdgeColor, mTileMode);
125 copyLocalMatrix(copy);
126 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 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 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/base/wifi/tests/src/android/net/wifi/
H A DWifiConfigurationTest.java6 * You may obtain a copy of the License at
41 * Marshall and unmashall it, and expect to recover a copy of the original.
76 NetworkSelectionStatus copy = new NetworkSelectionStatus();
77 copy.copy(networkSelectionStatus);
79 assertEquals(networkSelectionStatus.isNotRecommended(), copy.isNotRecommended());
96 NetworkSelectionStatus copy = new NetworkSelectionStatus();
97 copy.readFromParcel(parcelR);
99 assertEquals(networkSelectionStatus.isNotRecommended(), copy.isNotRecommended());
/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/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
216 VideoCodec(const VideoCodec& copy) { argument
217 mCodec = copy.mCodec;
218 mBitRate = copy.mBitRate;
219 mFrameWidth = copy.mFrameWidth;
220 mFrameHeight = copy.mFrameHeight;
221 mFrameRate = copy.mFrameRate;
240 AudioCodec(const AudioCodec& copy) { argument
241 mCodec = copy.mCodec;
242 mBitRate = copy
264 CamcorderProfile(const CamcorderProfile& copy) argument
[all...]
/frameworks/av/media/libmedia/include/media/
H A DMediaProfiles.h7 ** You may obtain a copy of the License at
216 VideoCodec(const VideoCodec& copy) { argument
217 mCodec = copy.mCodec;
218 mBitRate = copy.mBitRate;
219 mFrameWidth = copy.mFrameWidth;
220 mFrameHeight = copy.mFrameHeight;
221 mFrameRate = copy.mFrameRate;
240 AudioCodec(const AudioCodec& copy) { argument
241 mCodec = copy.mCodec;
242 mBitRate = copy
264 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/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorEventQueue.cpp6 * You may obtain a copy of the License at
90 size_t copy = std::min(count, mQueue.size()); local
91 for (size_t i = 0; i < copy; ++i) {
94 mQueue.erase(mQueue.begin(), mQueue.begin() + copy);
96 LOG(VERBOSE) << "ASensorEventQueue::getEvents() returned " << copy << " events.";
98 return 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);
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DBluetoothPacketEncoder.java6 * You may obtain a copy of the License at
122 int copy = mAccumulationBuffer.length - mAccumulatedBytes;
123 if (copy > remaining) copy = remaining;
124 System.arraycopy(msg, offset, mAccumulationBuffer, mAccumulatedBytes, copy);
125 mAccumulatedBytes += copy;
126 offset += copy;
127 remaining -= copy;
153 // now copy data bytes
/frameworks/base/tools/bit/
H A Dcommand.cpp6 * You may obtain a copy of the License at
75 map<string,string> copy; local
81 copy[name] = value;
85 copy[it->first] = it->second;
87 char** result = (char**)malloc(sizeof(char*)*(copy.size()+1));
89 for (map<string,string>::const_iterator it=copy.begin(); it!=copy.end(); it++) {
/frameworks/support/transition/src/android/support/transition/
H A DTransitionUtils.java6 * You may obtain a copy of the License at
35 * Creates a View using the bitmap copy of <code>view</code>. If <code>view</code> is large,
36 * the copy will use a scaled bitmap of the given view.
38 * @param sceneRoot The ViewGroup in which the view copy will be displayed.
39 * @param view The view to create a copy of.
54 ImageView copy = new ImageView(view.getContext());
55 copy.setScaleType(ImageView.ScaleType.CENTER_CROP);
58 copy.setImageBitmap(bitmap);
62 copy.measure(widthSpec, heightSpec);
63 copy
[all...]

Completed in 453 milliseconds

1234567891011>>