Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DTextView.java715 private Editor mEditor;
1268 mEditor.mAllowUndo = a.getBoolean(attr, true);
1273 mEditor.createInputContentTypeIfNeeded();
1274 mEditor.mInputContentType.imeOptions = a.getInt(attr,
1275 mEditor.mInputContentType.imeOptions);
1280 mEditor.createInputContentTypeIfNeeded();
1281 mEditor.mInputContentType.imeActionLabel = a.getText(attr);
1286 mEditor.createInputContentTypeIfNeeded();
1287 mEditor.mInputContentType.imeActionId = a.getInt(attr,
1288 mEditor.mInputContentType.imeActionId);
[all …]
DSelectionActionModeHelper.java53 private final Editor mEditor; field in SelectionActionModeHelper
62 mEditor = Preconditions.checkNotNull(editor); in SelectionActionModeHelper()
63 final TextView textView = mEditor.getTextView(); in SelectionActionModeHelper()
77 final TextView tv = mEditor.getTextView(); in startActionModeAsync()
98 mEditor.getTextView(), TIMEOUT_DURATION, in invalidateActionModeAsync()
110 textIndex, mEditor, mTextClassificationHelper.getSelectionTag())) { in resetSelection()
136 return mEditor.getTextView().getTextClassifier() == TextClassifier.NO_OP; in isNoOpTextClassifier()
140 final TextView textView = mEditor.getTextView(); in hasSelection()
145 final TextView textView = mEditor.getTextView(); in startActionMode()
155 if (mEditor.startSelectionActionModeInternal()) { in startActionMode()
[all …]
DEditor.java5818 private final Editor mEditor;
5834 mEditor = editor;
5895 mEditor.mUndoManager.beginUpdate("Edit text");
5900 mEditor.mUndoManager.endUpdate();
5929 EditOperation edit = new EditOperation(mEditor, oldText, dstart, newText,
5938 final UndoManager um = mEditor.mUndoManager;
5940 EditOperation.class, mEditor.mUndoOwner, UndoManager.MERGE_MODE_UNIQUE);
5948 final UndoManager um = mEditor.mUndoManager;
5964 um.commitState(mEditor.mUndoOwner);
5972 um.commitState(mEditor.mUndoOwner);
[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.java74 private SharedPreferences.Editor mEditor; field in PreferenceManager
489 if (mEditor == null) { in getEditor()
490 mEditor = getSharedPreferences().edit(); in getEditor()
493 return mEditor; in getEditor()
513 if (!noCommit && mEditor != null) { in setNoCommit()
514 SharedPreferencesCompat.EditorCompat.getInstance().apply(mEditor); in setNoCommit()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java107 private SharedPreferences.Editor mEditor; field in PreferenceManager
680 if (mEditor == null) { in getEditor()
681 mEditor = getSharedPreferences().edit(); in getEditor()
684 return mEditor; in getEditor()
704 if (!noCommit && mEditor != null) { in setNoCommit()
706 mEditor.apply(); in setNoCommit()
711 mEditor.commit(); in setNoCommit()