Searched refs:undo (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/android/content/
H A DUndoOperation.java34 * @param owner Who owns the data being modified by this undo state; must be
62 * Return true if this undo operation is a member of the given owner.
74 * operation will be dropped when the final undo state is being built.
89 * Called when this undo state is being committed to the undo stack.
91 * may be needed to undo them.
96 * Called when this undo state is being popped off the undo stack (in to
100 public abstract void undo(); method in class:UndoOperation
103 * Called when this undo stat
[all...]
H A DUndoManager.java28 * Top-level class for managing and interacting with the global undo state for
29 * a document or application. This class supports both undo and redo and has
33 * apps implement to define their undo/redo behavior. The UndoManager keeps
34 * a stack of undo states; each state can have one or more undo operations
48 * can provide undo semantics appropriate to the user's context: while within
50 * undo/redo them without needing to impact edits in other objects; while
52 * undo/redo them as a single stream.</p>
57 // The common case is a single undo owner (e.g. for a TextView), so default to that capacity.
74 * Never merge with the last undo stat
233 public int undo(UndoOwner[] owners, int count) { method in class:UndoManager
910 void undo() { method in class:UndoManager.UndoState
[all...]
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DMainActivity.java136 mDrawView.undo();
292 public void undo(View v) { method in class:MainActivity
294 mLastRegion.undo(mImage2);
H A DDrawView.java124 public void undo() { method in class:DrawView
H A DRegion.java178 public void undo(Bitmap output) { method in class:Region
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DMainActivity.java136 mDrawView.undo();
290 public void undo(View v) { method in class:MainActivity
292 mLastRegion.undo(mImage2);
H A DDrawView.java113 public void undo() { method in class:DrawView
H A DRegion.java169 public void undo(Bitmap output) { method in class:Region
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewActivityMouseTest.java131 mActivity.getString(com.android.internal.R.string.undo));
148 mActivity.getString(com.android.internal.R.string.undo));
162 mActivity.getString(com.android.internal.R.string.undo));
174 mActivity.getString(com.android.internal.R.string.undo));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationInfoTest.java725 mNotificationInfo.findViewById(R.id.undo).performClick();
746 mNotificationInfo.findViewById(R.id.undo).performClick();
990 mNotificationInfo.findViewById(R.id.undo).performClick();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationInfo.java110 // Reset exit counter that we'll log and record an undo event separately (not an exit event)
334 findViewById(R.id.undo).setOnClickListener(mOnUndo);
464 * user does not have the ability to undo the action anymore. See {@link #swapContent(boolean)}
465 * for where undo is handled.
H A DNotificationSnooze.java127 mUndoButton = (TextView) findViewById(R.id.undo);
/frameworks/base/core/java/android/widget/
H A DEditor.java191 // Each Editor manages its own undo stack.
375 // Synchronize the filter list, which places the undo input filter at the end.
398 // Re-associate this object as the owner of undo state.
403 * Forgets all undo and redo operations for this Editor.
421 void undo() { method in class:Editor
426 mUndoManager.undo(owners, 1); // Undo 1 action.
2767 com.android.internal.R.string.undo)
6333 * An InputFilter that monitors text input to maintain undo history. It does not modify the
6394 // Check to see if this edit should be tracked for undo.
6441 // a single operation. Always undo th
6633 public void undo() { method in class:Editor.EditOperation
[all...]
H A DTextView.java2231 // TODO: Consider supporting a global undo manager.
2259 // TODO: Consider supporting a global undo manager. An implementation will need to:
11222 static final int ID_UNDO = android.R.id.undo;
11263 mEditor.undo();
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 272 milliseconds