/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontTest.java | 129 int weight = style.first.intValue(); in testBuilder_buffer() local 132 String path = FontTestUtil.getFontPathFromStyle(weight, italic); in testBuilder_buffer() 137 assertEquals(path, weight, font.getStyle().getWeight()); in testBuilder_buffer() 150 int weight = style.first.intValue(); in testBuilder_buffer_ttc() local 156 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testBuilder_buffer_ttc() 159 assertEquals(path, weight, font.getStyle().getWeight()); in testBuilder_buffer_ttc() 172 int weight = style.first.intValue(); in testBuilder_buffer_vf() local 179 FontTestUtil.getVarSettingsFromStyle(weight, italic)); in testBuilder_buffer_vf() 182 assertEquals(path, weight, font.getStyle().getWeight()); in testBuilder_buffer_vf() 196 int weight = style.first.intValue(); in testBuilder_buffer_override() local [all …]
|
D | NativeSystemFontHelper.java | 70 public static Pair<File, Integer> matchFamilyStyleCharacter(String familyName, int weight, in matchFamilyStyleCharacter() argument 72 final long fontPtr = nMatchFamilyStyleCharacter(familyName, weight, italic, languageTags, in matchFamilyStyleCharacter() 74 final int runLength = nMatchFamilyStyleCharacter_runLength(familyName, weight, italic, in matchFamilyStyleCharacter() 95 private static native long nMatchFamilyStyleCharacter(String familyName, int weight, in nMatchFamilyStyleCharacter() argument 97 private static native int nMatchFamilyStyleCharacter_runLength(String familyName, int weight, in nMatchFamilyStyleCharacter_runLength() argument
|
D | FontTestUtil.java | 262 public static int getTtcIndexFromStyle(int weight, boolean italic) { in getTtcIndexFromStyle() argument 263 return sTtcMap.get(new Pair<>(weight, italic)).intValue(); in getTtcIndexFromStyle() 269 public static String getVarSettingsFromStyle(int weight, boolean italic) { in getVarSettingsFromStyle() argument 270 return sVariationSettingsMap.get(new Pair<>(weight, italic)); in getVarSettingsFromStyle() 276 public static int getFontResourceIdFromStyle(int weight, boolean italic) { in getFontResourceIdFromStyle() argument 277 return sResourceMap.get(new Pair<>(weight, italic)); in getFontResourceIdFromStyle() 283 public static String getFontPathFromStyle(int weight, boolean italic) { in getFontPathFromStyle() argument 284 return sFontMap.get(new Pair<>(weight, italic)); in getFontPathFromStyle()
|
D | NativeSystemFontTest.java | 109 for (int weight : weights) { in testMatchFamilyStyleCharacter_notCrash() 116 familyName, weight, italic, languageTag, in testMatchFamilyStyleCharacter_notCrash()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | LinearLayout_LayoutParamsTest.java | 53 assertEquals(0.0f, linearLayoutParams.weight, 0.0f); in testConstructor() 59 assertEquals(0.0f, linearLayoutParams.weight, 0.0f); in testConstructor() 65 assertEquals(0.4f, linearLayoutParams.weight, 0.0f); in testConstructor() 72 assertEquals(0.0f, linearLayoutParams.weight, 0.0f); in testConstructor() 79 assertEquals(0.0f, linearLayoutParams.weight, 0.0f); in testConstructor() 83 linearLayoutParams2.weight = 0.9f; in testConstructor() 88 assertEquals(0.9f, linearLayoutParams.weight, 0.0f); in testConstructor()
|
D | RadioGroup_LayoutParamsTest.java | 62 assertEquals(0.0f, mLayoutParams.weight, 0.0f); in testConstructor() 67 assertEquals(0.0f, mLayoutParams.weight, 0.0f); in testConstructor() 73 assertEquals(Float.MAX_VALUE, mLayoutParams.weight, 0.0f); in testConstructor() 79 assertEquals(Float.MIN_VALUE, mLayoutParams.weight, 0.0f); in testConstructor() 84 assertEquals(0.0f, mLayoutParams.weight, 0.0f); in testConstructor() 89 assertEquals(0.0f, mLayoutParams.weight, 0.0f); in testConstructor() 104 assertEquals(0.0f, mLayoutParams.weight, 0.0f); in testConstructor() 113 assertEquals(0.5, mLayoutParams.weight, 0.0f); in testConstructor()
|
D | TextViewFontWeightTest.java | 55 FontStyle(int weight, boolean italic) { in FontStyle() argument 56 mWeight = weight; in FontStyle()
|
D | TableLayout_LayoutParamsTest.java | 74 assertEquals(1.2f, layoutParams.weight, 0.0f); in testConstructor() 95 assertEquals(1.4f, layoutParams.weight, 0.0f); in testConstructor()
|
D | RadioGroupTest.java | 306 assertEquals(0.0, layoutParams.weight, 0); in testGenerateLayoutParams() 319 assertEquals(0.5, layoutParams.weight, 0); in testGenerateLayoutParams()
|
D | TableRow_LayoutParamsTest.java | 77 assertEquals(1.2f, layoutParams.weight, 0.0f); in testConstructor()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceCustomFallbackBuilderTest.java | 53 final int weight = style.first.intValue(); in createFullFamilyTypeface() local 58 FontTestUtil.getFontPathFromStyle(weight, italic)).build()); in createFullFamilyTypeface() 61 FontTestUtil.getFontPathFromStyle(weight, italic)).build()); in createFullFamilyTypeface() 71 final int weight = style.first.intValue(); in testSingleFont_path() local 74 final String path = FontTestUtil.getFontPathFromStyle(weight, italic); in testSingleFont_path() 86 final int weight = style.first.intValue(); in testSingleFont_ttc() local 89 final int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testSingleFont_ttc() 102 final int weight = style.first.intValue(); in testSingleFont_vf() local 105 final String varSettings = FontTestUtil.getVarSettingsFromStyle(weight, italic); in testSingleFont_vf() 125 final int weight = style.first.intValue(); in testFamily_selectStyle() local [all …]
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_fonts_cts_SystemFonts.cpp | 110 FontMatcher& setStyle(uint16_t weight, bool italic) { in setStyle() argument 111 AFontMatcher_setStyle(mMatcher.get(), weight, italic); in setStyle() 187 jlong nMatchFamilyStyleCharacter(JNIEnv* env, jclass, jstring familyName, jint weight, in nMatchFamilyStyleCharacter() argument 196 .setStyle(weight, italic) in nMatchFamilyStyleCharacter() 202 jint nMatchFamilyStyleCharacter_runLength(JNIEnv* env, jclass, jstring familyName, jint weight, in nMatchFamilyStyleCharacter_runLength() argument 210 .setStyle(weight, italic) in nMatchFamilyStyleCharacter_runLength()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layered_filter_f32_helper.rsh | 94 const float weight = v_p * (*kernel); 95 result.red += weight * sharp_nbr->red; 96 result.green += weight * sharp_nbr->green; 97 result.blue += weight * sharp_nbr->blue; 98 result.alpha += weight; 178 const float weight = flag * (*kernel); 179 result.red += weight * sharp_nbr->red; 180 result.green += weight * sharp_nbr->green; 181 result.blue += weight * sharp_nbr->blue; 182 result.alpha += weight;
|
D | layered_filter_fast_f32.rs | 269 const float weight = vis_prob[sharp->actual_depth]; 270 float4 this_value = {weight * sharp->red, weight * sharp->green, 271 weight * sharp->blue, weight}; 290 const float weight = ValidDepth(sharp->actual_depth); 291 float4 this_value = {weight * sharp->red, weight * sharp->green, 292 weight * sharp->blue, weight};
|
D | layered_filter_d1new_helper.rsh | 158 const float weight = v_p * (kernel); 159 result.r += weight * sharp_RGBA_nbr.r; 160 result.g += weight * sharp_RGBA_nbr.g; 161 result.b += weight * sharp_RGBA_nbr.b; 162 result.a += weight; 241 const float weight = flag * (kernel); 242 result.r += weight * sharp_RGBA_nbr.r; 243 result.g += weight * sharp_RGBA_nbr.g; 244 result.b += weight * sharp_RGBA_nbr.b; 245 result.a += weight;
|
D | layered_filter_fast_d1new.rs | 356 const float weight = vis_prob[sharp_actual_depth]; 358 float4 this_value = {weight * sharp_RGBA.r, weight * sharp_RGBA.g, 359 weight * sharp_RGBA.b, weight}; 388 const float weight = ValidDepth(sharp_actual_depth); 389 float4 this_value = {weight * sharp_RGBA.r, weight * sharp_RGBA.g, 390 weight * sharp_RGBA.b, weight};
|
/cts/tests/openglperf2/assets/fragment/ |
D | water | 22 float weight = abs(mod(float(u_Time), 101.0) - 50.0) / 50.0;// loop between 0.0 and 1.0 27 vec3 normal = normalize((map1 * weight) + (map2 * (1.0 - weight)));
|
/cts/apps/CtsVerifier/assets/report/ |
D | compatibility_result.css | 102 font-weight: bold; 108 font-weight: bold; 139 font-weight: bold;
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapFilterTests.java | 55 int weight = Color.red(color) + Color.blue(color) + Color.green(color); 56 return weight < DEFAULT_THRESHOLD // is approx Color.BLACK 57 || weight > WHITE_WEIGHT - DEFAULT_THRESHOLD; // is approx Color.WHITE
|
/cts/apps/CameraITS/tests/rolling_shutter_skew/ |
D | test_rolling_shutter_skew.py | 252 weight = 0.0 269 weight += confidence 276 avg_shutter_skew /= weight 277 avg_slope /= weight
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MockFontProvider.java | 63 public Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, in Font() argument 69 mWeight = weight; in Font()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 99 lp.weight = 0.33f; in horizontalButtonSlots()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 2700 private static ArrayList<Area> makeAreas(int left, int top, int right, int bottom, int weight) { in makeAreas() argument 2702 areas.add(new Area(new Rect(left, top, right, bottom), weight)); in makeAreas() 2707 int weight, int number) { in makeAreas() argument 2710 areas.add(new Area(new Rect(left, top, right, bottom), weight)); in makeAreas()
|