/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | CustomScrollView.java | 74 final TypedValue typedValue = new TypedValue(); in calculateDimensions() 79 typedValue, true); in calculateDimensions() 82 final int maxHeight = (int) typedValue.getFraction(point.y, point.y); in calculateDimensions()
|
D | FillUi.java | 526 final TypedValue typedValue = sTempTypedValue; in resolveMaxWindowSize() local 528 typedValue, true); in resolveMaxWindowSize() 529 outPoint.x = (int) typedValue.getFraction(outPoint.x, outPoint.x); in resolveMaxWindowSize() 531 typedValue, true); in resolveMaxWindowSize() 532 outPoint.y = (int) typedValue.getFraction(outPoint.y, outPoint.y); in resolveMaxWindowSize()
|
/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/libs/hwui/pipeline/skia/ |
D | SkiaMemoryTracer.cpp | 136 for (const auto& typedValue : namedItem.second) { in logOutput() local 137 TraceValue traceValue = convertUnits(typedValue.second); in logOutput() 139 log.appendFormat(" %s: %.2f %s (%d %s)\n", typedValue.first, traceValue.value, in logOutput()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | XmlFlattener.cpp | 277 CHECK(xml_attr->compiled_value->Flatten(&flat_attr->typedValue)); in WriteAttributes() 289 flat_attr->typedValue.dataType = android::Res_value::TYPE_STRING; in WriteAttributes() 291 reinterpret_cast<ResStringPool_ref*>(&flat_attr->typedValue.data)); in WriteAttributes() 301 flat_attr->typedValue.size = util::HostToDevice16(sizeof(flat_attr->typedValue)); in WriteAttributes()
|
/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/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | ConnectedDeviceSignalController.java | 113 TypedValue typedValue = new TypedValue(); in ConnectedDeviceSignalController() local 114 context.getResources().getValue(R.dimen.status_bar_icon_scale_factor, typedValue, true); in ConnectedDeviceSignalController() 115 mIconScaleFactor = typedValue.getFloat(); in ConnectedDeviceSignalController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 421 TypedValue typedValue = new TypedValue(); in scaleBatteryMeterViews() local 423 res.getValue(R.dimen.status_bar_icon_scale_factor, typedValue, true); in scaleBatteryMeterViews() 424 float iconScaleFactor = typedValue.getFloat(); in scaleBatteryMeterViews()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | RecentsOnboarding.java | 294 TypedValue typedValue = new TypedValue(); in RecentsOnboarding() local 295 context.getTheme().resolveAttribute(android.R.attr.colorAccent, typedValue, true); in RecentsOnboarding() 296 mOnboardingToastColor = res.getColor(typedValue.resourceId); in RecentsOnboarding()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 549 TypedValue typedValue = ResourceHelper.getValue(attrRef.getName(), value.getValue(), in getDimension() local 551 if (typedValue != null) { in getDimension() 552 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 | 1614 jclass typedValue = FindClassOrDie(env, "android/util/TypedValue"); in register_android_content_AssetManager() local 1615 gTypedValueOffsets.mType = GetFieldIDOrDie(env, typedValue, "type", "I"); in register_android_content_AssetManager() 1616 gTypedValueOffsets.mData = GetFieldIDOrDie(env, typedValue, "data", "I"); in register_android_content_AssetManager() 1618 GetFieldIDOrDie(env, typedValue, "string", "Ljava/lang/CharSequence;"); in register_android_content_AssetManager() 1619 gTypedValueOffsets.mAssetCookie = GetFieldIDOrDie(env, typedValue, "assetCookie", "I"); in register_android_content_AssetManager() 1620 gTypedValueOffsets.mResourceId = GetFieldIDOrDie(env, typedValue, "resourceId", "I"); in register_android_content_AssetManager() 1622 GetFieldIDOrDie(env, typedValue, "changingConfigurations", "I"); in register_android_content_AssetManager() 1623 gTypedValueOffsets.mDensity = GetFieldIDOrDie(env, typedValue, "density", "I"); in register_android_content_AssetManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 409 TypedValue typedValue = new TypedValue(); in getIcon() local 410 context.getResources().getValue(R.dimen.status_bar_icon_scale_factor, typedValue, true); in getIcon() 411 float scaleFactor = typedValue.getFloat(); in getIcon()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 789 TypedValue typedValue = new TypedValue(); in ViewportWindow() local 791 typedValue, true); in ViewportWindow() 792 final int borderColor = context.getColor(typedValue.resourceId); in ViewportWindow()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 688 struct Res_value typedValue; member
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1339 uint8_t type = attr->typedValue.dataType; in getAttributeDataType() 1361 if (attr->typedValue.dataType != Res_value::TYPE_DYNAMIC_REFERENCE || in getAttributeData() 1363 return dtohl(attr->typedValue.data); in getAttributeData() 1366 uint32_t data = dtohl(attr->typedValue.data); in getAttributeData() 1384 outValue->copyFrom_dtoh(attr->typedValue); in getAttributeValue()
|