Home
last modified time | relevance | path

Searched refs:mEditor (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/widget/
DTextView.java651 private Editor mEditor; field in TextView
1122 mEditor.mAllowUndo = a.getBoolean(attr, true); in TextView()
1127 mEditor.createInputContentTypeIfNeeded(); in TextView()
1128 mEditor.mInputContentType.imeOptions = a.getInt(attr, in TextView()
1129 mEditor.mInputContentType.imeOptions); in TextView()
1134 mEditor.createInputContentTypeIfNeeded(); in TextView()
1135 mEditor.mInputContentType.imeActionLabel = a.getText(attr); in TextView()
1140 mEditor.createInputContentTypeIfNeeded(); in TextView()
1141 mEditor.mInputContentType.imeActionId = a.getInt(attr, in TextView()
1142 mEditor.mInputContentType.imeActionId); in TextView()
[all …]
DEditor.java5701 private final Editor mEditor;
5714 mEditor = editor;
5789 EditOperation edit = new EditOperation(mEditor, "", dstart, newText);
5809 EditOperation edit = new EditOperation(mEditor, oldText, dstart, newText);
5819 final UndoManager um = mEditor.mUndoManager;
5822 EditOperation.class, mEditor.mUndoOwner, UndoManager.MERGE_MODE_UNIQUE);
5836 um.commitState(mEditor.mUndoOwner);
5844 um.commitState(mEditor.mUndoOwner);
5852 if (!mEditor.mAllowUndo) {
5857 if (mEditor.mUndoManager.isInUndo()) {
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java217 private PdfEditor mEditor; field in PdfManipulationService.PdfEditorImpl
227 mEditor = new PdfEditor(source); in openDocument()
228 return mEditor.getPageCount(); in openDocument()
247 int lastPageIdx = mEditor.getPageCount() - 1; in removePages()
262 mEditor.removePage(j); in removePages()
287 final boolean scaleForPrinting = mEditor.shouldScaleForPrinting(); in applyPrintAttributes()
289 final int pageCount = mEditor.getPageCount(); in applyPrintAttributes()
291 if (!mEditor.getPageMediaBox(i, mediaBox)) { in applyPrintAttributes()
302 mEditor.setPageMediaBox(i, mediaBox); in applyPrintAttributes()
318 if (mEditor.getPageCropBox(i, cropBox)) { in applyPrintAttributes()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeSharedPreferences.java29 private Editor mEditor; field in BridgeSharedPreferences
73 if (mEditor != null) { in edit()
74 return mEditor; in edit()
76 mEditor = new Editor() { in edit()
126 return mEditor; in edit()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceManager.java64 private SharedPreferences.Editor mEditor; field in PreferenceManager
450 if (mEditor == null) { in getEditor()
451 mEditor = getSharedPreferences().edit(); in getEditor()
454 return mEditor; in getEditor()
472 if (!noCommit && mEditor != null) { in setNoCommit()
473 SharedPreferencesCompat.EditorCompat.getInstance().apply(mEditor); in setNoCommit()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java95 private SharedPreferences.Editor mEditor; field in PreferenceManager
635 if (mEditor == null) { in getEditor()
636 mEditor = getSharedPreferences().edit(); in getEditor()
639 return mEditor; in getEditor()
657 if (!noCommit && mEditor != null) { in setNoCommit()
659 mEditor.apply(); in setNoCommit()
664 mEditor.commit(); in setNoCommit()