/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ThemeUtils.java | 99 TypedValue typedValue = TL_TYPED_VALUE.get(); in getTypedValue() local 100 if (typedValue == null) { in getTypedValue() 101 typedValue = new TypedValue(); in getTypedValue() 102 TL_TYPED_VALUE.set(typedValue); in getTypedValue() 104 return typedValue; in getTypedValue()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | FrameworkActionBar.java | 233 TypedValue typedValue = ResourceHelper.getValue(null, value, false /*requireUnit*/); in getPixelValue() local 234 return (int) typedValue.getDimension(metrics); in getPixelValue() 248 TypedValue typedValue = ResourceHelper.getValue("actionBarSize", value.getValue(), in getActionBarHeight() local 250 if (typedValue != null) { in getActionBarHeight() 252 return (int) typedValue.getDimension(metrics); in getActionBarHeight()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | VerticalGridView.java | 65 TypedValue typedValue = array.peekValue(R.styleable.lbVerticalGridView_columnWidth); in setColumnWidth() local 66 if (typedValue != null) { in setColumnWidth()
|
D | GuidedActionsStylist.java | 379 TypedValue typedValue = new TypedValue(); in press() local 380 if (ctx.getTheme().resolveAttribute(themeAttrId, typedValue, true)) { in press() 381 mPressAnimator = AnimatorInflater.loadAnimator(ctx, typedValue.resourceId); in press() 943 TypedValue typedValue = new TypedValue(); in onBindCheckMarkView() local 944 if (context.getTheme().resolveAttribute(attrId, typedValue, true)) { in onBindCheckMarkView() 945 drawable = ContextCompat.getDrawable(context, typedValue.resourceId); in onBindCheckMarkView() 1475 private float getFloat(Context ctx, TypedValue typedValue, int attrId) { in getFloat() argument 1476 ctx.getTheme().resolveAttribute(attrId, typedValue, true); in getFloat() 1478 return Float.valueOf(ctx.getResources().getString(typedValue.resourceId)); in getFloat() 1481 private int getInteger(Context ctx, TypedValue typedValue, int attrId) { in getInteger() argument [all …]
|
D | AbstractMediaItemPresenter.java | 203 TypedValue typedValue = new TypedValue(); in ViewHolder() local 205 R.attr.playbackMediaItemNumberViewFlipperLayout, typedValue, true); in ViewHolder() 208 ? typedValue.resourceId in ViewHolder()
|
D | HorizontalGridView.java | 92 TypedValue typedValue = array.peekValue(R.styleable.lbHorizontalGridView_rowHeight); in setRowHeight() local 93 if (typedValue != null) { in setRowHeight()
|
/frameworks/base/tools/aapt2/flatten/ |
D | XmlFlattener.cpp | 273 CHECK(xml_attr->compiled_value->Flatten(&flat_attr->typedValue)); in WriteAttributes() 276 flat_attr->typedValue.dataType = android::Res_value::TYPE_STRING; in WriteAttributes() 279 (ResStringPool_ref*) &flat_attr->typedValue.data); in WriteAttributes() 282 flat_attr->typedValue.size = util::HostToDevice16(sizeof(flat_attr->typedValue)); in WriteAttributes()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BrandedSupportFragment.java | 67 TypedValue typedValue = new TypedValue(); in onInflateTitleView() local 69 R.attr.browseTitleViewLayout, typedValue, true); in onInflateTitleView() 70 return inflater.inflate(found ? typedValue.resourceId : R.layout.lb_browse_title, in onInflateTitleView()
|
D | BrandedFragment.java | 64 TypedValue typedValue = new TypedValue(); in onInflateTitleView() local 66 R.attr.browseTitleViewLayout, typedValue, true); in onInflateTitleView() 67 return inflater.inflate(found ? typedValue.resourceId : R.layout.lb_browse_title, in onInflateTitleView()
|
D | GuidedStepSupportFragment.java | 1136 TypedValue typedValue = new TypedValue(); in onCreateView() local 1138 typedValue, true)) { in onCreateView() 1140 float weight = typedValue.getFloat(); in onCreateView() 1235 TypedValue typedValue = new TypedValue(); in isGuidedStepTheme() local 1236 boolean found = context.getTheme().resolveAttribute(resId, typedValue, true); in isGuidedStepTheme() 1238 return found && typedValue.type == TypedValue.TYPE_INT_BOOLEAN && typedValue.data != 0; in isGuidedStepTheme() 1348 TypedValue typedValue = new TypedValue(); in resolveTheme() local 1349 boolean found = context.getTheme().resolveAttribute(resId, typedValue, true); in resolveTheme() 1353 new ContextThemeWrapper(context, typedValue.resourceId); in resolveTheme()
|
D | GuidedStepFragment.java | 1133 TypedValue typedValue = new TypedValue(); in onCreateView() local 1135 typedValue, true)) { in onCreateView() 1137 float weight = typedValue.getFloat(); in onCreateView() 1232 TypedValue typedValue = new TypedValue(); in isGuidedStepTheme() local 1233 boolean found = context.getTheme().resolveAttribute(resId, typedValue, true); in isGuidedStepTheme() 1235 return found && typedValue.type == TypedValue.TYPE_INT_BOOLEAN && typedValue.data != 0; in isGuidedStepTheme() 1345 TypedValue typedValue = new TypedValue(); in resolveTheme() local 1346 boolean found = context.getTheme().resolveAttribute(resId, typedValue, true); in resolveTheme() 1350 new ContextThemeWrapper(context, typedValue.resourceId); in resolveTheme()
|
D | OnboardingFragment.java | 547 TypedValue typedValue = new TypedValue(); in resolveTheme() local 548 boolean found = context.getTheme().resolveAttribute(resId, typedValue, true); in resolveTheme() 551 mThemeWrapper = new ContextThemeWrapper(context, typedValue.resourceId); in resolveTheme()
|
D | OnboardingSupportFragment.java | 550 TypedValue typedValue = new TypedValue(); in resolveTheme() local 551 boolean found = context.getTheme().resolveAttribute(resId, typedValue, true); in resolveTheme() 554 mThemeWrapper = new ContextThemeWrapper(context, typedValue.resourceId); in resolveTheme()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | ConnectedDeviceSignalController.java | 82 TypedValue typedValue = new TypedValue(); in ConnectedDeviceSignalController() local 83 context.getResources().getValue(R.dimen.status_bar_icon_scale_factor, typedValue, true); in ConnectedDeviceSignalController() 84 mIconScaleFactor = typedValue.getFloat(); in ConnectedDeviceSignalController()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | LayoutInflaterFactoryTestCase.java | 232 final TypedValue typedValue = new TypedValue(); in getColorAccentValue() local 233 theme.resolveAttribute(R.attr.colorAccent, typedValue, true); in getColorAccentValue() 234 return typedValue; in getColorAccentValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 223 TypedValue typedValue = new TypedValue(); in scaleBatteryMeterViews() local 225 res.getValue(R.dimen.status_bar_icon_scale_factor, typedValue, true); in scaleBatteryMeterViews() 226 float iconScaleFactor = typedValue.getFloat(); in scaleBatteryMeterViews()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | FillUi.java | 311 TypedValue typedValue = sTempTypedValue; in resolveMaxWindowSize() local 313 typedValue, true); in resolveMaxWindowSize() 314 outPoint.x = (int) typedValue.getFraction(outPoint.x, outPoint.x); in resolveMaxWindowSize() 316 typedValue, true); in resolveMaxWindowSize() 317 outPoint.y = (int) typedValue.getFraction(outPoint.y, outPoint.y); in resolveMaxWindowSize()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | Layout.java | 425 TypedValue typedValue = ResourceHelper.getValue(attr, value.getValue(), true); in getDimension() local 426 if (typedValue != null) { in getDimension() 427 return (int) typedValue.getDimension(mContext.getMetrics()); in getDimension()
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 1583 attr.typedValue.size = htods(sizeof(attr.typedValue)); in flatten_node() 1586 attr.typedValue.res0 = 0; in flatten_node() 1587 attr.typedValue.dataType = Res_value::TYPE_STRING; in flatten_node() 1588 attr.typedValue.data = htodl(strings.offsetForString(ae.string)); in flatten_node() 1590 attr.typedValue.res0 = 0; in flatten_node() 1591 attr.typedValue.dataType = ae.value.dataType; in flatten_node() 1592 attr.typedValue.data = htodl(ae.value.data); in flatten_node()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 1770 jclass typedValue = FindClassOrDie(env, "android/util/TypedValue"); in register_android_content_AssetManager() local 1771 gTypedValueOffsets.mType = GetFieldIDOrDie(env, typedValue, "type", "I"); in register_android_content_AssetManager() 1772 gTypedValueOffsets.mData = GetFieldIDOrDie(env, typedValue, "data", "I"); in register_android_content_AssetManager() 1773 gTypedValueOffsets.mString = GetFieldIDOrDie(env, typedValue, "string", in register_android_content_AssetManager() 1775 gTypedValueOffsets.mAssetCookie = GetFieldIDOrDie(env, typedValue, "assetCookie", "I"); in register_android_content_AssetManager() 1776 gTypedValueOffsets.mResourceId = GetFieldIDOrDie(env, typedValue, "resourceId", "I"); in register_android_content_AssetManager() 1777 gTypedValueOffsets.mChangingConfigurations = GetFieldIDOrDie(env, typedValue, in register_android_content_AssetManager() 1779 gTypedValueOffsets.mDensity = GetFieldIDOrDie(env, typedValue, "density", "I"); in register_android_content_AssetManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 348 TypedValue typedValue = new TypedValue(); in getIcon() local 349 context.getResources().getValue(R.dimen.status_bar_icon_scale_factor, typedValue, true); in getIcon() 350 float scaleFactor = typedValue.getFloat(); in getIcon()
|
D | SignalClusterView.java | 147 TypedValue typedValue = new TypedValue(); in SignalClusterView() local 148 res.getValue(R.dimen.status_bar_icon_scale_factor, typedValue, true); in SignalClusterView() 149 mIconScaleFactor = typedValue.getFloat(); in SignalClusterView()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 726 TypedValue typedValue = new TypedValue(); in ViewportWindow() local 728 typedValue, true); in ViewportWindow() 729 final int borderColor = context.getColor(typedValue.resourceId); in ViewportWindow()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 680 struct Res_value typedValue; member
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1281 uint8_t type = attr->typedValue.dataType; in getAttributeDataType() 1303 if (attr->typedValue.dataType != Res_value::TYPE_DYNAMIC_REFERENCE || in getAttributeData() 1305 return dtohl(attr->typedValue.data); in getAttributeData() 1308 uint32_t data = dtohl(attr->typedValue.data); in getAttributeData() 1326 outValue->copyFrom_dtoh(attr->typedValue); in getAttributeValue()
|