Searched defs:after (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/av/media/libmedia/
H A DSingleStateQueue.cpp80 int32_t after = android_atomic_release_load(&shared->mSequence); local
81 if (after == before) {
90 before = after;
H A DAudioTrackShared.cpp84 TIMEOUT_CONTINUE, // additional chances after TIMEOUT_FINITE
231 struct timespec after; local
232 clock_gettime(CLOCK_MONOTONIC, &after);
233 total.tv_sec += after.tv_sec - before.tv_sec;
234 long deltaNs = after.tv_nsec - before.tv_nsec;
243 before = after;
387 TIMEOUT_CONTINUE, // additional chances after TIMEOUT_FINITE
/frameworks/base/core/java/android/text/
H A DTextWatcher.java27 * are about to be replaced by new text with length <code>after</code>.
32 int count, int after);
31 beforeTextChanged(CharSequence s, int start, int count, int after) argument
H A DTextLine.java611 * @param after true if the new offset should logically follow the provided
616 boolean runIsRtl, int offset, boolean after) {
618 if (runIndex < 0 || offset == (after ? mLen : 0)) {
622 if (after) {
636 int target = after ? offset + 1 : offset;
665 return after ? spanLimit : spanStart;
671 int cursorOpt = after ? Paint.CURSOR_AFTER : Paint.CURSOR_BEFORE;
1024 * @return the (unsigned) tab position after this offset
615 getOffsetBeforeAfter(int runIndex, int runStart, int runLimit, boolean runIsRtl, int offset, boolean after) argument
H A DDynamicLayout.java189 private void reflow(CharSequence s, int where, int before, int after) { argument
207 after += diff;
213 int look = TextUtils.indexOf(text, '\n', where + after);
217 look++; // we want the index after the \n
219 int change = look - (where + after);
221 after += change;
232 Object[] force = sp.getSpans(where, where + after,
244 after += diff;
248 if (en > where + after) {
251 int diff = en - (where + after);
635 reflow(CharSequence s, int where, int before, int after) argument
644 beforeTextChanged(CharSequence s, int where, int before, int after) argument
648 onTextChanged(CharSequence s, int where, int before, int after) argument
[all...]
H A DSpannableStringBuilder.java142 final int after = oldLength - (mGapStart + mGapLength);
143 System.arraycopy(mText, oldLength - after, newText, newLength - after, after);
518 // Span watchers need to be called after text watchers, which may update the layout
811 // Expensive test, should be performed after the previous tests
868 * Return the next offset after <code>start</code> but less than or
952 private void sendBeforeTextChanged(TextWatcher[] watchers, int start, int before, int after) { argument
956 watchers[i].beforeTextChanged(this, start, before, after);
960 private void sendTextChanged(TextWatcher[] watchers, int start, int before, int after) { argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java76 int after) {
113 // The text could be changed by other TextWatcher after we changed it. If we found the
75 beforeTextChanged(CharSequence s, int start, int count, int after) argument
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
H A DCameraTooTest.java142 private static <T> Set<T> newlyAddedElements(Set<T> before, Set<T> after) { argument
143 Set<T> result = new HashSet<T>(after);
/frameworks/base/core/java/com/android/internal/app/
H A DRestrictionsPinActivity.java144 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
/frameworks/base/core/tests/coretests/src/android/text/
H A DSpannedTest.java176 int after) { }
175 beforeTextChanged(CharSequence s, int start, int count, int after) argument
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java71 int count, int after) {
70 beforeTextChanged(CharSequence s, int start, int count, int after) argument
/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java259 int after) {
256 beforeTextChanged(CharSequence s, int start, int count, int after) argument
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsHistoryTest.java392 final NetworkStatsHistory after = new NetworkStatsHistory(new DataInputStream(in));
394 // must have identical totals before and after
396 assertFullValues(after, 5 * MINUTE_IN_MILLIS, 1034L, 30L, 2078L, 60L, 54L);
489 NetworkStatsHistory stats, int before, int after, long time) {
491 assertEquals("unexpected after", after, stats.getIndexAfter(time));
488 assertIndexBeforeAfter( NetworkStatsHistory stats, int before, int after, long time) argument
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardAccountView.java116 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
H A DKeyguardPasswordView.java145 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
218 // We can return true immediately after we find two or more filtered IMEs.
283 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZonePickerView.java130 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java26 * can be set up to play together, in sequence, or after a specified delay.
111 // The amount of time in ms to delay starting the animation after start() is called
172 * @param items The animations that will be started one after another.
192 * @param items The animations that will be started one after another.
284 * <code>play(a1).after(a2)</code> sets up the AnimatorSet to play
407 * The amount of time, in milliseconds, to delay starting the animation after
418 * The amount of time, in milliseconds, to delay starting the animation after
528 // insert "play-after" delays
1045 * Temporary field to hold the clone in AnimatorSet#clone. Cleaned after clone is complete
1112 * s.play(anim4).after(anim
1217 public Builder after(Animator anim) { method in class:AnimatorSet.Builder
1238 public Builder after(long delay) { method in class:AnimatorSet.Builder
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java461 public static String replaceEnd(String str, String before, String after) { argument
466 return str.substring(0, str.length() - before.length()) + after;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java194 * after a layout.
248 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
249 super.onTextChanged(text, start, before, after);
/frameworks/base/core/java/android/text/format/
H A DTime.java31 * a moment in time, specified with second precision. It is modelled after
384 * fields, call {@link #normalize(boolean)} after parsing.
725 * after adding or subtracting days or explicitly setting the "monthDay"
733 * or {@link #set(Time)} or after parsing a date string.
837 * Returns true if the time represented by this Time object occurs after
843 public boolean after(Time that) { method in class:Time
1018 * for the Monday week weeks after the Monday of the week containing the
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerTest.java322 void after(RecyclerView.Recycler recycler, RecyclerView.State state) {
804 Map<Item, Rect> after) {
807 assertRectSetsEqual("NOT " + message, before, after);
814 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) { argument
821 sb.append("after:\n");
822 for (Map.Entry<Item, Rect> entry : after.entrySet()) {
827 , after.size());
829 Rect afterRect = after.get(entry.getKey());
830 assertNotNull(message + ":\nSame item should be visible after simple re-layout",
1077 mOnLayoutListener.after(recycle
803 assertRectSetsNotEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) argument
1090 void after(RecyclerView.Recycler recycler, RecyclerView.State state){} method in class:LinearLayoutManagerTest.OnLayoutListener
[all...]
H A DStaggeredGridLayoutManagerTest.java391 void after(RecyclerView.Recycler recycler, RecyclerView.State state) {
822 // run these tests twice. once initial layout, once after scroll
909 assertEquals("after setting new span count, layout manager should keep new value",
913 assertTrue("when span count is dramatically changed after restore, # of child views "
1094 // TODO add tests for changing values after restore before layout
1242 Log.d(TAG, "after scrolling to visible mPosition " +
1269 Log.d(TAG, "after scroll to partially visible child " + bounds + " in "
1273 + " after scrolling to a partially visible child, it should become fully "
1387 Map<Item, Rect> after = mLayoutManager.collectChildCoordinates();
1391 before, after
1522 assertRectSetsNotEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) argument
1533 assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) argument
1568 void after(RecyclerView.Recycler recycler, RecyclerView.State state) { method in class:StaggeredGridLayoutManagerTest.OnLayoutListener
[all...]
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java52 * only after a given number of characters defined by
750 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
772 if (DEBUG) Log.v(TAG, "after text changed: openBefore=" + mOpenBefore
965 * are asynchronous, so the result may come back after enough text
H A DGridLayout.java64 * (after padding is taken into account).
76 * overlap after the layout operation completes.
2039 * If an assignment is made to this field after a measurement or layout operation
2053 * If an assignment is made to this field after a measurement or layout operation
2372 before the alignment point and the amount of space required after it. One side of this
2383 public int after; field in class:GridLayout.Bounds
2392 after = Integer.MIN_VALUE;
2396 protected void include(int before, int after) { argument
2398 this.after = max(this.after, afte
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java255 // after reading historical data. This should be pretty
1936 // be loaded before or after the adapter is created.
2224 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
2286 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument

Completed in 717 milliseconds

12