/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | dcac_prediction.cpp | 48 int32 val; local 157 val = (int32)(*AC_tmp++) * QP_tmp; 158 q_block[i] = (val < 0) ? (int16)((val - QP_half) / QP) : (int16)((val + QP_half) / QP); 186 val = (int32)(*AC_tmp++) * QP_tmp; 187 q_block[i<<3] = (val < 0) ? (int16)((val - QP_half) / QP) : (int16)((val + QP_half) / QP);
|
/frameworks/base/core/jni/ |
H A D | android_os_SystemProperties.cpp | 167 const char* val; local 176 val = ""; /* NULL pointer not allowed here */ 178 val = env->GetStringUTFChars(valJ, NULL); 181 err = property_set(key, val); 186 env->ReleaseStringUTFChars(valJ, val);
|
H A D | android_util_Binder.cpp | 547 jobject javaObjectForIBinder(JNIEnv* env, const sp<IBinder>& val) argument 549 if (val == NULL) return NULL; 551 if (val->checkSubclass(&gBinderOffsets)) { 553 jobject object = static_cast<JavaBBinder*>(val.get())->object(); 554 LOGDEATH("objectForBinder %p: it's our own %p!\n", val.get(), object); 563 jobject object = (jobject)val->findObject(&gBinderProxyOffsets); 567 ALOGV("objectForBinder %p: found existing %p!\n", val.get(), res); 570 LOGDEATH("Proxy object %p of IBinder %p no longer in working set!!!", object, val.get()); 572 val->detachObject(&gBinderProxyOffsets); 578 LOGDEATH("objectForBinder %p: created new proxy %p !\n", val 1032 push_eventlog_int(char** pos, const char* end, jint val) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | Metadata.java | 528 * Check val is either a system id or a custom one. 529 * @param val Metadata key to test. 532 private boolean checkMetadataId(final int val) { argument 533 if (val <= ANY || (LAST_SYSTEM < val && val < FIRST_CUSTOM)) { 534 Log.e(TAG, "Invalid metadata ID " + val);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | DataUsageDetailView.java | 116 double val; 119 val = b / GB; 122 val = b / MB; 125 val = b / KB; 128 return FORMAT.format(val * (bytes < 0 ? -1 : 1)) + " " + suffix;
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceValues.h | 53 void setWeak(bool val) { argument 54 mWeak = val; 198 void setTranslateable(bool val); 216 void setTranslateable(bool val); 250 BinaryPrimitive(const android::Res_value& val);
|
H A D | ResourceValues.cpp | 117 void String::setTranslateable(bool val) { argument 118 mTranslateable = val; 150 void StyledString::setTranslateable(bool val) { argument 151 mTranslateable = val; 204 BinaryPrimitive::BinaryPrimitive(const android::Res_value& val) : value(val) { argument 420 android::Res_value val = {}; local 421 item->flatten(&val); 425 if (!(mask & ResourceUtils::androidTypeToAttributeTypeMask(val.dataType))) { 431 } else if (ResourceUtils::androidTypeToAttributeTypeMask(val [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | PseudolocaleGenerator_test.cpp | 85 String* val = test::getValue<String>(table.get(), u"@android:string/four"); local 86 val->setTranslateable(false); 106 val = test::getValueForConfig<String>(table.get(), u"@android:string/three", 108 ASSERT_NE(nullptr, val); 109 EXPECT_EQ(std::u16string(u"three"), *val->value);
|
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/androidTest/java/com/android/databinding/multimoduletestapp/ |
H A D | EventIdsTest.java | 123 Integer val = mCounter.get(propertyId); 124 return val == null ? 0 : val;
|
/frameworks/base/core/java/android/os/ |
H A D | CommonTimeUtils.java | 70 public int transactSetInt(int method_code, int val) { argument 76 data.writeInt(val); 112 public int transactSetLong(int method_code, long val) { argument 118 data.writeLong(val); 154 public int transactSetString(int method_code, String val) { argument 160 data.writeString(val);
|
H A D | IPowerManager.aidl | 57 void setStayOnSetting(int val);
|
/frameworks/base/tools/aapt2/flatten/ |
H A D | TableFlattener_test.cpp | 79 Res_value val; local 81 if (table->getResource(expectedId.id, &val, false, 0, &specFlags, &config) < 0) { 85 if (expectedDataType != val.dataType) { 89 << (int) val.dataType << std::dec << " instead"; 92 if (expectedData != val.data) { 96 << val.data << std::dec << " instead";
|
H A D | TableFlattener.cpp | 86 BinaryPrimitive val(Res_value::TYPE_INT_DEC, attr->typeMask); 87 flattenEntry(&key, &val); 92 BinaryPrimitive val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->minInt)); 93 flattenEntry(&key, &val); 98 BinaryPrimitive val(Res_value::TYPE_INT_DEC, static_cast<uint32_t>(attr->maxInt)); 99 flattenEntry(&key, &val); 103 BinaryPrimitive val(Res_value::TYPE_INT_DEC, s.value); 104 flattenEntry(&s.symbol, &val); 125 BinaryPrimitive val(Res_value{}); 126 flattenEntry(&attrRef, &val); [all...] |
/frameworks/native/libs/binder/tests/ |
H A D | binderThroughputTest.cpp | 73 bool val = true; local 74 int error = write(m_writeFd, &val, sizeof(val)); 78 bool val = false; local 79 int error = read(m_readFd, &val, sizeof(val));
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AUtils.h | 90 inline static T periodicError(const T &val, const T &period) { argument 91 T err = abs(val) % period;
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | DisplayModifier.java | 58 float val = 0; 61 gLinePts[index + 1] = val; 63 gLinePts[index + 3] = val; 65 val += 8 + (2.0f/NUM_PARALLEL_LINES); 67 val = 0; 69 gLinePts[index + 0] = val; 71 gLinePts[index + 2] = val; 74 val += 8 + (2.0f/NUM_PARALLEL_LINES);
|
/frameworks/rs/ |
H A D | rsScript.cpp | 59 void Script::setVar(uint32_t slot, const void *val, size_t len) { argument 60 //ALOGE("setVar %i %p %i", slot, val, len); 67 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); 70 void Script::getVar(uint32_t slot, const void *val, size_t len) { argument 71 //ALOGE("getVar %i %p %i", slot, val, len); 79 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len); 82 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, argument 92 (void *)val, len, e, dims, dimLen); 95 void Script::setVarObj(uint32_t slot, ObjectBase *val) { argument 96 //ALOGE("setVarObj %i %p", slot, val); [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMRelocator.cpp | 1207 Relocator::DWord val = ((upper_inst) << 16) | (lower_inst); local 1209 helper_extract_thumb_movw_movt_addend(val) + pReloc.addend(); 1224 val = helper_insert_val_thumb_movw_movt_inst(val, X); 1225 *(reinterpret_cast<uint16_t*>(&pReloc.target())) = val >> 16; 1226 *(reinterpret_cast<uint16_t*>(&pReloc.target()) + 1) = val & 0xFFFFu; 1243 Relocator::DWord val = ((upper_inst) << 16) | (lower_inst); local 1245 helper_extract_thumb_movw_movt_addend(val) + pReloc.addend(); 1248 val = helper_insert_val_thumb_movw_movt_inst(val, 1267 Relocator::DWord val = ((upper_inst) << 16) | (lower_inst); local 1288 Relocator::DWord val = ((upper_inst) << 16) | (lower_inst); local 1323 Relocator::DWord val = ((upper_inst) << 16) | (lower_inst); local [all...] |
/frameworks/av/services/audioflinger/tests/ |
H A D | test_utils.h | 39 static inline T convertValue(double val) argument 42 return floor(val * 32767.0 + 0.5); 44 return floor(val * (1UL<<31) + 0.5); 46 return val; // assume float or double
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | BrightnessController.java | 207 final int val = value + mMinimumBacklight; 209 MetricsLogger.action(mContext, MetricsEvent.ACTION_BRIGHTNESS, val); 211 setBrightness(val); 216 Settings.System.SCREEN_BRIGHTNESS, val,
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
H A D | BackupTestActivity.java | 115 int val = prefs.getInt(PREF_KEY, 0); 116 String str = "'" + PREF_KEY + "' is " + val; 124 int val = prefs.getInt(PREF_KEY, 0); 126 editor.putInt(PREF_KEY, val+1);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 128 WeakReference<?> val = values[i]; 132 if (val != DELETED && val.get() != null) { 135 values[o] = val;
|
/frameworks/rs/cpp/util/ |
H A D | StrongPointer.h | 31 TextOutput& printStrongPointer(TextOutput& to, const void* val); 115 TextOutput& operator<<(TextOutput& to, const sp<T>& val); 212 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument 214 return printStrongPointer(to, val.get());
|
/frameworks/rs/server/ |
H A D | StrongPointer.h | 30 TextOutput& printStrongPointer(TextOutput& to, const void* val); 114 TextOutput& operator<<(TextOutput& to, const sp<T>& val); 211 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val) argument 213 return printStrongPointer(to, val.get());
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifTag.java | 655 long[] val = (long[]) mValue; 656 int[] arr = new int[val.length]; 657 for (int i = 0; i < val.length; i++) { 658 arr[i] = (int) val[i]; // Truncates 764 Object val = ((Object[]) mValue)[0]; 765 if (val == null) { 768 return val.toString();
|