Home
last modified time | relevance | path

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

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardVisibilityControlTest.java120 @NonNull String eventName, @NonNull String marker) { in editorMatcher() argument
126 return TextUtils.equals(marker, editorInfo.privateImeOptions); in editorMatcher()
179 private EditText launchTestActivity(@NonNull String marker) {
180 return launchTestActivity(marker, getTestMarker()).first;
194 final String marker = getTestMarker();
195 final EditText editText = launchTestActivity(marker);
197 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
198 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT);
209 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT);
271 final String marker = getTestMarker();
[all …]
DFocusHandlingTest.java102 public EditText launchTestActivity(String marker) { in launchTestActivity() argument
109 editText.setPrivateImeOptions(marker); in launchTestActivity()
120 public EditText launchTestActivity(String marker, in launchTestActivity() argument
122 final EditText editText = launchTestActivity(marker); in launchTestActivity()
145 final String marker = getTestMarker(); in testOnStartInputCalledOnceIme() local
146 final EditText editText = launchTestActivity(marker); in testOnStartInputCalledOnceIme()
157 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testOnStartInputCalledOnceIme()
163 notExpectEvent(stream, editorMatcherRestartingFalse("onStartInput", marker), in testOnStartInputCalledOnceIme()
176 final String marker = getTestMarker(); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() local
188 textView.setPrivateImeOptions(marker); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView()
[all …]
DImeInsetsVisibilityTest.java102 final String marker = getTestMarker(); in testImeVisibilityWhenImeFocusableChildPopup() local
104 launchTestActivity(false, marker); in testImeVisibilityWhenImeFocusableChildPopup()
108 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
116 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
118 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableChildPopup()
156 final String marker = getTestMarker(); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() local
158 launchTestActivity(false, marker); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
162 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
169 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
190 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); in testImeVisibilityWhenImeFocusableGravityBottomChildPopup()
[all …]
DInputMethodStartInputLifecycleTest.java102 final String marker = InputMethodManagerTest.class.getName() + "/" in testInputConnectionStateWhenScreenStateChanges() local
116 focusedEditText.setPrivateImeOptions(marker); in testInputConnectionStateWhenScreenStateChanges()
130 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
140 notExpectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
159 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testInputConnectionStateWhenScreenStateChanges()
190 final String marker = InputMethodStartInputLifecycleTest.class.getName() + "/" in testNoStartNewInputWhileOtherProcessHasWindowFocus() local
192 final EditText editText = launchTestActivity(marker); in testNoStartNewInputWhileOtherProcessHasWindowFocus()
198 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testNoStartNewInputWhileOtherProcessHasWindowFocus()
228 private EditText launchTestActivity(String marker) { in launchTestActivity() argument
235 editText.setPrivateImeOptions(marker); in launchTestActivity()
DEditTextImeSupportTest.java76 public EditText launchTestActivity(String marker, String initialText, in launchTestActivity() argument
84 editText.setPrivateImeOptions(marker); in launchTestActivity()
111 final String marker = getTestMarker(); in testSetTextTriggersRestartInput() local
112 final EditText editText = launchTestActivity(marker, initialText, initialSelectionStart, in testSetTextTriggersRestartInput()
118 editorMatcher("onStartInput", marker), TIMEOUT); in testSetTextTriggersRestartInput()
138 editorMatcher("onStartInput", marker), TIMEOUT); in testSetTextTriggersRestartInput()
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.java368 final String marker = "testSendDownUpKeyEvents/" + SystemClock.elapsedRealtimeNanos();
392 editText.setPrivateImeOptions(marker);
399 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
438 final String marker =
464 editText.setPrivateImeOptions(marker);
472 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
533 final String marker =
542 editText.setPrivateImeOptions(marker);
555 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
580 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
[all …]
DInputConnectionBlockingMethodTest.java194 final String marker = getTestMarker(); in testInputConnection() local
207 editText.setPrivateImeOptions(marker); in testInputConnection()
220 expectEvent(stream, editorMatcher("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/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java152 @NonNull String eventName, @NonNull String marker) { in editorMatcher() argument
158 return TextUtils.equals(marker, editorInfo.privateImeOptions); in editorMatcher()
179 @NonNull String eventName, @NonNull String marker) {
186 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()