Home
last modified time | relevance | path

Searched refs:parseValue (Results 1 – 15 of 15) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/
H A DValueParserTest.kt14 assertThat(Type.String.parseValue("test")).isEqualTo(Result.success("test"))
19 assertThat(Type.Int.parseValue("123")).isEqualTo(Result.success(123))
21 assertTrue(Type.Int.parseValue("not an Int").isFailure)
26 assertThat(Type.Float.parseValue("1.23")).isEqualTo(Result.success(1.23f))
28 assertTrue(Type.Int.parseValue("not a Float").isFailure)
33 assertThat(Type.Boolean.parseValue("true")).isEqualTo(Result.success(true))
34 assertThat(Type.Boolean.parseValue("false")).isEqualTo(Result.success(false))
36 assertTrue(Type.Boolean.parseValue("not a Boolean").isFailure)
43 assertThat(parseSquare.parseValue("10")).isEqualTo(Result.success(Rect(10, 10, 10, 10)))
57 assertThat(fallibleParseSquare.parseValue("10"))
[all …]
/aosp14/frameworks/base/core/java/android/view/animation/
H A DClipRectAnimation.java67 Description d = Description.parseValue(a.peekValue( in ClipRectAnimation()
72 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
77 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
82 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
88 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
93 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
98 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
103 d = Description.parseValue(a.peekValue( in ClipRectAnimation()
H A DExtendAnimation.java65 Description d = Description.parseValue(a.peekValue( in ExtendAnimation()
70 d = Description.parseValue(a.peekValue( in ExtendAnimation()
75 d = Description.parseValue(a.peekValue( in ExtendAnimation()
80 d = Description.parseValue(a.peekValue( in ExtendAnimation()
86 d = Description.parseValue(a.peekValue( in ExtendAnimation()
91 d = Description.parseValue(a.peekValue( in ExtendAnimation()
96 d = Description.parseValue(a.peekValue( in ExtendAnimation()
101 d = Description.parseValue(a.peekValue( in ExtendAnimation()
H A DTranslateAnimation.java75 Description d = Description.parseValue(a.peekValue( in TranslateAnimation()
80 d = Description.parseValue(a.peekValue( in TranslateAnimation()
85 d = Description.parseValue(a.peekValue( in TranslateAnimation()
90 d = Description.parseValue(a.peekValue( in TranslateAnimation()
H A DRotateAnimation.java58 Description d = Description.parseValue(a.peekValue( in RotateAnimation()
63 d = Description.parseValue(a.peekValue( in RotateAnimation()
H A DGridLayoutAnimationController.java118 Animation.Description d = Animation.Description.parseValue( in GridLayoutAnimationController()
122 d = Animation.Description.parseValue( in GridLayoutAnimationController()
H A DScaleAnimation.java120 Description d = Description.parseValue(a.peekValue( in ScaleAnimation()
125 d = Description.parseValue(a.peekValue( in ScaleAnimation()
H A DLayoutAnimationController.java108 Animation.Description d = Animation.Description.parseValue( in LayoutAnimationController()
H A DAnimation.java1297 static Description parseValue(TypedValue value, Context context) { in parseValue() method in Animation.Description
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
H A DValueParser.kt131 fun parseValue(value: String): Result<A> regex
137 this.parseValue(value).flatMap { a ->
H A DParameters.kt189 .parseValue(iterator.next())
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java203 final Object value = parseValue(st, type); in parse()
233 static Object parseValue(StreamTokenizer st, final int type) throws IOException { in parseValue() method in TypedProperties
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt18922 HSPLandroid/view/animation/Animation$Description;->parseValue(Landroid/util/TypedValue;Landroid/con…
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt59083 Landroid/view/animation/Animation$Description;->parseValue(Landroid/util/TypedValue;)Landroid/view/…
85371 Lcom/android/internal/util/TypedProperties;->parseValue(Ljava/io/StreamTokenizer;I)Ljava/lang/Objec…
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt18986 HSPLandroid/view/animation/Animation$Description;->parseValue(Landroid/util/TypedValue;Landroid/con…