Searched refs:val (Results 151 - 175 of 246) sorted by relevance

12345678910

/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp417 int val = 0; local
419 val *= 16;
421 if (c >= '0' && c <= '9') val += c - '0';
422 else if (c >= 'A' && c <= 'F') val += (c - 'A') + 10;
423 else if (c >= 'a' && c <= 'f') val += (c - 'a') + 10;
426 tmpColor[i] = static_cast<float>(val) / 255.0f;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWspTypeDecoder.java645 byte val = mWspData[index];
646 if (0 <= val && val <= WAP_PDU_SHORT_LENGTH_MAX) {
648 } else if (val == WAP_PDU_LENGTH_QUOTE) {
653 } else if (WAP_PDU_LENGTH_QUOTE < val && val <= 127) {
H A DIccProvider.java309 String val = pair[1].trim();
312 tag = normalizeValue(val);
314 number = normalizeValue(val);
319 pin2 = normalizeValue(val);
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp71 AString val; local
72 if (!GetAttribute(s, key, &val)) {
76 s = val.c_str();
/frameworks/av/media/ndk/
H A DNdkMediaExtractor.cpp184 int32_t val; local
185 if (meta->findInt32(kKeyIsSyncFrame, &val) && val != 0) {
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DPacManager.java229 String val = Settings.Global.getString(cr, Settings.Global.PAC_CHANGE_DELAY);
230 return (val == null) ? defaultDelay : val;
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/
H A DDemoModeController.java131 final float val = x / (float)w;
132 final int color = Color.HSVToColor(new float[]{hue, sat, val});
133 if (DEBUG) Log.d(TAG, String.format("hsv=(%s,%s,%s) argb=#%08x", hue, sat, val, color));
/frameworks/compile/mclinker/unittests/
H A DHashTableTest.cpp112 HashTableTy::entry_type* val = hashTable->insert(key, exist); local
113 val->setValue(999);
116 EXPECT_FALSE(NULL == val);
/frameworks/base/core/java/android/widget/
H A DTimePickerClockDelegate.java866 int val = getValFromKeyCode(keyCode);
867 mDelegator.announceForAccessibility(String.format("%d", val));
1028 int val = getValFromKeyCode(mTypedTimes.get(mTypedTimes.size() - i));
1030 minute = val;
1032 minute += 10 * val;
1033 if (enteredZeros != null && val == 0) {
1037 hour = val;
1039 hour += 10 * val;
1040 if (enteredZeros != null && val == 0) {
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceProcessor.java704 for (Long val: dtSet) {
705 setTimeFromLongValue(mIterator, val);
1308 private static final void setTimeFromLongValue(Time date, long val) { argument
1309 date.year = (int) (val >> 26);
1310 date.month = (int) (val >> 22) & 0xf;
1311 date.monthDay = (int) (val >> 17) & 0x1f;
1312 date.hour = (int) (val >> 12) & 0x1f;
1313 date.minute = (int) (val >> 6) & 0x3f;
1314 date.second = (int) (val & 0x3f);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DTimePickerDialog.java585 int val = getValFromKeyCode(keyCode);
586 Utils.tryAccessibilityAnnounce(mTimePicker, String.format("%d", val));
748 int val = getValFromKeyCode(mTypedTimes.get(mTypedTimes.size() - i));
750 minute = val;
752 minute += 10*val;
753 if (enteredZeros != null && val == 0) {
757 hour = val;
759 hour += 10*val;
760 if (enteredZeros != null && val == 0) {
/frameworks/av/media/libstagefright/codecs/opus/dec/
H A DSoftOpus.cpp222 uint16_t val;
223 val = data[read_offset];
224 val |= data[read_offset + 1] << 8;
225 return val;
/frameworks/base/core/java/android/net/http/
H A DSslCertificate.java381 Vector val = x509Name.getValues();
387 mCName = (String) val.elementAt(i);
394 mOName = (String) val.elementAt(i);
401 mUName = (String) val.elementAt(i);
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp691 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument
693 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val);
694 rsScriptSetVarI(con, (RsScript)script, slot, val);
698 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument
700 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val);
701 rsScriptSetVarObj(con, (RsScript)script, slot, (RsObjectBase)val);
705 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) argument
707 LOG_API("nScriptSetVarJ, con(%p), s(%p), slot(%i), val(
712 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val) argument
719 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dc4t64fx.c137 Word16 psk, ps, alpk, alp, val, k_cn, k_dn, exp; local
283 val = dn[i];
293 dn[i] = -val;
348 val = extract_h(L_tmp);
351 if ((nb_pulse >= 12) && (val > 1024))
720 val = (512 >> h_shift); /* codeword in Q9 format */
730 code[i] += val;
734 code[i] -= val;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp470 *mv = PV_TMNMVtab0[code].val;
478 *mv = PV_TMNMVtab1[code].val;
492 *mv = PV_TMNMVtab2[code].val;
525 return PV_MCBPCtabintra[code].val;
553 return PV_MCBPCtab[code].val;
575 return PV_MCBPCtab[code >> 4].val;
580 return PV_MCBPCtab1[code - 8].val;
610 CBPY = PV_CBPYtab[code].val;
873 pTcoef->run = (uint) tab->run; //(tab->val >> 8) & 255;
874 pTcoef->level = (int) tab->level; //tab->val
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkInfo.java345 public void setIsConnectedToProvisioningNetwork(boolean val) { argument
347 mIsConnectedToProvisioningNetwork = val;
/frameworks/base/libs/common_time/
H A Dcommon_time_server.h223 inline void setForceLowPriority(bool val) { argument
224 mForceLowPriority = val;
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodecList.cpp238 jint val = colorFormats.itemAt(i); local
239 env->SetIntArrayRegion(colorFormatsArray, i, 1, &val);
/frameworks/base/media/mca/filterpacks/native/base/
H A Dvec_types.h115 Vec<T, dim> operator + (const Vec<T,dim> &x, T val) { argument
118 out.data[i] = x.data[i] + val;
/frameworks/base/tools/aapt/
H A DXMLNode.h132 void setUTF8(bool val) { mUTF8 = val; } argument
H A DStringPool.cpp578 ssize_t StringPool::offsetForString(const String16& val) const
580 const Vector<size_t>* indices = offsetsForString(val);
582 NOISY(printf("Offset for string %s: %d (%s)\n", String8(val).string(), res,
587 const Vector<size_t>* StringPool::offsetsForString(const String16& val) const
589 ssize_t pos = mValues.valueFor(val);
/frameworks/rs/driver/runtime/
H A Drs_core.c179 void __attribute__((overloadable)) rsDebug(const char *txt, T val) { \
180 rsDebug(txt, &val); \
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerTest.java197 int val = 0;
200 val = 10;
203 val = 30;
206 val = GridLayoutManager.LayoutParams.WRAP_CONTENT;
209 val = GridLayoutManager.LayoutParams.FILL_PARENT;
212 val = 200;
216 glp.height = val;
218 glp.width = val;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java772 int val = 0;
773 if ((c >= '1') && (c <= '9')) val = c - '0';
774 else if (c == '0') val = 10;
775 else if (c == '*') val = 11;
776 else if (c == '#') val = 12;
778 rawData[i / 2] |= val << (4 - ((i % 2) * 4));
1384 int val = 0x0F & (rawData[i / 2] >>> (4 - ((i % 2) * 4)));
1385 if ((val >= 1) && (val <= 9)) strBuf.append(Integer.toString(val, 1
[all...]

Completed in 4997 milliseconds

12345678910