Home
last modified time | relevance | path

Searched refs:editor (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/core/java/android/preference/
DPreference.java1346 private void tryCommit(SharedPreferences.Editor editor) { in tryCommit() argument
1349 editor.apply(); in tryCommit()
1354 editor.commit(); in tryCommit()
1380 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistString() local
1381 editor.putString(mKey, value); in persistString()
1382 tryCommit(editor); in persistString()
1432 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistStringSet() local
1433 editor.putStringSet(mKey, values); in persistStringSet()
1434 tryCommit(editor); in persistStringSet()
1481 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistInt() local
[all …]
DPreferenceManager.java484 SharedPreferences.Editor editor = in setDefaultValues() local
487 editor.apply(); in setDefaultValues()
492 editor.commit(); in setDefaultValues()
/frameworks/ex/common/java/com/android/common/
DSharedPreferencesCompat.java39 public static void apply(SharedPreferences.Editor editor) { in apply() argument
42 sApplyMethod.invoke(editor); in apply()
50 editor.commit(); in apply()
DOperationScheduler.java290 SharedPreferences.Editor editor = mStorage.edit(); in onTransientError() local
291 editor.putLong(PREFIX + "lastErrorTimeMillis", currentTimeMillis()); in onTransientError()
292 editor.putInt(PREFIX + "errorCount", in onTransientError()
294 SharedPreferencesCompat.apply(editor); in onTransientError()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDoNotDisturbController.java58 SharedPreferences.Editor editor = Prefs.edit(mContext); in onCheckedChanged() local
59 editor.putBoolean(Prefs.DO_NOT_DISTURB_PREF, value); in onCheckedChanged()
60 editor.apply(); in onCheckedChanged()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java566 MetadataEditor editor = new MetadataEditor(); in editMetadata() local
568 editor.mEditorMetadata = new Bundle(); in editMetadata()
569 editor.mEditorArtwork = null; in editMetadata()
570 editor.mMetadataChanged = true; in editMetadata()
571 editor.mArtworkChanged = true; in editMetadata()
573 editor.mEditorMetadata = new Bundle(mMetadata); in editMetadata()
574 editor.mEditorArtwork = mArtwork; in editMetadata()
575 editor.mMetadataChanged = false; in editMetadata()
576 editor.mArtworkChanged = false; in editMetadata()
578 return editor; in editMetadata()
/frameworks/base/media/java/android/media/videoeditor/
DMediaVideoItem.java84 public MediaVideoItem(VideoEditor editor, String mediaItemId, String filename, in MediaVideoItem() argument
86 this(editor, mediaItemId, filename, renderingMode, 0, END_OF_FILE, 100, false, null); in MediaVideoItem()
107 MediaVideoItem(VideoEditor editor, String mediaItemId, String filename, in MediaVideoItem() argument
110 super(editor, mediaItemId, filename, renderingMode); in MediaVideoItem()
112 if (editor instanceof VideoEditorImpl) { in MediaVideoItem()
113 mMANativeHelper = ((VideoEditorImpl)editor).getNativeContext(); in MediaVideoItem()
114 mVideoEditor = ((VideoEditorImpl)editor); in MediaVideoItem()
DAudioTrack.java90 public AudioTrack(VideoEditor editor, String audioTrackId, String filename) throws IOException { in AudioTrack() argument
91 this(editor, audioTrackId, filename, 0, 0, MediaItem.END_OF_FILE, false, 100, false, false, in AudioTrack()
123 AudioTrack(VideoEditor editor, String audioTrackId, String filename, in AudioTrack() argument
140 if (editor instanceof VideoEditorImpl) { in AudioTrack()
141 mMANativeHelper = ((VideoEditorImpl)editor).getNativeContext(); in AudioTrack()
DMediaItem.java129 protected MediaItem(VideoEditor editor, String mediaItemId, String filename, in MediaItem() argument
150 mMANativeHelper = ((VideoEditorImpl)editor).getNativeContext(); in MediaItem()
151 mProjectPath = editor.getPath(); in MediaItem()
DMediaImageItem.java97 public MediaImageItem(VideoEditor editor, String mediaItemId, String filename, long durationMs, in MediaImageItem() argument
100 super(editor, mediaItemId, filename, renderingMode); in MediaImageItem()
102 mMANativeHelper = ((VideoEditorImpl)editor).getNativeContext(); in MediaImageItem()
103 mVideoEditor = ((VideoEditorImpl)editor); in MediaImageItem()
/frameworks/base/docs/html/tools/help/
Dadt.jd17 <li><a href="#graphical-editor">Graphical Layout Editor</a>
70 <dd>The Java programming language editor contains common IDE features such as compile time
73 edit Android-specific XML files in a form-based UI. A graphical layout editor lets you design
134 <p>In addition to Eclipse's standard editor features, ADT provides custom XML editors to help
137 appropriate XML editor.
150 these modes with the pair of tabs at the bottom of each custom XML editor.</p>
161 <dd>Edit and design your XML layout files with a drag and drop interface. The layout editor
162 renders your interface as well, offering you a preview as you design your layouts. This editor
164 <code>res/layout</code>. For more information, see <a href="#graphical-editor">Graphical Layout
169 <dd>Edit Android manifests with a simple graphical interface. This editor is invoked
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCDMALTEPhone.java197 SharedPreferences.Editor editor = sp.edit(); in handleSetSelectNetwork() local
198 editor.putString(NETWORK_SELECTION_KEY, nsm.operatorNumeric); in handleSetSelectNetwork()
199 editor.putString(NETWORK_SELECTION_NAME_KEY, nsm.operatorAlphaLong); in handleSetSelectNetwork()
202 if (! editor.commit()) { in handleSetSelectNetwork()
DCdmaSMSDispatcher.java182 SharedPreferences.Editor editor = sp.edit(); in dispatchMessage() local
183 editor.putInt(CDMAPhone.VM_COUNT_CDMA, voicemailCount); in dispatchMessage()
184 editor.apply(); in dispatchMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGSMPhone.java789 SharedPreferences.Editor editor = sp.edit(); in storeVoiceMailNumber() local
790 editor.putString(VM_NUMBER, number); in storeVoiceMailNumber()
791 editor.apply(); in storeVoiceMailNumber()
813 SharedPreferences.Editor editor = sp.edit(); in setVmSimImsi() local
814 editor.putString(VM_SIM_IMSI, imsi); in setVmSimImsi()
815 editor.apply(); in setVmSimImsi()
1422 SharedPreferences.Editor editor = sp.edit(); in handleSetSelectNetwork() local
1423 editor.putString(NETWORK_SELECTION_KEY, nsm.operatorNumeric); in handleSetSelectNetwork()
1424 editor.putString(NETWORK_SELECTION_NAME_KEY, nsm.operatorAlphaLong); in handleSetSelectNetwork()
1427 if (! editor.commit()) { in handleSetSelectNetwork()
[all …]
/frameworks/base/tests/backup/src/com/android/backuptest/
DBackupTestActivity.java125 SharedPreferences.Editor editor = prefs.edit();
126 editor.putInt(PREF_KEY, val+1);
127 editor.commit();
/frameworks/base/docs/html/tools/sdk/
DOLD_RELEASENOTES.jd88 …e opened with the new layout editor. This is very much a work in progress, and provided here for p…
91 …<li>Dual page editor with a WYSIWYG page (the graphical editor) and an XML page with content assis…
93 …<li>The interactivity in the editor itself is limited to selection at the moment. Actions on the l…
95 …<li>Top part of the editor allows you to display the layout in different configurations (language,…
102 …guration selection (in a different res/layout-qualifier folder) then the editor automatically swit…
106 …nstructor/onDraw method, it may not work (the layout library used by the editor only includes a su…
117 …y drawing feature of the android framework to be supported in the layout editor (but we're working…
125 … &lt;ViewStub&gt; elements. You can add these elements to your manifest using the xml editor only.
127 <li>If a layout fails to render in a way that prevents the whole editor from opening, you can:
130 …articular file in a different editor: right click the file in the package explorer and choose Open…
[all …]
Declipse-adt.jd43 editor features, SDK tool integration, and the graphical layout editor (for drag-and-drop layout
150 <li>Fixed compatibility issue with IntelliJ layout preview caused by layout editor
152 <li>Added fixes to editor for {@link android.widget.GridLayout}.</li>
208 <li>Updated the editor to include resources from library projects in the resource chooser,
210 <li>Updated the editor so that it no longer forces all variations of a single
211 layout into a single editor. You can, for example, open both the landscape and portrait
216 <li>Improved the handling of {@link android.widget.RelativeLayout} in the layout editor,
229 <li>Updated the editor so that when a custom view (or incorrectly configured view)
231 is shown inline in the layout editor, and you can click on the stack frames to jump to
233 <li>Improved the editor error display to show the relevant part of a stack trace
[all …]
/frameworks/base/docs/html/sdk/
DOLD_RELEASENOTES.jd88 …e opened with the new layout editor. This is very much a work in progress, and provided here for p…
91 …<li>Dual page editor with a WYSIWYG page (the graphical editor) and an XML page with content assis…
93 …<li>The interactivity in the editor itself is limited to selection at the moment. Actions on the l…
95 …<li>Top part of the editor allows you to display the layout in different configurations (language,…
102 …guration selection (in a different res/layout-qualifier folder) then the editor automatically swit…
106 …nstructor/onDraw method, it may not work (the layout library used by the editor only includes a su…
117 …y drawing feature of the android framework to be supported in the layout editor (but we're working…
125 … &lt;ViewStub&gt; elements. You can add these elements to your manifest using the xml editor only.
127 <li>If a layout fails to render in a way that prevents the whole editor from opening, you can:
130 …articular file in a different editor: right click the file in the package explorer and choose Open…
[all …]
/frameworks/base/docs/html/training/basics/data-storage/
Dshared-preferences.jd102 SharedPreferences.Editor editor = sharedPref.edit();
103 editor.putInt(getString(R.string.saved_high_score), newHighScore);
104 editor.commit();
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DAndroid.mk43 $(TOP)/frameworks/native/include/media/editor \
/frameworks/base/media/jni/mediaeditor/
DAndroid.mk39 $(TOP)/frameworks/native/include/media/editor \
/frameworks/av/libvideoeditor/lvpp/
DAndroid.mk82 $(TOP)/frameworks/native/include/media/editor \
/frameworks/base/docs/html/tools/revisions/
Dplatforms.jd533 <p>Improvements to the platform's rendering library to support the visual layout editor in the ADT
535 bugs in the previous rendering library. It also unlocks several editor features that were added in
561 <p>Fixes an issue with the visual layout editor rendering library that prevented Android 3.1 from
636 <p>Improvements to the platform's rendering library to support the visual layout editor in the ADT
638 bugs in the previous rendering library. It also unlocks several editor features that were added in
781 <p>Improvements to the platform's rendering library to support the visual layout editor in the ADT
783 bugs in the previous rendering library. It also unlocks several editor features that were added in
932 <p>Improvements to the platform's rendering library to support the visual layout editor in the ADT
934 bugs in the previous rendering library. It also unlocks several editor features that were added in
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DTabletStatusBar.java738 SharedPreferences.Editor editor = Prefs.edit(mContext); in handleMessage()
739 editor.putBoolean(Prefs.DO_NOT_DISTURB_PREF, false); in handleMessage()
740 editor.apply(); in handleMessage()
1127 SharedPreferences.Editor editor = Prefs.edit(mContext); in showCompatibilityHelp()
1128 editor.putBoolean(Prefs.SHOWN_COMPAT_MODE_HELP, true); in showCompatibilityHelp()
1129 editor.apply(); in showCompatibilityHelp()
/frameworks/base/core/java/android/webkit/
DWebSettingsClassic.java219 SharedPreferences.Editor editor = mContext in createHandler()
222 editor.putInt(DOUBLE_TAP_TOAST_COUNT, in createHandler()
224 editor.commit(); in createHandler()

123