/frameworks/base/core/java/android/preference/ |
D | Preference.java | 1336 private void tryCommit(SharedPreferences.Editor editor) { in tryCommit() argument 1339 editor.apply(); in tryCommit() 1344 editor.commit(); in tryCommit() 1370 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistString() local 1371 editor.putString(mKey, value); in persistString() 1372 tryCommit(editor); in persistString() 1422 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistStringSet() local 1423 editor.putStringSet(mKey, values); in persistStringSet() 1424 tryCommit(editor); in persistStringSet() 1471 SharedPreferences.Editor editor = mPreferenceManager.getEditor(); in persistInt() local [all …]
|
D | PreferenceManager.java | 464 SharedPreferences.Editor editor = in setDefaultValues() local 467 editor.apply(); in setDefaultValues() 472 editor.commit(); in setDefaultValues()
|
/frameworks/ex/common/java/com/android/common/ |
D | SharedPreferencesCompat.java | 39 public static void apply(SharedPreferences.Editor editor) { in apply() argument 42 sApplyMethod.invoke(editor); in apply() 50 editor.commit(); in apply()
|
D | OperationScheduler.java | 290 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/media/java/android/media/ |
D | RemoteControlClient.java | 481 MetadataEditor editor = new MetadataEditor(); in editMetadata() local 483 editor.mEditorMetadata = new Bundle(); in editMetadata() 484 editor.mEditorArtwork = null; in editMetadata() 485 editor.mMetadataChanged = true; in editMetadata() 486 editor.mArtworkChanged = true; in editMetadata() 488 editor.mEditorMetadata = new Bundle(mMetadata); in editMetadata() 489 editor.mEditorArtwork = mArtwork; in editMetadata() 490 editor.mMetadataChanged = false; in editMetadata() 491 editor.mArtworkChanged = false; in editMetadata() 493 return editor; in editMetadata()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DoNotDisturbController.java | 58 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/videoeditor/ |
D | MediaVideoItem.java | 84 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()
|
D | AudioTrack.java | 90 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()
|
D | MediaItem.java | 129 protected MediaItem(VideoEditor editor, String mediaItemId, String filename, in MediaItem() argument 150 mMANativeHelper = ((VideoEditorImpl)editor).getNativeContext(); in MediaItem() 151 mProjectPath = editor.getPath(); in MediaItem()
|
D | MediaImageItem.java | 97 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/guide/developing/tools/ |
D | adt.jd | 17 <li><a href="#graphical-editor">Graphical Layout Editor</a> 69 <dd>The Java programming language editor contains common IDE features such as compile time 72 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/base/telephony/java/com/android/internal/telephony/cdma/ |
D | CDMALTEPhone.java | 182 SharedPreferences.Editor editor = sp.edit(); in handleSetSelectNetwork() local 183 editor.putString(NETWORK_SELECTION_KEY, nsm.operatorNumeric); in handleSetSelectNetwork() 184 editor.putString(NETWORK_SELECTION_NAME_KEY, nsm.operatorAlphaLong); in handleSetSelectNetwork() 187 if (! editor.commit()) { in handleSetSelectNetwork()
|
D | CdmaSMSDispatcher.java | 142 SharedPreferences.Editor editor = sp.edit(); in dispatchMessage() local 143 editor.putInt(CDMAPhone.VM_COUNT_CDMA, voicemailCount); in dispatchMessage() 144 editor.apply(); in dispatchMessage()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GSMPhone.java | 799 SharedPreferences.Editor editor = sp.edit(); in storeVoiceMailNumber() local 800 editor.putString(VM_NUMBER, number); in storeVoiceMailNumber() 801 editor.apply(); in storeVoiceMailNumber() 822 SharedPreferences.Editor editor = sp.edit(); in setVmSimImsi() local 823 editor.putString(VM_SIM_IMSI, imsi); in setVmSimImsi() 824 editor.apply(); in setVmSimImsi() 1361 SharedPreferences.Editor editor = sp.edit(); in handleSetSelectNetwork() local 1362 editor.putString(NETWORK_SELECTION_KEY, nsm.operatorNumeric); in handleSetSelectNetwork() 1363 editor.putString(NETWORK_SELECTION_NAME_KEY, nsm.operatorAlphaLong); in handleSetSelectNetwork() 1366 if (! editor.commit()) { in handleSetSelectNetwork() [all …]
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
D | BackupTestActivity.java | 125 SharedPreferences.Editor editor = prefs.edit(); 126 editor.putInt(PREF_KEY, val+1); 127 editor.commit();
|
/frameworks/base/docs/html/sdk/ |
D | OLD_RELEASENOTES.jd | 88 …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 … <ViewStub> 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 …]
|
D | eclipse-adt.jd | 59 editor features, SDK tool integration, and the graphical layout editor (for drag-and-drop layout 210 attributes to follow a recommended order and processes any changes made in the Layout editor. 224 <dt>Layout editor</dt> 345 in the visual layout editor makes it easy to select siblings as 354 from the XML editor (with Ctrl-1) to apply any of the above 363 <li>This is the update to the layout editor you've been waiting for! It includes (almost) all 381 <li>The layout editor automatically applies a "zoom to fit" for newly 394 <li>The layout editor is smarter about picking a default theme to 397 <li>The layout editor is smarter about picking a default configuration to render a layout 415 relevant range in the editor, and a new quickfix makes it trivial [all …]
|
D | android-2.1.jd | 95 <p>Improvements to the platform's rendering library to support the visual layout editor in the ADT 97 bugs in the previous rendering library. It also unlocks several editor features that were added in 124 <li>Adds improved layout rendering in ADT’s visual layout editor.</li>
|
/frameworks/base/docs/html/guide/topics/renderscript/ |
D | compute.jd | 22 draw anything to the screen such as bitmap image processing for a photo editor application.
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | PhoneBase.java | 318 SharedPreferences.Editor editor = sp.edit(); in disableDnsCheck() local 319 editor.putBoolean(DNS_SERVER_CHECK_DISABLED_KEY, b); in disableDnsCheck() 320 editor.apply(); in disableDnsCheck()
|
/frameworks/base/core/java/android/webkit/ |
D | WebSettings.java | 323 SharedPreferences.Editor editor = mContext in createHandler() 326 editor.putInt(DOUBLE_TAP_TOAST_COUNT, in createHandler() 328 editor.commit(); in createHandler()
|
/frameworks/base/docs/html/resources/tutorials/notepad/ |
D | notepad-ex2.jd | 367 <li>In the resulting <code>NoteEdit</code> class, right click in the editor 590 <p>There is a Manifest editor included in the Eclipse plugin that makes it much easier 593 without using the new Manifest editor.<p> 597 <li>Click the <strong>Application</strong> tab at the bottom of the Manifest editor.</li> 606 <p>The Android Manifest editor helps you add more complex entries into the AndroidManifest.xml 608 them otherwise they will be added to your Manifest). This editor should help you understand 613 <code>AndroidManifest.xml</code> tab in the eclipse editor to see the source code directly). 626 editor to let you edit it. Press confirm when finished to save the changes
|
/frameworks/base/docs/html/guide/tutorials/notepad/ |
D | notepad-ex2.jd | 367 <li>In the resulting <code>NoteEdit</code> class, right click in the editor 586 <p>There is a Manifest editor included in the Eclipse plugin that makes it much easier 589 without using the new Manifest editor.<p> 593 <li>Click the <strong>Application</strong> tab at the bottom of the Manifest editor.</li> 602 <p>The Android Manifest editor helps you add more complex entries into the AndroidManifest.xml 604 them otherwise they will be added to your Manifest). This editor should help you understand 609 <code>AndroidManifest.xml</code> tab in the eclipse editor to see the source code directly). 622 editor to let you edit it. Press confirm when finished to save the changes
|
/frameworks/base/docs/html/guide/developing/ |
D | index.jd | 9 <p>However, you may choose to develop with another IDE or a simple text editor and invoke the 131 smart code editor with completion, quick navigation between code and
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
D | TabletStatusBar.java | 662 SharedPreferences.Editor editor = Prefs.edit(mContext); in handleMessage() 663 editor.putBoolean(Prefs.DO_NOT_DISTURB_PREF, false); in handleMessage() 664 editor.apply(); in handleMessage() 1137 SharedPreferences.Editor editor = Prefs.edit(mContext); in showCompatibilityHelp() 1138 editor.putBoolean(Prefs.SHOWN_COMPAT_MODE_HELP, true); in showCompatibilityHelp() 1139 editor.apply(); in showCompatibilityHelp()
|