/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
H A D | BatteryMeterDrawableBase.java | 187 public void setCharging(boolean val) { argument 188 mCharging = val; 196 public void setBatteryLevel(int val) { argument 197 mLevel = val; 205 public void setPowerSave(boolean val) { argument 206 mPowerSaveEnabled = val;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | WifiTracker.java | 844 void put(K key, V val) { argument 850 curVals.add(val);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | BrightnessController.java | 211 final int val; 214 val = Settings.System.getIntForUser(mContext.getContentResolver(), 218 val = Settings.System.getIntForUser(mContext.getContentResolver(), 222 mHandler.obtainMessage(MSG_UPDATE_SLIDER, val, inVrMode ? 1 : 0).sendToTarget(); 376 final int val = convertGammaToLinear(value, min, max); 379 MetricsLogger.action(mContext, metric, val); 382 setBrightness(val); 387 setting, val, UserHandle.USER_CURRENT); 438 private void updateSlider(int val, boolean inVrMode) { argument 448 if (val [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | PersistentDataStore.java | 707 private static float loadFloat(String val) { argument 709 return Float.parseFloat(val);
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Compile.cpp | 655 void SetVerbose(bool val) { argument 656 verbose_ = val;
|
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoDeserialize.cpp | 766 android::Res_value val = {}; local 769 val.dataType = android::Res_value::TYPE_NULL; 770 val.data = android::Res_value::DATA_NULL_UNDEFINED; 773 val.dataType = android::Res_value::TYPE_NULL; 774 val.data = android::Res_value::DATA_NULL_EMPTY; 777 val.dataType = android::Res_value::TYPE_FLOAT; 779 val.data = *(uint32_t*)&float_val; 782 val.dataType = android::Res_value::TYPE_DIMENSION; 783 val.data = pb_prim.dimension_value(); 786 val [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_reflection_cpp.cpp | 573 const clang::APValue &val = EV->getInit(); local 576 genInitValue(val, isBool); 608 const clang::APValue &val = EV->getInit(); local 611 genInitValue(val, isBool); 640 const clang::APValue &val = EV->getInit(); local 642 genInitValue(val, false);
|
/frameworks/layoutlib/bridge/src/android/util/ |
H A D | PathParser_Delegate.java | 183 float[] val = getFloats(s); 184 addNode(list, s.charAt(0), val); 373 @NonNull float[] val) { 374 list.add(new PathDataNode(cmd, val)); 447 char previousCmd, char cmd, @NonNull float[] val) { 502 for (int k = 0; k < val.length; k += incr) { 505 currentX += val[k + 0]; 506 currentY += val[k + 1]; 512 path.rLineTo(val[k + 0], val[ 372 addNode(@onNull ArrayList<PathDataNode> list, char cmd, @NonNull float[] val) argument 446 addCommand(@onNull Path_Delegate path, float[] current, char previousCmd, char cmd, @NonNull float[] val) argument [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));
|
H A D | schd-dbg.cpp | 172 bool val = true; local 173 int error = write(m_writeFd, &val, sizeof(val)); 177 bool val = false; local 178 int error = read(m_readFd, &val, sizeof(val));
|
/frameworks/native/libs/vr/libbroadcastring/ |
H A D | broadcast_ring_test.cc | 39 SmallerSized val; local 40 static_assert(sizeof(val.v) <= sizeof(v), "Cannot truncate to larger size"); 41 memcpy(val.v, v, sizeof(val.v)); 42 return val; 46 char FillChar(int val) { return static_cast<char>(val); } argument
|
/frameworks/av/media/libmediaplayer2/ |
H A D | mediaplayer2.cpp | 85 int32_t val; local 86 if (p.readInt32(&val) != OK) { 92 if (val > kMaxFilterSize || val < 0) { 93 ALOGE("Invalid filter len %d", val); 98 const size_t num = val; 133 // @param val To be searched. 135 bool findMetadata(const media::Metadata::Filter& filter, const int32_t val) { argument 144 return filter.indexOf(val) >= 0;
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareImpl.java | 822 private void setMonitorAvailability(int monitor, int val) { argument 824 mSupportedMonitorTypes[monitor] = val;
|
/frameworks/base/core/java/android/view/ |
H A D | ViewTreeObserver.java | 256 public void setTouchableInsets(int val) { argument 257 mTouchableInsets = val;
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ProcessState.java | 235 public void setMultiPackage(boolean val) { argument 236 mMultiPackage = val;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 55 SkPath* val = reinterpret_cast<SkPath*>(valHandle); local 56 return reinterpret_cast<jlong>(new SkPath(*val));
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaExtractor.cpp | 262 int32_t val; local 263 if (meta->findInt32(kKeyIsSyncFrame, &val) && val != 0) {
|
H A D | android_media_Utils.cpp | 324 int32_t val; local 325 CHECK(msg->findInt32(key, &val)); 327 valueObj = makeIntegerObject(env, val); 333 int64_t val; local 334 CHECK(msg->findInt64(key, &val)); 336 valueObj = makeLongObject(env, val); 342 float val; local 343 CHECK(msg->findFloat(key, &val)); 345 valueObj = makeFloatObject(env, val); 351 AString val; local [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessList.java | 311 private static String buildOomTag(String prefix, String space, int val, int base) { argument 312 if (val == base) { 316 return prefix + "+" + Integer.toString(val-base);
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceUtils.cpp | 514 std::unique_ptr<BinaryPrimitive> MakeBool(bool val) { argument 516 val ? 0xffffffffu : 0u); 528 std::unique_ptr<BinaryPrimitive> MakeInt(uint32_t val) { argument 529 return util::make_unique<BinaryPrimitive>(android::Res_value::TYPE_INT_DEC, val);
|
/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/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraCapabilities.java | 355 * @param val The string representation. 359 public FocusMode focusModeFromString(String val) { argument 360 if (val == null) { 364 return FocusMode.valueOf(toEnumCase(val)); 385 * @param val The string representation. 389 public FlashMode flashModeFromString(String val) { argument 390 if (val == null) { 394 return FlashMode.valueOf(toEnumCase(val)); 415 * @param val The string representation. 419 public SceneMode sceneModeFromString(String val) { argument 450 whiteBalanceFromString(String val) argument [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 265 uint32_t val; local 276 in >> val; local 278 dim.setWidth(val); 283 in >> val; local 285 dim.setHeight(val);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 362 static uint32_t sliceInt(uint32_t *p, uint32_t val, uint32_t start, uint32_t end) { argument 365 return val; 370 uint32_t n = val / div; 371 *p = (val - (n * div)) + start;
|
/frameworks/av/media/libmedia/ |
H A D | NdkWrapper.cpp | 221 int32_t val; local 222 if (!message->findInt32(key, &val)) { 226 aMediaFormat->setInt32(key, val); 231 int64_t val; local 232 if (!message->findInt64(key, &val)) { 236 aMediaFormat->setInt64(key, val); 241 float val; local 242 if (!message->findFloat(key, &val)) { 246 aMediaFormat->setFloat(key, val); 251 double val; local 261 size_t val; local 281 AString val; local 291 sp<ABuffer> val; local 349 int32_t val; local 355 int64_t val; local 361 AString val; local [all...] |