/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | FontVariationAxisTest.java | 72 FontVariationAxis[] axes = FontVariationAxis.fromFontVariationSettings(""); in testFromFontVariationSetting_Single() local 73 assertNull(axes); in testFromFontVariationSetting_Single() 75 axes = FontVariationAxis.fromFontVariationSettings(null); in testFromFontVariationSetting_Single() 76 assertNull(axes); in testFromFontVariationSetting_Single() 78 axes = FontVariationAxis.fromFontVariationSettings("'wdth' 1"); in testFromFontVariationSetting_Single() 79 assertEquals(1, axes.length); in testFromFontVariationSetting_Single() 80 assertEquals("wdth", axes[0].getTag()); in testFromFontVariationSetting_Single() 81 assertEquals(1.0f, axes[0].getStyleValue(), FLOT_EQUALITY_PREC); in testFromFontVariationSetting_Single() 83 axes = FontVariationAxis.fromFontVariationSettings("\"wdth\" 100"); in testFromFontVariationSetting_Single() 84 assertEquals(1, axes.length); in testFromFontVariationSetting_Single() [all …]
|
/cts/tests/input/src/android/input/cts/ |
D | InputEventTest.kt | 54 val axes = ArrayMap<Int, String>() in testAxisFromToString() constant 55 axes.put(MotionEvent.AXIS_X, "AXIS_X") in testAxisFromToString() 56 axes.put(MotionEvent.AXIS_Y, "AXIS_Y") in testAxisFromToString() 57 axes.put(MotionEvent.AXIS_PRESSURE, "AXIS_PRESSURE") in testAxisFromToString() 58 axes.put(MotionEvent.AXIS_SIZE, "AXIS_SIZE") in testAxisFromToString() 59 axes.put(MotionEvent.AXIS_TOUCH_MAJOR, "AXIS_TOUCH_MAJOR") in testAxisFromToString() 60 axes.put(MotionEvent.AXIS_TOUCH_MINOR, "AXIS_TOUCH_MINOR") in testAxisFromToString() 61 axes.put(MotionEvent.AXIS_TOOL_MAJOR, "AXIS_TOOL_MAJOR") in testAxisFromToString() 62 axes.put(MotionEvent.AXIS_TOOL_MINOR, "AXIS_TOOL_MINOR") in testAxisFromToString() 63 axes.put(MotionEvent.AXIS_ORIENTATION, "AXIS_ORIENTATION") in testAxisFromToString() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | GyroscopeMeasurementTestActivity.java | 175 private int[] getExpectationsDeg(int axes, int rotationAxis, int expectationDeg) { in getExpectationsDeg() argument 176 int[] expectationsDeg = new int[axes]; in getExpectationsDeg() 177 for (int i = 0; i < axes; ++i) { in getExpectationsDeg() 184 private float[] getThresholdsDeg(int axes, int rotationAxis) { in getThresholdsDeg() argument 185 float[] thresholdsDeg = new float[axes]; in getThresholdsDeg() 186 for (int i = 0; i < axes; ++i) { in getThresholdsDeg()
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontFamilyUpdateRequestTest.java | 48 List<FontVariationAxis> axes = Arrays.asList( in font() local 52 postScriptName, style).setAxes(axes).setIndex(5).build(); in font() 55 assertThat(font.getAxes()).containsExactlyElementsIn(axes).inOrder(); in font() 60 new FontFamilyUpdateRequest.Font.Builder(null, style).setAxes(axes)); in font() 62 new FontFamilyUpdateRequest.Font.Builder("", style).setAxes(axes)); in font() 65 .setAxes(axes)); in font()
|
D | SystemFontsTest.java | 124 FontVariationAxis[] axes = font.getAxes(); in testAvailableFonts_FontAttributeGetters() local 125 if (axes != null) { in testAvailableFonts_FontAttributeGetters() 126 for (FontVariationAxis axis : axes) { in testAvailableFonts_FontAttributeGetters() 200 final FontVariationAxis[] axes = glyphs.getFont(i).getAxes(); in testAdjustmentPreserveWidth() local 201 assertThat(axes).isNotEmpty(); in testAdjustmentPreserveWidth() 203 for (FontVariationAxis axis : axes) { in testAdjustmentPreserveWidth()
|
D | FontTest.java | 204 FontVariationAxis[] axes = FontVariationAxis.fromFontVariationSettings( in testBuilder_buffer_vf() local 207 Font font = new Font.Builder(buffer).setFontVariationSettings(axes).build(); in testBuilder_buffer_vf() 211 assertAxesEquals(path, axes, font.getAxes()); in testBuilder_buffer_vf() 327 FontVariationAxis[] axes = FontVariationAxis.fromFontVariationSettings( in testBuilder_file_vf() local 335 Font font = new Font.Builder(file).setFontVariationSettings(axes).build(); in testBuilder_file_vf() 339 assertAxesEquals(path, axes, font.getAxes()); in testBuilder_file_vf() 473 FontVariationAxis[] axes = FontVariationAxis.fromFontVariationSettings( in testBuilder_fd_vf() local 483 Font font = new Font.Builder(fd).setFontVariationSettings(axes) in testBuilder_fd_vf() 488 assertAxesEquals(path, axes, font.getAxes()); in testBuilder_fd_vf() 625 FontVariationAxis[] axes = FontVariationAxis.fromFontVariationSettings( in testBuilder_fd_subdata_vf() local [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9410/ |
D | poc.cpp | 65 std::unordered_set < uint32_t > axes; in main() local 67 analyzeAxes(fvarData, fvarSize, &axes); in main()
|
/cts/tests/tests/hardware/res/raw/ |
D | gamevice_gv186_motioneventtests.json | 3 // This device produces a MOVE with coordinates in generic axes due to the HID usage
|
/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | TextRunShaperTest.java | 204 FontVariationAxis[] axes = font.getAxes(); in shapeText_FontCreateFromNative() local 205 assertThat(axes.length).isEqualTo(1); in shapeText_FontCreateFromNative() 206 assertThat(axes[0].getTag()).isEqualTo("wght"); in shapeText_FontCreateFromNative() 207 assertThat(axes[0].getStyleValue()).isEqualTo(250f); in shapeText_FontCreateFromNative()
|
/cts/libs/input/src/com/android/cts/input/ |
D | InputJsonParser.java | 521 JSONObject axes; in parseMotionEvent() local 523 axes = entry.getJSONObject("axes"); in parseMotionEvent() 525 axes = pointers.getJSONObject(i); in parseMotionEvent() 527 Iterator<String> keys = axes.keys(); in parseMotionEvent() 530 float value = (float) axes.getDouble(axis); in parseMotionEvent()
|
/cts/apps/CameraITS/tools/ |
D | dng_noise_model.py | 427 fig, axes = plt.subplots(4, 2, figsize=(22, 17)) 428 s_plots, o_plots = axes[:, 0], axes[:, 1]
|
/cts/apps/CameraITS/utils/ |
D | noise_model_utils.py | 744 fig, axes = plt.subplots(4, 4, figsize=(22, 22)) 771 subplot = axes[pidx // 4, pidx % 4]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 965 final int[] axes = { in testAxisFromToString() local 1022 for (int i = 0; i < axes.length; i++) { in testAxisFromToString() 1023 String axisToString = MotionEvent.axisToString(axes[i]); in testAxisFromToString() 1025 assertEquals(axes[i], MotionEvent.axisFromString(axisToString)); in testAxisFromToString()
|
/cts/tests/tests/view/res/raw/ |
D | Generic.kl | 447 # Joystick and game controller axes.
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |