Home
last modified time | relevance | path

Searched refs:marker (Results 1 – 20 of 20) sorted by relevance

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DStylusHandwritingTest.java126 final String marker = getTestMarker(); in testHandwritingDoesNotStartWhenNoStylusDown() local
127 final EditText editText = launchTestActivity(marker); in testHandwritingDoesNotStartWhenNoStylusDown()
129 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testHandwritingDoesNotStartWhenNoStylusDown()
132 editorMatcher("onStartInputView", marker), in testHandwritingDoesNotStartWhenNoStylusDown()
140 editorMatcher("onStartStylusHandwriting", marker), in testHandwritingDoesNotStartWhenNoStylusDown()
163 final String marker = getTestMarker(); in testHandwritingStartAndFinish() local
164 final EditText editText = launchTestActivity(marker); in testHandwritingStartAndFinish()
165 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testHandwritingStartAndFinish()
174 editorMatcher("onStartInputView", marker), in testHandwritingStartAndFinish()
180 editorMatcher("onStartInputView", marker), in testHandwritingStartAndFinish()
[all …]
DKeyboardVisibilityControlTest.java143 @NonNull String eventName, @NonNull String marker) { in editorMatcher() argument
149 return TextUtils.equals(marker, editorInfo.privateImeOptions); in editorMatcher()
202 private EditText launchTestActivity(@NonNull String marker) {
203 return launchTestActivity(marker, getTestMarker()).first;
217 final String marker = getTestMarker();
218 final EditText editText = launchTestActivity(marker);
220 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
221 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT);
232 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT);
270 final String marker = getTestMarker();
[all …]
DFocusHandlingTest.java112 public EditText launchTestActivity(String marker) { in launchTestActivity() argument
119 editText.setPrivateImeOptions(marker); in launchTestActivity()
130 public EditText launchTestActivity(String marker, in launchTestActivity() argument
132 final EditText editText = launchTestActivity(marker); in launchTestActivity()
152 final String marker = getTestMarker(); in testOnStartInputCalledOnceIme() local
153 final EditText editText = launchTestActivity(marker); in testOnStartInputCalledOnceIme()
164 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testOnStartInputCalledOnceIme()
170 notExpectEvent(stream, editorMatcherRestartingFalse("onStartInput", marker), in testOnStartInputCalledOnceIme()
180 final String marker = getTestMarker(); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() local
192 textView.setPrivateImeOptions(marker); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView()
[all …]
DImeInsetsVisibilityTest.java101 final String marker = getTestMarker(); in testImeVisibilityWhenImeFocusableChildPopup() local
103 launchTestActivity(false, marker); in testImeVisibilityWhenImeFocusableChildPopup()
107 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
115 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
117 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
148 final String marker = getTestMarker(); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() local
150 launchTestActivity(false, marker); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
154 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
161 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
175 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
[all …]
DAccessibilityInputMethodTest.java114 final String marker = getTestMarker(); in testLifecycle() local
115 final String markerForRestartInput = marker + "++"; in testLifecycle()
121 editText.setPrivateImeOptions(marker); in testLifecycle()
141 expectA11yImeEvent(stream, editorMatcherForA11yIme("onStartInput", marker), TIMEOUT); in testLifecycle()
158 final String marker = getTestMarker(); in testRestartInput() local
163 editText.setPrivateImeOptions(marker); in testRestartInput()
187 if (!TextUtils.equals(editorInfo.privateImeOptions, marker)) { in testRestartInput()
194 final String markerForRestartInput = marker + "++"; in testRestartInput()
249 final String marker = getTestMarker(); in testNoFallbackInputConnection() local
260 editText.setPrivateImeOptions(marker); in testNoFallbackInputConnection()
[all …]
DEditTextImeSupportTest.java82 public EditText launchTestActivity(String marker, String initialText, in launchTestActivity() argument
90 editText.setPrivateImeOptions(marker); in launchTestActivity()
117 final String marker = getTestMarker(); in testSetTextTriggersRestartInput() local
118 final EditText editText = launchTestActivity(marker, initialText, initialSelectionStart, in testSetTextTriggersRestartInput()
124 editorMatcher("onStartInput", marker), TIMEOUT); in testSetTextTriggersRestartInput()
144 editorMatcher("onStartInput", marker), TIMEOUT); in testSetTextTriggersRestartInput()
259 final String marker = getTestMarker(); in verifyNavigateFlags() local
272 editText.setPrivateImeOptions(marker); in verifyNavigateFlags()
297 editorMatcher("onStartInput", marker), TIMEOUT); in verifyNavigateFlags()
DInputMethodStartInputLifecycleTest.java125 final String marker = getTestMarker(); in testInputConnectionStateWhenScreenStateChanges() local
138 focusedEditText.setPrivateImeOptions(marker); in testInputConnectionStateWhenScreenStateChanges()
152 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
162 notExpectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
181 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
212 final String marker = getTestMarker(); in testNoStartNewInputWhileOtherProcessHasWindowFocus() local
213 final EditText editText = launchTestActivity(marker); in testNoStartNewInputWhileOtherProcessHasWindowFocus()
219 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testNoStartNewInputWhileOtherProcessHasWindowFocus()
249 private EditText launchTestActivity(String marker) { in launchTestActivity() argument
256 editText.setPrivateImeOptions(marker); in launchTestActivity()
[all …]
DInputConnectionHandlerTest.java175 final String marker = getTestMarker(); in testCommitText() local
193 outAttrs.privateImeOptions = marker; in testCommitText()
209 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testCommitText()
252 final String marker = getTestMarker(); in testReportFullscreenMode() local
271 outAttrs.privateImeOptions = marker; in testReportFullscreenMode()
287 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testReportFullscreenMode()
301 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testReportFullscreenMode()
420 final String marker = getTestMarker(); in testExceptionFromGetSurroundingText() local
438 outAttrs.privateImeOptions = marker; in testExceptionFromGetSurroundingText()
454 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testExceptionFromGetSurroundingText()
DOnScreenPositionTest.java77 final String marker = getTestMarker(); in testImeIsNotBehindNavBar() local
86 editText.setPrivateImeOptions(marker); in testImeIsNotBehindNavBar()
94 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeIsNotBehindNavBar()
DPackageVisibilityTest.java86 final String marker = getTestMarker(); in testTargetPackageIsVisibleFromIme() local
88 TIMEOUT, Map.of(MockTestActivityUtil.EXTRA_KEY_PRIVATE_IME_OPTIONS, marker))) { in testTargetPackageIsVisibleFromIme() argument
89 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testTargetPackageIsVisibleFromIme()
DInputMethodServiceTest.java444 final String marker = "testSendDownUpKeyEvents/" + SystemClock.elapsedRealtimeNanos();
468 editText.setPrivateImeOptions(marker);
475 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
514 final String marker =
549 editText.setPrivateImeOptions(marker);
557 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
680 final String marker =
689 editText.setPrivateImeOptions(marker);
702 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
727 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
[all …]
DInputConnectionEndToEndTest.java478 final String marker = getTestMarker(); in testInputConnection() local
501 editText.setPrivateImeOptions(marker); in testInputConnection()
514 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnection()
543 final String marker = getTestMarker(); in testInputConnection() local
567 editText.setPrivateImeOptions(marker); in testInputConnection()
577 expectEvent(imeStream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnection()
586 editorMatcherForA11yIme("onStartInput", marker), TIMEOUT); in testInputConnection()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DXmpDepthDecode.java138 public int marker; field in XmpDepthDecode.Section
228 int marker = c; in parse() local
229 if (marker == M_SOS) { in parse()
234 section.marker = marker; in parse()
248 if (!readMetaOnly || marker == M_APP1) { in parse()
249 sections.add(readSection(is, length, marker, skipExtendedContent)); in parse()
295 int marker, boolean skipExtendedContent) throws IOException { in readSection() argument
298 section.marker = marker; in readSection()
310 section.marker = marker; in readSection()
318 section.marker = marker; in readSection()
/cts/tests/inputmethod/mocka11yime/client/src/com/android/cts/mocka11yime/
DMockA11yImeEventStreamUtils.java143 @NonNull String eventName, @NonNull String marker) { in editorMatcherForA11yIme() argument
150 return TextUtils.equals(marker, editorInfo.privateImeOptions); in editorMatcherForA11yIme()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java162 @NonNull String eventName, @NonNull String marker) { in editorMatcher() argument
168 return TextUtils.equals(marker, editorInfo.privateImeOptions); in editorMatcher()
189 @NonNull String eventName, @NonNull String marker) {
196 return (TextUtils.equals(marker, editorInfo.privateImeOptions) && !restarting );
/cts/apps/CameraITS/tests/scene2_a/
Dtest_jpeg_quality.py98 def find_dqt_markers(marker, jpeg): argument
111 marker_len = len(marker)
113 if list(jpeg[i:i + marker_len]) == marker:
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1Sequence.java216 BitStream marker = new BitStream(); in encodePerImpl() local
217 marker.appendBit(true); in encodePerImpl()
218 listBuilder.add(marker); in encodePerImpl()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DRobustnessPath.java226 for (Waypoint marker : referencePathMarkers) { in checkIfRotationTestable()
227 if (MathsUtils.distanceCalculationInXYZSpace(marker.getCoordinates(), in checkIfRotationTestable()
/cts/tests/tests/util/src/android/util/cts/
DEventLogTest.java225 private List<Event> getEventsAfterMarker(Object marker, int... tags) in getEventsAfterMarker() argument
235 if (marker.equals(event.getData())) { in getEventsAfterMarker()
/cts/apps/CtsVerifier/
DNOTICE.txt14149 a special marker having no metadata<li>