/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/dagger/ |
D | BouncerSwipeModule.java | 109 TypedValue typedValue = new TypedValue(); in providesSwipeToBouncerStartRegion() local 111 typedValue, true); in providesSwipeToBouncerStartRegion() 112 return typedValue.getFloat(); in providesSwipeToBouncerStartRegion() 121 TypedValue typedValue = new TypedValue(); in providesMinBouncerZoneScreenPercentage() local 123 typedValue, true); in providesMinBouncerZoneScreenPercentage() 124 return typedValue.getFloat(); in providesMinBouncerZoneScreenPercentage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeToolTipView.java | 67 TypedValue typedValue = new TypedValue(); in drawArrow() local 68 getContext().getTheme().resolveAttribute(android.R.attr.colorAccent, typedValue, true); in drawArrow() 69 arrowPaint.setColor(ContextCompat.getColor(getContext(), typedValue.resourceId)); in drawArrow()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBar.java | 231 TypedValue typedValue = ResourceHelper.getValue(null, value, false /*requireUnit*/); in getPixelValue() local 232 return (int) typedValue.getDimension(metrics); in getPixelValue() 247 TypedValue typedValue = ResourceHelper.getValue("actionBarSize", value.getValue(), in getActionBarHeight() local 249 if (typedValue != null) { in getActionBarHeight() 251 return (int) typedValue.getDimension(metrics); in getActionBarHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ |
D | TooltipManager.kt | 81 val typedValue = TypedValue() in <lambda>() constant 82 context.theme.resolveAttribute(android.R.attr.colorAccent, typedValue, true) in <lambda>() 83 val toastColor = context.resources.getColor(typedValue.resourceId, context.theme) in <lambda>()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaMemoryTracer.cpp | 138 for (const auto& typedValue : namedItem.second) { in logOutput() local 139 TraceValue traceValue = convertUnits(typedValue.second); in logOutput() 141 log.appendFormat(" %s: %.2f %s (%d %s)\n", typedValue.first.c_str(), in logOutput()
|
/frameworks/av/media/codec2/vndk/include/util/ |
D | C2InterfaceHelper.h | 516 const T *typedValue = T::From(value); 517 if (typedValue == nullptr) { 520 if (*typedValue != *default_) { 549 const T *typedValue = T::From(value); 550 if (typedValue == nullptr) { 590 const T *typedValue = T::From(value); 591 if (typedValue == nullptr) {
|
/frameworks/base/tools/aapt2/format/binary/ |
D | XmlFlattener.cpp | 278 CHECK(xml_attr->compiled_value->Flatten(&flat_attr->typedValue)); in WriteAttributes() 290 flat_attr->typedValue.dataType = android::Res_value::TYPE_STRING; in WriteAttributes() 292 reinterpret_cast<ResStringPool_ref*>(&flat_attr->typedValue.data)); in WriteAttributes() 302 flat_attr->typedValue.size = android::util::HostToDevice16(sizeof(flat_attr->typedValue)); in WriteAttributes()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
D | BatteryMeterView.java | 627 TypedValue typedValue = new TypedValue(); in scaleBatteryMeterViews() local 629 res.getValue(R.dimen.status_bar_icon_scale_factor, typedValue, true); in scaleBatteryMeterViews() 630 float iconScaleFactor = typedValue.getFloat(); in scaleBatteryMeterViews() 652 TypedValue typedValue = new TypedValue(); in scaleBatteryMeterViewsLegacy() local 654 res.getValue(R.dimen.status_bar_icon_scale_factor, typedValue, true); in scaleBatteryMeterViewsLegacy() 655 float iconScaleFactor = typedValue.getFloat(); in scaleBatteryMeterViewsLegacy()
|
/frameworks/base/core/java/android/window/ |
D | WindowOnBackInvokedDispatcher.java | 350 TypedValue typedValue = new TypedValue(); in updateContext() local 351 res.getValue(R.dimen.back_progress_non_linear_factor, typedValue, true); in updateContext() 352 mNonLinearProgressFactor = typedValue.getFloat(); in updateContext()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | FillUi.java | 596 final TypedValue typedValue = sTempTypedValue; in resolveMaxWindowSize() local 598 typedValue, true); in resolveMaxWindowSize() 599 outPoint.x = (int) typedValue.getFraction(outPoint.x, outPoint.x); in resolveMaxWindowSize() 601 typedValue, true); in resolveMaxWindowSize() 602 outPoint.y = (int) typedValue.getFraction(outPoint.y, outPoint.y); in resolveMaxWindowSize()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 580 TypedValue typedValue = ResourceHelper.getValue(attrRef.getName(), value.getValue(), in getDimension() local 582 if (typedValue != null) { in getDimension() 583 return (int) typedValue.getDimension(mContext.getMetrics()); in getDimension()
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 1580 attr.typedValue.size = htods(sizeof(attr.typedValue)); in flatten_node() 1583 attr.typedValue.res0 = 0; in flatten_node() 1584 attr.typedValue.dataType = Res_value::TYPE_STRING; in flatten_node() 1585 attr.typedValue.data = htodl(strings.offsetForString(ae.string)); in flatten_node() 1587 attr.typedValue.res0 = 0; in flatten_node() 1588 attr.typedValue.dataType = ae.value.dataType; in flatten_node() 1589 attr.typedValue.data = htodl(ae.value.data); in flatten_node()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 1624 jclass typedValue = FindClassOrDie(env, "android/util/TypedValue"); in register_android_content_AssetManager() local 1625 gTypedValueOffsets.mType = GetFieldIDOrDie(env, typedValue, "type", "I"); in register_android_content_AssetManager() 1626 gTypedValueOffsets.mData = GetFieldIDOrDie(env, typedValue, "data", "I"); in register_android_content_AssetManager() 1628 GetFieldIDOrDie(env, typedValue, "string", "Ljava/lang/CharSequence;"); in register_android_content_AssetManager() 1629 gTypedValueOffsets.mAssetCookie = GetFieldIDOrDie(env, typedValue, "assetCookie", "I"); in register_android_content_AssetManager() 1630 gTypedValueOffsets.mResourceId = GetFieldIDOrDie(env, typedValue, "resourceId", "I"); in register_android_content_AssetManager() 1632 GetFieldIDOrDie(env, typedValue, "changingConfigurations", "I"); in register_android_content_AssetManager() 1633 gTypedValueOffsets.mDensity = GetFieldIDOrDie(env, typedValue, "density", "I"); in register_android_content_AssetManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 513 TypedValue typedValue = new TypedValue(); in getIcon() local 515 typedValue, true); in getIcon() 516 float scaleFactor = typedValue.getFloat(); in getIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | EdgeBackGestureHandler.java | 543 TypedValue typedValue = new TypedValue(); in getDimenFloat() local 544 res.getValue(resId, typedValue, true); in getDimenFloat() 545 return typedValue.getFloat(); in getDimenFloat()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileViewImpl.kt | 212 val typedValue = TypedValue() in <lambda>() constant 213 if (!getContext().theme.resolveAttribute(R.attr.isQsTheme, typedValue, true)) { in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 1304 TypedValue typedValue = new TypedValue(); in ViewportWindow() local 1306 typedValue, true); in ViewportWindow() 1307 final int borderColor = context.getColor(typedValue.resourceId); in ViewportWindow()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 719 struct Res_value typedValue; member
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1523 uint8_t type = attr->typedValue.dataType; in getAttributeDataType() 1546 !mTree.mDynamicRefTable->requiresLookup(&attr->typedValue)) { in getAttributeData() 1547 return dtohl(attr->typedValue.data); in getAttributeData() 1549 uint32_t data = dtohl(attr->typedValue.data); in getAttributeData() 1567 outValue->copyFrom_dtoh(attr->typedValue); in getAttributeValue()
|