/frameworks/base/core/java/android/util/ |
LongSparseArray.java | 162 Object val = values[i]; local 164 if (val != DELETED) { 167 values[o] = val;
|
SparseArray.java | 199 Object val = values[i]; local 201 if (val != DELETED) { 204 values[o] = val;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
DataUsageDetailView.java | 122 double val; local 125 val = b / GB; 128 val = b / MB; 131 val = b / KB; 134 return FORMAT.format(val * (bytes < 0 ? -1 : 1)) + " " + suffix;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
SparseWeakArray.java | 128 WeakReference<?> val = values[i]; local 132 if (val != DELETED && val.get() != null) { 135 values[o] = val;
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiSsid.java | 67 int val; local 69 val = Integer.parseInt(hexStr.substring(i, i + 2), HEX_RADIX); 71 val = 0; 73 a.octets.write(val); 82 int val = 0; local 116 val = Integer.parseInt(asciiEncoded.substring(i, i + 2), HEX_RADIX); 118 val = -1; 120 if (val < 0) { 121 val = Character.digit(asciiEncoded.charAt(i), HEX_RADIX); 122 if (val < 0) break [all...] |
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
ObservableArrayList.java | 85 T val = super.remove(index); local 87 return val; 103 T val = super.set(index, object); local 107 return val;
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
sparse_weight_vector.h | 86 // True if there is a bound with val containing the bound. false otherwise. 87 bool GetElementMinBound(const Key &fname, double *val) const { 88 return GetValue(wmin_, fname, val); 90 bool GetElementMaxBound(const Key &fname, double *val) const { 91 return GetValue(wmax_, fname, val); 101 double val = 0; local 102 GetValue(w_, fname, &val); 103 return val; 105 void SetElement(const Key &fname, const double val) { 106 //DCHECK(!isnan(val)); [all...] |
/frameworks/native/libs/binder/ |
Debug.cpp | 59 static inline char makehexdigit(uint32_t val) 61 return "0123456789abcdef"[val&0xF]; 64 static char* appendhexnum(uint32_t val, char* out) 67 *out++ = makehexdigit( val>>i ); 233 const unsigned char val = *(pos+startIndex-index); local 234 *c++ = makehexdigit(val>>4); 235 *c++ = makehexdigit(val); 250 const unsigned char val = *(pos+startIndex-index); local 251 *c++ = makehexdigit(val>>4); 252 *c++ = makehexdigit(val); 268 const unsigned char val = pos[index]; local [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/adapter/ |
SimpleStringAdapter.java | 56 TypedValue val = new TypedValue(); local 59 android.R.attr.selectableItemBackground, val, true); 61 mBackground = val.resourceId;
|
/hardware/google/apf/ |
apf_interpreter.c | 140 uint32_t val = 0; local 142 val = (val << 8) | packet[offs++]; 143 REG = val;
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
viddec_pm.c | 139 uint32_t val , ret = PM_OVERFLOW; local 141 val = viddec_pm_utils_list_addbuf(&(cxt->list), es_buf); 142 if(val == 1) ret = PM_SUCCESS;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/ |
mem_ops.h | 66 unsigned MEM_VALUE_T val; local 69 val = mem[0] << 8; 70 val |= mem[1]; 71 return val; 77 unsigned MEM_VALUE_T val; local 80 val = mem[0] << 16; 81 val |= mem[1] << 8; 82 val |= mem[2]; 83 return val; 89 unsigned MEM_VALUE_T val; local 102 unsigned MEM_VALUE_T val; local 113 unsigned MEM_VALUE_T val; local 125 unsigned MEM_VALUE_T val; local [all...] |
/hardware/intel/img/psb_video/src/ |
tng_ved_scaling.c | 122 IMG_INT32 val; local 191 val = (IMG_UINT32) ((flTable[t][i] * 64.0f) / ftotal); 192 Table[t][i] = (IMG_UINT8) val; 193 nTotal += val;
|
/hardware/qcom/audio/hal/audio_extn/ |
hfp.c | 292 int val; local 324 val = atoi(value); 325 if (val > 0)
|
soundtrigger.c | 253 int ret, val; local 289 ret = str_parms_get_int(params, "SVA_NUM_SESSIONS", &val); 291 event.u.value = val;
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_ad.cpp | 141 int val = 0; local 144 val = atoi(property); 148 val == ENABLED) {
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_ad.cpp | 109 int val = 0; local 112 val = atoi(property); 116 val == ENABLED) {
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_ad.cpp | 112 int val = 0; local 115 val = atoi(property); 119 val == ENABLED) {
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_ad.cpp | 112 int val = 0; local 115 val = atoi(property); 119 val == ENABLED) {
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
ifaceeventhandler.cpp | 252 u32 val; local 253 val = nla_get_u32( 258 __func__, val); 259 val = val > (unsigned int)mSetSizeMax ? 260 (unsigned int)mSetSizeMax : val; 261 *mSetSizePtr = val;
|
/libcore/libart/src/main/java/java/lang/ |
CaseMapper.java | 195 char val = upperValues[target]; local 196 output[i++] = val; 197 val = upperValues[target + 1]; 198 output[i++] = val;
|
StringFactory.java | 90 int val = b0 & 0xff; local 91 v[s++] = (char) val; 113 int val = b0 & (0x1f >> (utfCount - 1)); local 122 val <<= 6; 123 val |= b & 0x3f; 127 // specifications To disallow, check that val 141 if ((utfCount != 2) && (val >= 0xD800) && (val <= 0xDFFF)) { 147 if (val > 0x10FFFF) { 153 if (val < 0x10000) [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 403 long val = _durationInMilliseconds; local 404 int milliseconds = (int) (val % 60000L); // 60000 milliseconds per minute 410 val = val / 60000L; 411 int minutes = (int) (val % 60L); // 60 minutes per hour 412 val = val / 60L; 413 int hours = (int) (val % 24L); // 24 hours per day 414 long days = val / 24L; 427 val = val / 60000L [all...] |
/libcore/ojluni/src/main/java/java/io/ |
ExpiringCache.java | 46 private String val; field in class:ExpiringCache.Entry 48 Entry(long timestamp, String val) { 50 this.val = val; 56 String val() { return val; } method in class:ExpiringCache.Entry 57 void setVal(String val) { this.val = val; } 79 return entry.val(); [all...] |
/libcore/ojluni/src/main/java/java/net/ |
CookieManager.java | 366 int val = -1; local 369 val = Integer.parseInt(lst.substring(0, i)); 370 if (val == port) { 380 val = Integer.parseInt(lst); 381 if (val == port) {
|