/frameworks/rs/ |
H A D | rsCppUtils.h | 216 T rsFindHighBit(T val) { argument 218 while (val > 1) { 220 val>>=1; 226 bool rsIsPow2(T val) { argument 227 return (val & (val-1)) == 0;
|
H A D | rsScript.cpp | 56 void Script::setVar(uint32_t slot, const void *val, size_t len) { argument 57 //ALOGE("setVar %i %p %i", slot, val, len); 62 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); 65 void Script::getVar(uint32_t slot, const void *val, size_t len) { argument 66 //ALOGE("getVar %i %p %i", slot, val, len); 72 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len); 75 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, argument 83 (void *)val, len, e, dims, dimLen); 86 void Script::setVarObj(uint32_t slot, ObjectBase *val) { argument 87 //ALOGE("setVarObj %i %p", slot, val); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | AbsActionBarView.java | 237 static protected int next(int x, int val, boolean isRtl) { argument 238 return isRtl ? x - val : x + val;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | psy_configuration.c | 97 static Word16 atan_1000(Word32 val) argument 102 if(L_sub(val, 1000) < 0) { 103 y = extract_l(((1000 * val) / (1000 + ((val * val) / ATAN_COEF1)))); 106 y = PI2_1000 - ((1000 * val) / (ATAN_COEF2 + ((val * val) / 1000)));
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4AudioAssembler.cpp | 440 AString val; local 441 if (!GetAttribute(params.c_str(), "cpresent", &val)) { 443 } else if (val == "0") { 446 CHECK(val == "1"); 450 CHECK(GetAttribute(params.c_str(), "config", &val)); 452 sp<ABuffer> config = decodeHex(val);
|
H A D | APacketSource.cpp | 112 AString val; local 114 if (GetAttribute(params, "profile-level-id", &val)) { 115 profileLevelID = decodeHex(val); 126 if (!GetAttribute(params, "sprop-parameter-sets", &val)) { 132 ssize_t commaPos = val.find(",", start); 133 size_t end = (commaPos < 0) ? val.size() : commaPos; 135 AString nalString(val, start, end - start); 224 AString val; local 225 CHECK(GetAttribute(params, "config", &val)); 227 sp<ABuffer> config = decodeHex(val); 262 AString val; local 369 AString val; local 543 AString val; local [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 129 char val[PROPERTY_VALUE_MAX]; local 130 if (property_get(propName, val, NULL)) { 132 unsigned long x = strtoul(val, &end, 10); 134 if (*end == '\0' && end > val && x > 0) {
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaExtractor.cpp | 184 int32_t val; local 185 if (meta->findInt32(kKeyIsSyncFrame, &val) && val != 0) {
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkCapabilities.java | 224 private int[] enumerateBits(long val) { argument 225 int size = Long.bitCount(val); 229 while (val > 0) { 230 if ((val & 1) == 1) result[index++] = resource; 231 val = val >> 1;
|
H A D | NetworkInfo.java | 345 public void setIsConnectedToProvisioningNetwork(boolean val) { argument 347 mIsConnectedToProvisioningNetwork = val;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | XmlUtils.java | 173 * @param val The map to be flattened. 181 public static final void writeMapXml(Map val, OutputStream out) argument 187 writeMapXml(val, null, serializer); 195 * @param val The list to be flattened. 203 public static final void writeListXml(List val, OutputStream out) argument 210 writeListXml(val, null, serializer); 218 * @param val The map to be flattened. 228 public static final void writeMapXml(Map val, String name, XmlSerializer out) argument 230 writeMapXml(val, name, out, null); 237 * @param val Th 250 writeMapXml(Map val, String name, XmlSerializer out, WriteMapCallback callback) argument 284 writeMapXml(Map val, XmlSerializer out, WriteMapCallback callback) argument 313 writeListXml(List val, String name, XmlSerializer out) argument 337 writeSetXml(Set val, String name, XmlSerializer out) argument 369 writeByteArrayXml(byte[] val, String name, XmlSerializer out) argument 414 writeIntArrayXml(int[] val, String name, XmlSerializer out) argument 454 writeLongArrayXml(long[] val, String name, XmlSerializer out) argument 493 writeDoubleArrayXml(double[] val, String name, XmlSerializer out) argument 532 writeStringArrayXml(String[] val, String name, XmlSerializer out) argument 571 writeBooleanArrayXml(boolean[] val, String name, XmlSerializer out) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AbsActionBarView.java | 253 static protected int next(int x, int val, boolean isRtl) { argument 254 return isRtl ? x - val : x + val;
|
/frameworks/base/media/java/android/media/ |
H A D | Metadata.java | 520 * Check val is either a system id or a custom one. 521 * @param val Metadata key to test. 524 private boolean checkMetadataId(final int val) { argument 525 if (val <= ANY || (LAST_SYSTEM < val && val < FIRST_CUSTOM)) { 526 Log.e(TAG, "Invalid metadata ID " + val);
|
/frameworks/native/cmds/rawbu/ |
H A D | backup.cpp | 174 static int write_int32(FILE* fh, int32_t val) argument 176 int res = fwrite(&val, 1, sizeof(val), fh); 177 if (res != sizeof(val)) { 185 static int write_int64(FILE* fh, int64_t val) argument 187 int res = fwrite(&val, 1, sizeof(val), fh); 188 if (res != sizeof(val)) { 418 int32_t val; local 419 if (fread(&val, 429 int64_t val; local [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceProcessor.java | 704 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/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimPhoneBookManager.java | 280 ArrayList<String> val = mEmailsForAdnRec.get(adnRecNum - 1); 281 if (val == null) { 282 val = new ArrayList<String>(); 284 val.add(email); 286 mEmailsForAdnRec.put(adnRecNum - 1, val); 400 Map<Integer, Integer> val = new HashMap<Integer, Integer>(); 409 parseEf(tlvEf, val, tag); 413 mFileIds.put(recNum, val); 416 void parseEf(SimTlv tlv, Map<Integer, Integer> val, int parentTag) { argument 441 val [all...] |
/frameworks/wilhelm/src/android/ |
H A D | android_AudioSfDecoder.cpp | 628 int32_t val; local 629 if (msg->findInt32(PLAYEREVENT_PREFETCHSTATUSCHANGE, &val)) { 630 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_PREFETCHSTATUSCHANGE, val); 631 notifyClient(kEventPrefetchStatusChange, val, 0, notifyUser); 633 else if (msg->findInt32(PLAYEREVENT_PREFETCHFILLLEVELUPDATE, &val)) { 634 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_PREFETCHFILLLEVELUPDATE, val); 635 notifyClient(kEventPrefetchFillLevelUpdate, val, 0, notifyUser); 637 else if (msg->findInt32(PLAYEREVENT_ENDOFSTREAM, &val)) { 638 SL_LOGV("\tASfPlayer notifying %s = %d", PLAYEREVENT_ENDOFSTREAM, val); 639 notifyClient(kEventEndOfStream, val, [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | c4t64fx.c | 137 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/on2/h264dec/source/ |
H A D | h264bsd_reconstruct.c | 124 u32 x, y, tmp1, tmp2, tmp3, tmp4, c, val; local 154 val = 8 - xFrac; 172 c = ((val * tmp1 + xFrac * tmp3) << 3) + 32; 175 c = ((val * tmp2 + xFrac * tmp4) << 3) + 32; 180 c = ((val * tmp3 + xFrac * tmp1) << 3) + 32; 183 c = ((val * tmp4 + xFrac * tmp2) << 3) + 32; 220 u32 x, y, tmp1, tmp2, tmp3, c, val; local 250 val = 8 - yFrac; 267 c = ((val * tmp2 + yFrac * tmp3) << 3) + 32; 270 c = ((val * tmp [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerFirGen.h | 151 double val = x * maxval; local 152 double ival = floor(val + 0.5 + err*0.2); 153 err = val - ival; 284 double val = Poly4(A, B, C, D, x, x2); 286 return val + Poly4(E, F, G, H, x, x2) * x4 + I * (x4 * x4);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 417 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/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiSelector.java | 358 * @param val Value to match 362 public UiSelector enabled(boolean val) { argument 363 return buildSelector(SELECTOR_ENABLED, val); 377 * @param val Value to match 381 public UiSelector focused(boolean val) { argument 382 return buildSelector(SELECTOR_FOCUSED, val); 396 * @param val Value to match 400 public UiSelector focusable(boolean val) { argument 401 return buildSelector(SELECTOR_FOCUSABLE, val); 415 * @param val Valu 419 scrollable(boolean val) argument 439 selected(boolean val) argument 459 checked(boolean val) argument 478 clickable(boolean val) argument 497 checkable(boolean val) argument 516 longClickable(boolean val) argument [all...] |
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareImpl.java | 783 private void setMonitorAvailability(int monitor, int val) { argument 785 mSupportedMonitorTypes[monitor] = val;
|
/frameworks/base/core/jni/ |
H A D | android_os_Parcel.cpp | 229 static void android_os_Parcel_writeInt(JNIEnv* env, jclass clazz, jlong nativePtr, jint val) { argument 231 const status_t err = parcel->writeInt32(val); 237 static void android_os_Parcel_writeLong(JNIEnv* env, jclass clazz, jlong nativePtr, jlong val) argument 241 const status_t err = parcel->writeInt64(val); 248 static void android_os_Parcel_writeFloat(JNIEnv* env, jclass clazz, jlong nativePtr, jfloat val) argument 252 const status_t err = parcel->writeFloat(val); 259 static void android_os_Parcel_writeDouble(JNIEnv* env, jclass clazz, jlong nativePtr, jdouble val) argument 263 const status_t err = parcel->writeDouble(val); 270 static void android_os_Parcel_writeString(JNIEnv* env, jclass clazz, jlong nativePtr, jstring val) argument 275 if (val) { [all...] |
/frameworks/base/libs/common_time/ |
H A D | common_time_server.h | 223 inline void setForceLowPriority(bool val) { argument 224 mForceLowPriority = val;
|