Home
last modified time | relevance | path

Searched refs:granularity (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewHandwritingGestureTest.java1810 private void performSelectGesture(RectF area, int granularity) { in performSelectGesture() argument
1811 performSelectGesture(area, granularity, /* setFallbackText= */ true); in performSelectGesture()
1814 private void performSelectGesture(RectF area, int granularity, boolean setFallbackText) { in performSelectGesture() argument
1818 .setGranularity(granularity) in performSelectGesture()
1825 private void previewSelectGesture(RectF area, int granularity) { in previewSelectGesture() argument
1829 .setGranularity(granularity) in previewSelectGesture()
1835 private void performSelectRangeGesture(RectF startArea, RectF endArea, int granularity) { in performSelectRangeGesture() argument
1841 .setGranularity(granularity) in performSelectRangeGesture()
1848 private void previewSelectRangeGesture(RectF startArea, RectF endArea, int granularity) { in previewSelectRangeGesture() argument
1854 .setGranularity(granularity) in previewSelectRangeGesture()
[all …]
DTextViewTest.java8729 final int granularity = 2; in testAutoSizeUniform_equivalentConfigurations() local
8734 minTextSize, maxTextSize, granularity, unit); in testAutoSizeUniform_equivalentConfigurations()
8757 assertEquals(Math.round(TypedValue.applyDimension(unit, granularity, dm)), in testAutoSizeUniform_equivalentConfigurations()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextTraversalTest.java4067 AccessibilityNodeInfo.AccessibilityAction action, final int granularity, in performMovementActionAndGetEvent() argument
4072 granularity); in performMovementActionAndGetEvent()
4084 boolean granularityMatches = event.getMovementGranularity() == granularity; in performMovementActionAndGetEvent()