Lines Matching defs:timeout

101         // Read the long press timeout setting.
131 String message = "Error reading long press timeout setting.";
144 * timeout period specified, the call will return anyway.
147 * @param timeout
149 * @return True if busy state is detected else false for timeout waiting for busy state
151 public boolean clickAndWaitForEvent(final int x, final int y, long timeout,
153 return clickAndWaitForEvents(x, y, timeout, false, eventType);
162 * @param timeout
167 public boolean clickAndWaitForEvents(final int x, final int y, long timeout,
169 String logString = String.format("clickAndWaitForEvents(%d, %d, %d, %s, %d)", x, y, timeout,
183 return runAndWaitForEvents(command, timeout, waitForAll, eventTypes);
189 * @param timeout
193 private boolean runAndWaitForEvent(Runnable command, long timeout, int eventType) {
194 return runAndWaitForEvents(command, timeout, false, eventType);
202 * @param timeout
207 private boolean runAndWaitForEvents(Runnable command, long timeout, final boolean waitForAll,
242 new EventPredicate(eventTypesMask), timeout);
259 * timeout period specified, the call will return anyway with false.
264 * @param timeout
268 final int eventType, long timeout) {
286 return runAndWaitForEvent(command, timeout, eventType);
310 * by TYPE_WINDOW_CONTENT_CHANGED. If timeout occurs waiting for TYPE_WINDOW_STATE_CHANGED,
314 * @param timeout
317 public boolean clickAndWaitForNewWindow(final int x, final int y, long timeout) {
318 return (clickAndWaitForEvents(x, y, timeout, true,
374 * until the UI has fired a scroll event or timeout.