Home
last modified time | relevance | path

Searched refs:outValue (Results 1 – 25 of 35) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
H A DThumbnailBehavior.kt52 val outValue = TypedValue() regex
53 cvh.context.resources.getValue(R.dimen.controls_thumbnail_shadow_x, outValue, true)
54 shadowOffsetX = outValue.getFloat()
56 cvh.context.resources.getValue(R.dimen.controls_thumbnail_shadow_y, outValue, true)
57 shadowOffsetY = outValue.getFloat()
59 cvh.context.resources.getValue(R.dimen.controls_thumbnail_shadow_radius, outValue, true)
60 shadowRadius = outValue.getFloat()
/aosp14/frameworks/base/core/java/android/content/res/
H A DAssetManager.java552 Objects.requireNonNull(outValue, "outValue"); in getResourceValue()
563 outValue.changingConfigurations); in getResourceValue()
566 if ((outValue.string = getPooledStringForCookie(cookie, outValue.data)) == null) { in getResourceValue()
584 final TypedValue outValue = mValue; in getResourceText() local
586 return outValue.coerceToString(); in getResourceText()
604 final TypedValue outValue = mValue; in getResourceBagText() local
612 outValue.changingConfigurations); in getResourceBagText()
617 return outValue.coerceToString(); in getResourceBagText()
735 Objects.requireNonNull(outValue, "outValue"); in getThemeValue()
749 if ((outValue.string = getPooledStringForCookie(cookie, outValue.data)) == null) { in getThemeValue()
[all …]
H A DTypedArray.java1090 public boolean getValue(@StyleableRes int index, TypedValue outValue) { in getValue() argument
1095 return getValueAt(index * STYLE_NUM_ENTRIES, outValue); in getValue()
1372 private boolean getValueAt(int index, TypedValue outValue) { in getValueAt() argument
1378 outValue.type = type; in getValueAt()
1379 outValue.data = data[index + STYLE_DATA]; in getValueAt()
1380 outValue.assetCookie = data[index + STYLE_ASSET_COOKIE]; in getValueAt()
1381 outValue.resourceId = data[index + STYLE_RESOURCE_ID]; in getValueAt()
1382 outValue.changingConfigurations = ActivityInfo.activityInfoConfigNativeToJava( in getValueAt()
1384 outValue.density = data[index + STYLE_DENSITY]; in getValueAt()
1385 outValue.string = (type == TypedValue.TYPE_STRING) ? loadStringValueAt(index) : null; in getValueAt()
[all …]
H A DResourcesImpl.java228 void getValue(@AnyRes int id, TypedValue outValue, boolean resolveRefs) in getValue() argument
230 boolean found = mAssets.getResourceValue(id, 0, outValue, resolveRefs); in getValue()
237 void getValueForDensity(@AnyRes int id, int density, TypedValue outValue, in getValueForDensity() argument
239 boolean found = mAssets.getResourceValue(id, density, outValue, resolveRefs); in getValueForDensity()
246 void getValue(String name, TypedValue outValue, boolean resolveRefs) in getValue() argument
250 getValue(id, outValue, resolveRefs); in getValue()
1418 boolean resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) {
1419 return mAssets.getThemeValue(mTheme, resid, outValue, resolveRefs);
H A DResources.java1437 public void getValue(@AnyRes int id, TypedValue outValue, boolean resolveRefs) in getValue() argument
1439 mResourcesImpl.getValue(id, outValue, resolveRefs); in getValue()
1455 public void getValueForDensity(@AnyRes int id, int density, TypedValue outValue, in getValueForDensity() argument
1457 mResourcesImpl.getValueForDensity(id, density, outValue, resolveRefs); in getValueForDensity()
1486 public void getValue(String name, TypedValue outValue, boolean resolveRefs) in getValue() argument
1488 mResourcesImpl.getValue(name, outValue, resolveRefs); in getValue()
1737 public boolean resolveAttribute(int resid, TypedValue outValue, boolean resolveRefs) { in resolveAttribute() argument
1739 return mThemeImpl.resolveAttribute(resid, outValue, resolveRefs); in resolveAttribute()
/aosp14/frameworks/base/core/java/com/android/internal/globalactions/
H A DActionsDialog.java43 TypedValue outValue = new TypedValue(); in getDialogTheme() local
45 outValue, true); in getDialogTheme()
46 return outValue.resourceId; in getDialogTheme()
/aosp14/frameworks/base/tools/aapt/
H A DAaptXml.cpp180 uint32_t attrRes, Res_value* outValue, String8* outError) { in getResolvedResourceAttribute() argument
188 if (tree.getAttributeValue(idx, outValue) != NO_ERROR) { in getResolvedResourceAttribute()
189 if (outValue->dataType == Res_value::TYPE_REFERENCE) { in getResolvedResourceAttribute()
190 resTable.resolveReference(outValue, 0); in getResolvedResourceAttribute()
H A DAaptXml.h118 const android::ResXMLTree& tree, uint32_t attrRes, android::Res_value* outValue,
H A DResourceTable.h248 bool stringToValue(Res_value* outValue, StringPool* pool,
285 Res_value* outValue);
288 Res_value* outValue);
615 Res_value* outValue);
H A DResourceTable.cpp2324 outValue->size = sizeof(Res_value); in stringToValue()
2325 outValue->res0 = 0; in stringToValue()
2326 outValue->dataType = outValue->TYPE_STRING; in stringToValue()
2327 outValue->data = 0; in stringToValue()
2335 if (outValue->dataType == outValue->TYPE_STRING) { in stringToValue()
2356 outValue->data = 0; in stringToValue()
2507 Res_value* outValue) in getAttributeEnum() argument
2527 Res_value* outValue) in getAttributeFlags() argument
2530 outValue->data = 0; in getAttributeFlags()
2558 outValue->data |= val.data; in getAttributeFlags()
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DPresentation.java330 TypedValue outValue = new TypedValue(); in createPresentationContext() local
332 com.android.internal.R.attr.presentationTheme, outValue, true); in createPresentationContext()
333 theme = outValue.resourceId; in createPresentationContext()
H A DTimePickerDialog.java87 final TypedValue outValue = new TypedValue(); in resolveDialogTheme() local
88 context.getTheme().resolveAttribute(R.attr.timePickerDialogTheme, outValue, true); in resolveDialogTheme()
89 return outValue.resourceId; in resolveDialogTheme()
H A DDatePickerDialog.java143 final TypedValue outValue = new TypedValue(); in resolveDialogTheme() local
144 context.getTheme().resolveAttribute(R.attr.datePickerDialogTheme, outValue, true); in resolveDialogTheme()
145 return outValue.resourceId; in resolveDialogTheme()
H A DAlertDialog.java226 final TypedValue outValue = new TypedValue(); in resolveDialogTheme() local
227 context.getTheme().resolveAttribute(R.attr.alertDialogTheme, outValue, true); in resolveDialogTheme()
228 return outValue.resourceId; in resolveDialogTheme()
H A DSearchDialog.java116 TypedValue outValue = new TypedValue(); in resolveDialogTheme() local
118 outValue, true); in resolveDialogTheme()
119 return outValue.resourceId; in resolveDialogTheme()
H A DDialog.java197 final TypedValue outValue = new TypedValue(); in Dialog() local
198 context.getTheme().resolveAttribute(R.attr.dialogTheme, outValue, true); in Dialog()
199 themeResId = outValue.resourceId; in Dialog()
/aosp14/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp5426 if (outValue) { in U16StringToInt()
5525 outValue->dataType = outValue->TYPE_FLOAT; in stringToFloat()
5616 outValue->dataType = outValue->TYPE_REFERENCE; in stringToValue()
5740 outValue->dataType = outValue->TYPE_INT_COLOR_RGB4; in stringToValue()
5749 outValue->dataType = outValue->TYPE_INT_COLOR_ARGB4; in stringToValue()
5759 outValue->dataType = outValue->TYPE_INT_COLOR_RGB8; in stringToValue()
5768 outValue->dataType = outValue->TYPE_INT_COLOR_ARGB8; in stringToValue()
5812 outValue->dataType = outValue->TYPE_ATTRIBUTE; in stringToValue()
5954 outValue->dataType = outValue->TYPE_INT_BOOLEAN; in stringToValue()
5975 outValue->dataType = outValue->TYPE_INT_BOOLEAN; in stringToValue()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
H A DPatternBouncerViewModel.kt178 val outValue = TypedValue() regex
181 outValue,
184 max(min(outValue.float, 1f), MIN_DOT_HIT_FACTOR)
/aosp14/frameworks/base/core/jni/
H A Dcom_android_internal_os_LongMultiStateCounter.cpp35 int64_t *outValue) const { in delta()
36 *outValue = newValue - previousValue; in delta()
37 return *outValue >= 0; in delta()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h761 ssize_t getTextValue(Res_value* outValue) const;
797 ssize_t getAttributeValue(size_t idx, Res_value* outValue) const;
1931 bool U16StringToInt(const char16_t* s, size_t len, Res_value* outValue);
2017 inline ssize_t getResource(const ResTable_ref& res, Res_value* outValue,
2019 return getResource(res.ident, outValue, false, 0, outSpecFlags, NULL);
2092 ssize_t getAttribute(uint32_t resID, Res_value* outValue,
2163 static bool stringToInt(const char16_t* s, size_t len, Res_value* outValue);
2164 static bool stringToFloat(const char16_t* s, size_t len, Res_value* outValue);
2187 Res_value* outValue) = 0;
2190 Res_value* outValue) = 0;
[all …]
/aosp14/frameworks/base/test-mock/src/android/test/mock/
H A DMockResources.java177 public void getValue(int id, TypedValue outValue, boolean resolveRefs) in getValue() argument
183 public void getValue(String name, TypedValue outValue, boolean resolveRefs) in getValue() argument
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
H A DControlAdapter.kt75 val outValue = TypedValue() regex
76 res.getValue(R.dimen.controls_max_columns_adjust_above_font_scale, outValue, true)
77 val maxColumnsAdjustFontScale = outValue.getFloat()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/input/
H A DAmbientKeyboardBacklightControllerTests.kt124 val outValue = args[1] as TypedValue regex
125 outValue.data = java.lang.Float.floatToRawIntBits(1.0f)
/aosp14/frameworks/base/core/java/android/view/
H A DViewDebug.java1255 TypedValue outValue = new TypedValue();
1263 data[i + 1] = theme.resolveAttribute(attributeId, outValue, true) ?
1264 outValue.coerceToString().toString() : nullString;
1268 if (outValue.type == TypedValue.TYPE_REFERENCE) {
1269 data[i - 1] = resources.getResourceName(outValue.resourceId);
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DWindowDecorActionBar.java914 TypedValue outValue = new TypedValue(); in getThemedContext() local
917 outValue, true); in getThemedContext()
918 final int targetThemeRes = outValue.resourceId; in getThemedContext()

12