Home
last modified time | relevance | path

Searched +defs:a +defs:r (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/aosp12/art/test/530-checker-loops4/src/
H A DMain.java36 public static int geo1(int a) { in geo1()
57 public static int geo2(int a) { in geo2()
119 int a = 0x7fffffff; in geo5() local
142 int a = 1; in geo1BCE() local
143 int r = 0; in geo1BCE() local
167 int a = 1; in geo2BCE() local
168 int r = 0; in geo2BCE() local
187 int a = 25; in geo3BCE() local
188 int r = 0; in geo3BCE() local
207 int a = 25; in geo4BCE() local
[all …]
/aosp12/art/test/530-checker-loops5/src/
H A DMain.java40 int a = 0; in poly1() local
67 public static int poly2(int a) { in poly2()
93 int a = 12345; in poly3() local
111 int a = 0; in polyBCE1() local
112 int r = 0; in polyBCE1() local
131 int a = 1; in polyBCE2() local
132 int r = 0; in polyBCE2() local
153 int r = 0; in polyBCE3() local
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DCat.java73 public static final float frandrange(Random r, float a, float b) { in frandrange()
77 public static final Object choose(Random r, Object... l) { in choose()
81 public static final int chooseP(Random r, int[] a) { in chooseP()
85 public static final int chooseP(Random r, int[] a, int sum) { in chooseP()
97 public static final int getColorIndex(int q, int[] a) { in getColorIndex()
159 final int r = (color & 0xFF0000) >> 16; in isDark() local
/aosp12/art/test/449-checker-bce-rem/src/
H A DMain.java53 int r = v % 3; in $noinline$IntRemBy3() local
82 int r = v % 7; in $noinline$IntRemBy7() local
109 int r = v % 12; in $noinline$IntRemBy12() local
137 int r = v - t; in $noinline$IntRemBy12A() local
166 int r = v % Integer.MAX_VALUE; in $noinline$IntRemByMaxInt() local
194 int r = v - t; in $noinline$IntRemByMinInt() local
246 int a = q * s; in $noinline$NoRem02() local
274 int a = q + s; in $noinline$NoRem03() local
305 int a = q + t; in $noinline$NoRem04() local
336 int a = q + t; in $noinline$NoRem05() local
[all …]
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DColor.java339 private Color(float r, float g, float b, float a) { in Color()
353 private Color(float r, float g, float b, float a, @NonNull ColorSpace colorSpace) { in Color()
841 float r = red(color); in toArgb() local
844 float a = alpha(color); in toArgb() local
912 public static Color valueOf(float r, float g, float b, float a) { in valueOf()
934 … public static Color valueOf(float r, float g, float b, float a, @NonNull ColorSpace colorSpace) { in valueOf()
1110 float r = red(color); in convert() local
1113 float a = alpha(color); in convert() local
1142 public static long convert(float r, float g, float b, float a, in convert()
1170 float a = alpha(color); in convert() local
[all …]
/aosp12/frameworks/av/media/libstagefright/filters/
H A DColorConvert.cpp20 #define max(a,b) ((a) > (b) ? (a) : (b)) argument
23 #define min(a,b) ((a) < (b) ? (a) : (b)) argument
30 int32_t* r, int32_t* g, int32_t* b) { in YUVToRGB()
59 int32_t r, g, b; in convertYUV420spToARGB() local
81 int32_t r, g, b; in convertYUV420spToRGB888() local
98 uint8_t r = *src++; in convertRGBAToARGB() local
101 uint8_t a = *src++; in convertRGBAToARGB() local
/aosp12/art/test/950-redefine-intrinsic/src/
H A DMain.java409 static FuncCmp l2l(String name, final LongUnaryOperator a, final LongUnaryOperator b) { in l2l()
412 static FuncCmp l2i(String name, final LongToIntFunction a, final LongToIntFunction b) { in l2i()
417 static interface LI2IFunction { public long applyToLongInt(long a, int b); } in applyToLongInt()
419 static FuncCmp li2l(String name, final Random r, final LI2IFunction a, final LI2IFunction b) { in li2l()
/aosp12/frameworks/native/services/sensorservice/
H A Dvec.h44 template <typename T> inline T min(T a, T b) { return a<b ? a : b; } in min()
45 template <typename T> inline T max(T a, T b) { return a>b ? a : b; } in max()
70 VLHS<TYPE, SIZE> r; in doAdd() local
85 VLHS<TYPE, SIZE> r; in doSub() local
99 VEC<TYPE, SIZE> r; in doMulScalar() local
113 VEC<TYPE, SIZE> r; in doScalarMul() local
236 VLHS<TYPE, 3> r; in cross_product() local
246 vec<TYPE, SIZE> r; variable
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/
H A DScheduledRecordingTest.java55 ScheduledRecording r = in testIsOverLapping() local
96 ScheduledRecording a = in testBuild_priority() local
115 ScheduledRecording a, ScheduledRecording b, ScheduledRecording c) { in sortByPriority()
121 private void assertOverLapping(boolean expected, long lower, long upper, ScheduledRecording r) { in assertOverLapping()
/aosp12/packages/apps/Settings/src/com/android/settings/widget/
H A DTintDrawable.java53 public void inflate(@NonNull Resources r, @NonNull XmlPullParser parser, in inflate()
56 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.TintDrawable); in inflate() local
72 final TypedArray a = t.resolveAttributes(mThemeAttrs, R.styleable.TintDrawable); in applyTheme() local
87 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
/aosp12/frameworks/base/core/java/android/content/res/
H A DGradientColor.java184 private void updateRootElementState(TypedArray a) { in updateRootElementState()
256 public static GradientColor createFromXml(Resources r, XmlResourceParser parser, Theme theme) in createFromXml()
281 static GradientColor createFromXmlInner(@NonNull Resources r, in createFromXmlInner()
298 private void inflate(@NonNull Resources r, @NonNull XmlPullParser parser, in inflate()
301 final TypedArray a = Resources.obtainAttributes(r, theme, attrs, R.styleable.GradientColor); in inflate() local
321 private void inflateChildElements(@NonNull Resources r, @NonNull XmlPullParser parser, in inflateChildElements()
345 final TypedArray a = Resources.obtainAttributes(r, theme, attrs, in inflateChildElements() local
405 final TypedArray a = t.resolveAttributes(themeAttrsList[i], in applyItemsAttrsTheme() local
575 final TypedArray a = t.resolveAttributes(mThemeAttrs, R.styleable.GradientColor); in applyRootAttrsTheme() local
/aosp12/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_ColorSpace.cpp56 uint8_t a = color >> 56 & 0xff; in convertColorLong() local
57 uint8_t r = color >> 48 & 0xff; in convertColorLong() local
65 float r = halfToFloat((uint16_t)(color >> 48 & 0xffff)); in convertColorLong() local
68 float a = (color >> 6 & 0x3ff) / 1023.0f; in convertColorLong() local
86 static jlong ColorSpace_creator(JNIEnv* env, jobject, jfloat a, jfloat b, jfloat c, in ColorSpace_creator()
/aosp12/art/test/593-checker-shift-and-simplifier/src/
H A DMain.java21 static int[] a = { 10 }; field in Main
36 int r = a[0]; in operations() local
39 int a = s & n; in operations() local
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
H A Dallocatorstest.cpp22 void TestAllocator(Allocator& a) { in TestAllocator()
39 uint8_t *r = (uint8_t*)a.Realloc(q, 200, 150); in TestAllocator() local
51 CrtAllocator a; in TEST() local
56 MemoryPoolAllocator<> a; in TEST() local
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java90 public void inflate(@NonNull Resources r, @NonNull XmlPullParser parser, in inflate()
93 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ClipDrawable); in inflate() local
113 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ClipDrawable); in applyTheme() local
125 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
135 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
184 final Rect r = mTmpRect; in draw() local
H A DScaleDrawable.java101 public void inflate(@NonNull Resources r, @NonNull XmlPullParser parser, in inflate()
104 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.ScaleDrawable); in inflate() local
126 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ScaleDrawable); in applyTheme() local
140 private void verifyRequiredAttributes(@NonNull TypedArray a) throws XmlPullParserException { in verifyRequiredAttributes()
150 private void updateStateFromTypedArray(@NonNull TypedArray a) { in updateStateFromTypedArray()
174 private static float getPercent(TypedArray a, int index, float defaultValue) { in getPercent()
226 final Rect r = mTmpRect; in onBoundsChange() local
/aosp12/frameworks/base/packages/SystemUI/res/raw/
H A Dsfps_pulse.json1 …:0,"ind":1,"ty":4,"nm":".black","cl":"black","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"… number
H A Dsfps_pulse_landscape.json1 …:0,"ind":1,"ty":4,"nm":".black","cl":"black","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"… number
/aosp12/art/test/530-checker-lse-simd/src/
H A DMain.java45 static double $noinline$vecgen(double a[], double b[], int n) { in $noinline$vecgen()
65 double a[] = new double[1024]; in test01() local
94 static double $noinline$test02(double a[], int n) { in $noinline$test02()
110 double a[] = new double[128]; in test02() local
125 double a[] = new double[n]; in $noinline$test03() local
169 double a[] = new double[n]; in $noinline$test04() local
210 double a[] = new double[n]; in $noinline$test05() local
256 double a[] = new double[n]; in $noinline$test06() local
259 double r = a[0] + 1.0; // ArrayGet:a[0] is eliminated and default 0.0 is used. in $noinline$test06() local
/aosp12/packages/apps/Settings/res/raw/
H A Dlottie_system_nav_3_button.json1 …d":1,"ty":4,"nm":".blue400\n","cl":"blue400","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"… number
H A Dlottie_system_nav_2_button.json1 …ind":1,"ty":4,"nm":".blue400","cl":"blue400","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"… number
H A Daccessibility_color_inversion_banner.json27 "r": { object
499 "r": { object
758 "r": { object
1045 "r": { object
1235 "r": { object
1425 "r": { object
1939 "r": { object
2453 "r": { object
2536 "r": { object
2590 "r": { object
[all …]
H A Dextra_dim_banner.json27 "r": { object
286 "r": { object
758 "r": { object
1045 "r": { object
1099 "r": { object
1289 "r": { object
1479 "r": { object
1993 "r": { object
2507 "r": { object
2561 "r": { object
[all …]
/aosp12/system/extras/tests/timetest/
H A Dtimetest.c26 static struct timespec ts_sub(struct timespec a, struct timespec b) in ts_sub()
28 struct timespec r; in ts_sub() local
42 static struct timespec ts_min(struct timespec a, struct timespec b) in ts_min()
50 static struct timespec ts_max(struct timespec a, struct timespec b) in ts_max()
/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHash.cpp34 T r; in load() local
49 uint64_t a = (u ^ v) * kMul; in hash64Len16() local
62 const uint64_t a = load<uint64_t>(s); in hash64Len0To16() local
67 const uint32_t a = load<uint32_t>(s); in hash64Len0To16() local
72 const unsigned char a = static_cast<unsigned char>(s[0]); in hash64Len0To16() local

12345678910>>...15