Searched refs:res (Results 1 - 25 of 1361) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.aidl17 package android.content.res;
H A DConfiguration.aidl18 package android.content.res;
H A DObbInfo.aidl17 package android.content.res;
H A DConstantState.java16 package android.content.res;
50 public T newInstance(Resources res) { argument
58 public T newInstance(Resources res, Resources.Theme theme) { argument
59 return newInstance(res);
/frameworks/support/v4/ics-mr1/android/support/v4/content/res/
H A DResourcesCompatIcsMr1.java17 package android.support.v4.content.res;
19 import android.content.res.Resources;
20 import android.content.res.Resources.NotFoundException;
21 import android.content.res.Resources.Theme;
25 public static Drawable getDrawableForDensity(Resources res, int id, int density) argument
27 return res.getDrawableForDensity(id, density);
/frameworks/support/v4/api21/android/support/v4/content/res/
H A DResourcesCompatApi21.java17 package android.support.v4.content.res;
19 import android.content.res.Resources;
20 import android.content.res.Resources.NotFoundException;
21 import android.content.res.Resources.Theme;
25 public static Drawable getDrawable(Resources res, int id, Theme theme) argument
27 return res.getDrawable(id, theme);
30 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme) argument
32 return res.getDrawableForDensity(id, density, theme);
/frameworks/support/v4/java/android/support/v4/content/res/
H A DResourcesCompat.java17 package android.support.v4.content.res;
19 import android.content.res.Resources;
20 import android.content.res.Resources.NotFoundException;
21 import android.content.res.Resources.Theme;
26 * Helper for accessing features in {@link android.content.res.Resources}
49 public static Drawable getDrawable(Resources res, int id, Theme theme) argument
53 return ResourcesCompatApi21.getDrawable(res, id, theme);
55 return res.getDrawable(id);
82 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme) argument
86 return ResourcesCompatApi21.getDrawableForDensity(res, i
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp88 status_t res; local
90 if ((res = getBufferPreconditionCheckLocked()) != OK) {
91 return res;
111 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd);
113 if (res != OK) {
115 __FUNCTION__, mId, strerror(-res), res);
116 return res;
134 status_t res = returnAnyBufferLocked(buffer, timestamp, /*output*/true); local
136 if (res !
155 status_t res; local
250 status_t res = OK; local
269 status_t res; local
367 status_t res; local
400 status_t res; local
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DNullaryOp.cpp22 IntOperand* res = result(); local
23 res->setValue(pBackend.sectionStartOffset());
24 return res;
32 IntOperand* res = result(); local
33 res->setValue(pBackend.abiPageSize());
34 return res;
42 IntOperand* res = result(); local
43 res->setValue(pBackend.commonPageSize());
44 return res;
H A DBinaryOp.cpp26 IntOperand* res = result(); local
27 res->setValue(m_pOperand[0]->value() * m_pOperand[1]->value());
28 return res;
35 IntOperand* res = result(); local
36 res->setValue(m_pOperand[0]->value() / m_pOperand[1]->value());
37 return res;
44 IntOperand* res = result(); local
45 res->setValue(m_pOperand[0]->value() % m_pOperand[1]->value());
46 return res;
53 IntOperand* res local
62 IntOperand* res = result(); local
71 IntOperand* res = result(); local
80 IntOperand* res = result(); local
89 IntOperand* res = result(); local
98 IntOperand* res = result(); local
107 IntOperand* res = result(); local
116 IntOperand* res = result(); local
125 IntOperand* res = result(); local
134 IntOperand* res = result(); local
144 IntOperand* res = result(); local
154 IntOperand* res = result(); local
164 IntOperand* res = result(); local
174 IntOperand* res = result(); local
184 IntOperand* res = result(); local
193 IntOperand* res = result(); local
208 IntOperand* res = result(); local
219 IntOperand* res = result(); local
231 IntOperand* res = result(); local
246 IntOperand* res = result(); local
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DAppErrorResult.java20 public void set(int res) { argument
23 mResult = res;
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchBaseTest.java19 import android.content.res.Resources;
22 boolean init(RenderScriptGL rs, Resources res); argument
/frameworks/base/core/jni/
H A Dandroid_server_NetworkManagementSocketTagger.cpp43 int res = qtaguid_tagSocket(userFd, tagNum, uid); local
44 if (res < 0) {
47 return (jint)res;
59 int res = qtaguid_untagSocket(userFd); local
60 if (res < 0) {
63 return (jint)res;
69 int res = qtaguid_setCounterSet(setNum, uid); local
70 if (res < 0) {
73 return (jint)res;
79 int res local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DTypedArray_Delegate.java17 package android.content.res;
32 /*package*/ static TypedArray obtain(Resources res, int len) { argument
33 return BridgeTypedArray.obtain(res, len);
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestPlayUri.cpp132 SLresult res; local
152 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
153 CheckErr(res);
167 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0,
168 iidArray, required); CheckErr(res);
171 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE);
172 CheckErr(res);
191 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
192 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res);
195 res
325 SLresult res; local
[all...]
H A DslesTestGetPositionUri.cpp69 SLresult res = (*caller)->GetFillLevel(caller, &level); CheckErr(res); local
72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res);
96 SLresult res; local
100 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res);
113 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res);
118 res
134 SLresult res; local
316 SLresult res; local
[all...]
H A DslesTestLoopUri.cpp129 SLresult res; local
149 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
150 CheckErr(res);
161 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0,
162 iidArray, required); CheckErr(res);
165 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE);
166 CheckErr(res);
189 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
190 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res);
193 res
291 SLresult res; local
[all...]
H A DslesTestManyPlayers.cpp76 SLresult res; local
79 res = (*caller)->GetFillLevel(caller, &level); CheckErrPlyr(res, *pPlayerId);
82 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErrPlyr(res, *pPlayerId);
107 SLresult res; local
116 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerId);
123 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerI
134 SLresult res; local
209 SLresult res; local
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestSawtoothBufferQueue.cpp59 void CheckErr( SLresult res )
61 if ( res != SL_RESULT_SUCCESS )
63 fprintf(stdout, "%u SL failure, exiting\n", res);
67 //fprintf(stdout, "%d SL success, proceeding...\n", res);
88 SLresult res; local
95 res = (*queueItf)->Enqueue(queueItf, (void*) pCntxt->pData,
97 CheckErr(res);
112 SLresult res; local
138 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
139 CheckErr(res);
277 SLresult res; local
[all...]
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp74 status_t res; local
76 res = Camera2ClientBase::initialize(module);
77 if (res != OK) {
78 return res;
84 res = l.mParameters.initialize(&(mDevice->info()), mDeviceVersion);
85 if (res != OK) {
87 __FUNCTION__, mCameraId, strerror(-res), res);
528 status_t res; local
529 if ( (res
546 status_t res; local
613 status_t res = OK; local
666 status_t res; local
718 status_t res; local
726 status_t res; local
888 status_t res; local
895 status_t res; local
957 status_t res; local
967 status_t res; local
992 status_t res; local
1000 status_t res; local
1191 status_t res; local
1269 status_t res; local
1348 status_t res; local
1393 status_t res; local
1499 status_t res; local
1533 status_t res; local
1636 status_t res; local
1669 status_t res = OK; local
1898 status_t res; local
1973 status_t res; local
2001 status_t res; local
2049 status_t res = updateProcessorStream(mJpegProcessor, params); local
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DStreamingProcessor.cpp64 status_t res; local
66 res = deletePreviewStream();
67 if (res != OK) return res;
83 status_t res; local
101 res = device->createDefaultRequest(CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG,
104 res = device->createDefaultRequest(CAMERA3_TEMPLATE_PREVIEW,
108 res = device->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW,
112 if (res != OK) {
114 "%s (%d)", __FUNCTION__, mId, strerror(-res), re
142 status_t res; local
205 status_t res; local
283 status_t res; local
323 status_t res; local
361 status_t res; local
439 status_t res; local
474 status_t res; local
536 status_t res; local
584 status_t res; local
649 status_t res; local
670 status_t res; local
794 status_t res; local
856 status_t res; local
[all...]
/frameworks/av/camera/
H A DCaptureResult.cpp81 status_t res = OK; local
82 res = mMetadata.readFromParcel(parcel);
83 if (res != OK) {
86 return res;
90 res = mResultExtras.readFromParcel(parcel);
91 if (res != OK) {
94 return res;
110 status_t res; local
112 res = mMetadata.writeToParcel(parcel);
113 if (res !
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastidct.cpp329 int res, res2; local
341 res = tmp + (pred_word & 0xFF);
342 CLIP_RESULT(res);
345 dst_word = (res2 << 8) | res;
346 res = tmp + ((pred_word >> 16) & 0xFF);
347 CLIP_RESULT(res);
348 dst_word |= (res << 16);
349 res = tmp + ((pred_word >> 24) & 0xFF);
350 CLIP_RESULT(res);
351 dst_word |= (res << 2
376 int res, res2; local
435 int res, res2; local
505 int res, res2; local
581 int res, res2; local
638 int res, res2; local
694 int res, res2; local
749 int res, res2; local
870 int res, res2; local
925 int res, res2; local
991 int res, res2; local
1064 int res, res2; local
1119 int res, res2; local
1172 int res, res2; local
1225 int res, res2; local
1324 int res, res2; local
1372 int res, res2; local
1432 int res, res2; local
1503 int res, res2; local
1580 int res, res2; local
1638 int res, res2; local
1695 int res, res2; local
1751 int res, res2; local
[all...]
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp63 void CheckErr( SLresult res )
65 if ( res != SL_RESULT_SUCCESS ) {
66 fprintf(stderr, "%u SL failure, exiting\n", res);
106 SLresult res; local
126 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
127 CheckErr(res);
141 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0,
142 iidArray, required); CheckErr(res);
145 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE);
146 CheckErr(res);
269 SLresult res; member in class:MimeUri
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DDouble3.java51 Double3 res = new Double3();
52 res.x = a.x + b.x;
53 res.y = a.y + b.y;
54 res.z = a.z + b.z;
56 return res;
89 Double3 res = new Double3();
90 res.x = a.x + b;
91 res.y = a.y + b;
92 res.z = a.z + b;
94 return res;
[all...]

Completed in 642 milliseconds

1234567891011>>