/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.aidl | 17 package android.content.res;
|
H A D | Configuration.aidl | 18 package android.content.res;
|
H A D | ObbInfo.aidl | 17 package android.content.res;
|
H A D | ConstantState.java | 16 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/compile/mclinker/lib/Script/ |
H A D | NullaryOp.cpp | 22 IntOperand* res = result(); local 23 res->setValue(pBackend.sectionStartOffset()); 24 return res; 31 IntOperand* res = result(); local 32 res->setValue(pBackend.abiPageSize()); 33 return res; 40 IntOperand* res = result(); local 41 res->setValue(pBackend.commonPageSize()); 42 return res;
|
H A D | BinaryOp.cpp | 29 IntOperand* res = result(); local 30 res->setValue(m_pOperand[0]->value() * m_pOperand[1]->value()); 31 return res; 37 IntOperand* res = result(); local 38 res->setValue(m_pOperand[0]->value() / m_pOperand[1]->value()); 39 return res; 45 IntOperand* res = result(); local 46 res->setValue(m_pOperand[0]->value() % m_pOperand[1]->value()); 47 return res; 53 IntOperand* res local 61 IntOperand* res = result(); local 69 IntOperand* res = result(); local 77 IntOperand* res = result(); local 85 IntOperand* res = result(); local 93 IntOperand* res = result(); local 101 IntOperand* res = result(); local 109 IntOperand* res = result(); local 117 IntOperand* res = result(); local 125 IntOperand* res = result(); local 134 IntOperand* res = result(); local 143 IntOperand* res = result(); local 152 IntOperand* res = result(); local 161 IntOperand* res = result(); local 170 IntOperand* res = result(); local 178 IntOperand* res = result(); local 192 IntOperand* res = result(); local 202 IntOperand* res = result(); local 213 IntOperand* res = result(); local 226 IntOperand* res = result(); local [all...] |
H A D | TernaryOp.cpp | 23 IntOperand* res = result(); local 25 res->setValue(m_pOperand[1]->value()); 27 res->setValue(m_pOperand[2]->value()); 28 return res; 41 IntOperand* res = result(); local 53 res->setValue(form1); 55 res->setValue(form2); 56 return res;
|
/frameworks/support/v4/ics-mr1/android/support/v4/content/res/ |
H A D | ResourcesCompatIcsMr1.java | 17 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 D | ResourcesCompatApi21.java | 17 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 D | ResourcesCompat.java | 17 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 D | Camera3OutputStream.cpp | 92 status_t res; local 94 if ((res = getBufferPreconditionCheckLocked()) != OK) { 95 return res; 115 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd); 117 if (res != OK) { 119 __FUNCTION__, mId, strerror(-res), res); 120 return res; 138 status_t res = returnAnyBufferLocked(buffer, timestamp, /*output*/true); local 140 if (res ! 159 status_t res; local 245 status_t res = OK; local 264 status_t res; local 373 status_t res; local 406 status_t res; local [all...] |
/frameworks/base/core/jni/ |
H A D | core_jni_helpers.h | 35 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); local 36 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); 37 return res; 42 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); local 43 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find method %s", method_name); 44 return res; 49 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); local 50 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); 51 return res; 56 jmethodID res local 63 jobject res = env->NewGlobalRef(in); local 70 int res = AndroidRuntime::registerNativeMethods(env, className, gMethods, numMethods); local [all...] |
H A D | android_server_NetworkManagementSocketTagger.cpp | 43 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/packages/SettingsLib/src/com/android/settingslib/applications/ |
H A D | InterestingConfigChanges.java | 20 import android.content.res.Configuration; 21 import android.content.res.Resources; 27 public boolean applyNewConfig(Resources res) { argument 28 int configChanges = mLastConfiguration.updateFrom(res.getConfiguration()); 29 boolean densityChanged = mLastDensity != res.getDisplayMetrics().densityDpi; 32 mLastDensity = res.getDisplayMetrics().densityDpi;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppErrorResult.java | 20 public void set(int res) { argument 23 mResult = res;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | RsBenchBaseTest.java | 19 import android.content.res.Resources; 22 boolean init(RenderScriptGL rs, Resources res); argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | TypedArray_Delegate.java | 17 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 D | slesTestPlayUri.cpp | 132 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 D | slesTestGetPositionUri.cpp | 69 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 D | slesTestLoopUri.cpp | 129 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...] |
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 74 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 894 status_t res; local 901 status_t res; local 963 status_t res; local 973 status_t res; local 998 status_t res; local 1006 status_t res; local 1197 status_t res; local 1275 status_t res; local 1354 status_t res; local 1399 status_t res; local 1508 status_t res; local 1542 status_t res; local 1648 status_t res; local 1681 status_t res = OK; local 1956 status_t res = OK; local 1998 status_t res; local 2073 status_t res; local 2101 status_t res; local 2149 status_t res = updateProcessorStream(mJpegProcessor, params); local [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraFlashlight.cpp | 56 status_t res = OK; local 71 res = mCameraModule->getCameraInfo( 73 if (res) { 76 return res; 109 status_t res = OK; local 131 res = createFlashlightControl(cameraId); 132 if (res) { 133 return res; 135 res = mFlashControl->setTorchMode(cameraId, enabled); 136 return res; 158 status_t res; local 195 status_t res; local 316 status_t res = mCameraModule->getCameraInfo(atoi(cameraId.string()), local 379 status_t res; local 469 status_t res = mCameraModule->getCameraInfo(atoi(cameraId.string()), &info); local 532 status_t res = mCameraModule->getCameraInfo( local 552 status_t res; local 592 status_t res = hasFlashUnitLocked(cameraId, &hasFlash); local 676 status_t res; local 725 status_t res; local 749 status_t res = OK; local 794 status_t res; local 832 status_t res = device->initialize(mCameraModule); local 873 status_t res = native_window_api_disconnect(mSurface.get(), local [all...] |
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestSawtoothBufferQueue.cpp | 59 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/client2/ |
H A D | StreamingProcessor.cpp | 69 status_t res; local 71 res = deletePreviewStream(); 72 if (res != OK) return res; 88 status_t res; local 106 res = device->createDefaultRequest(CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG, 109 res = device->createDefaultRequest(CAMERA3_TEMPLATE_PREVIEW, 113 res = device->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, 117 if (res != OK) { 119 "%s (%d)", __FUNCTION__, mId, strerror(-res), re 147 status_t res; local 211 status_t res; local 329 status_t res; local 369 status_t res; local 411 status_t res; local 496 status_t res; local 531 status_t res; local 593 status_t res; local 641 status_t res; local 706 status_t res; local 727 status_t res; local 853 status_t res; local 914 status_t res; local [all...] |
/frameworks/av/camera/ |
H A D | CaptureResult.cpp | 81 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...] |