/cts/tests/sample/src/android/sample/ |
SampleDeviceActivity.java | 22 import android.content.SharedPreferences.Editor; 48 // Get an editor to modify the preferences. 49 Editor editor = mPreferences.edit(); local 51 editor.putString(key, value); 53 editor.commit(); 70 // Get an editor to modify the preferences. 71 Editor editor = mPreferences.edit(); local 73 editor.clear() [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/ |
EmptyProperty.java | 13 import org.eclipse.wb.internal.core.model.property.editor.PropertyEditor; 14 import org.eclipse.wb.internal.core.model.property.editor.string.StringPropertyEditor; 32 public EmptyProperty(PropertyEditor editor) { 33 super(editor);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
IValueSourcePropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 18 * @coverage core.model.property.editor
|
ITextValuePropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 19 * @coverage core.model.property.editor
|
PropertyEditorProvider.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 19 * @coverage core.model.property.editor 30 * @return the {@link PropertyEditor} for given {@link java.beans.PropertyEditor} editor type or
|
TextControlActionsManager.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 22 * @coverage core.model.property.editor
|
TextDialogPropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 14 import org.eclipse.wb.internal.core.model.property.editor.presentation.ButtonPropertyEditorPresentation; 15 import org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation; 24 * @coverage core.model.property.editor
|
LocalePropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 21 * @coverage core.model.property.editor
|
PropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor; 21 import org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation; 25 * Abstract editor for {@link Property}. 28 * @coverage core.model.property.editor 55 * Activates editor for given {@link Property} at given place of {@link Composite}. Activation 62 * the mouse location, if editor is activated using mouse click, or <code>null</code> if 65 * @return <code>true</code> if editor should be remembered as active for future 75 * Sets the new bounds for editor's control. 81 * Deactivates editor for current {@link Property}. {@link PropertyEditor} should dispose any 84 * If any exception happened during activation, editor still should be able to deactivat [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
SharedPreferencesTest.java | 96 SharedPreferences.Editor editor = prefs.edit().putString("test-key", null); local 98 editor.commit(); 105 // Do some initial operation on editor. No commit needed. 106 public abstract void setUp(SharedPreferences.Editor editor); 108 // Do some later operation on editor (e.g. a redundant edit). 110 public abstract void subsequentEdit(SharedPreferences.Editor editor); 120 SharedPreferences.Editor editor local 249 SharedPreferences.Editor editor = prefs.edit(); local 286 SharedPreferences.Editor editor = prefs.edit(); local [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/complex/ |
IComplexPropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor.complex; 14 import org.eclipse.wb.internal.core.model.property.editor.PropertyEditor; 20 * @coverage core.model.property.editor
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
commit-log-editor | 90 my $editor = $ENV{SVN_LOG_EDITOR}; 91 $editor = $ENV{CVS_LOG_EDITOR} if !$editor; 92 $editor = "" if $editor && isCommitLogEditor($editor); 95 if (!$editor) { 96 my $builtEditorApplication = "$baseDir/Release/Commit Log Editor.app/Contents/MacOS/Commit Log Editor"; 98 $editor = $builtEditorApplication [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PersistentState.java | 46 * top text editor, but not of the bottom text editor. You can see the difference 120 SharedPreferences.Editor editor = getPreferences(0).edit(); local 121 editor.putString("text", mSaved.getText().toString()); 122 editor.putInt("selection-start", mSaved.getSelectionStart()); 123 editor.putInt("selection-end", mSaved.getSelectionEnd()); 124 editor.commit();
|
RedirectGetter.java | 77 SharedPreferences.Editor editor = preferences.edit(); 78 editor.putString("text", mText.getText().toString()); 80 if (editor.commit()) {
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/ |
PropertyEditorPresentation.java | 11 package org.eclipse.wb.internal.core.model.property.editor.presentation; 14 import org.eclipse.wb.internal.core.model.property.editor.PropertyEditor; 22 * @coverage core.model.property.editor
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/ |
IPropertyExceptionHandler.java | 14 import org.eclipse.wb.internal.core.model.property.editor.PropertyEditor;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/string/ |
StringPropertyEditor.java | 11 package org.eclipse.wb.internal.core.model.property.editor.string; 14 import org.eclipse.wb.internal.core.model.property.editor.AbstractTextPropertyEditor; 15 import org.eclipse.wb.internal.core.model.property.editor.PropertyEditor; 16 import org.eclipse.wb.internal.core.model.property.editor.presentation.ButtonPropertyEditorPresentation; 17 import org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation; 26 * @coverage core.model.property.editor
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwGeolocationPermissions.java | 65 SharedPreferences.Editor editor = null; local 68 if (editor == null) { 69 editor = mSharedPreferences.edit(); 71 editor.remove(name); 74 if (editor != null) { 75 editor.apply();
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
HttpResponseCache.java | 214 DiskLruCache.Editor editor = null; local 216 editor = cache.edit(urlToKey(response.request())); 217 if (editor == null) { 220 entry.writeTo(editor); 221 return new CacheRequestImpl(editor); 223 abortQuietly(editor); 243 DiskLruCache.Editor editor = null; local 245 editor = snapshot.edit(); // Returns null if snapshot is not current 337 private final DiskLruCache.Editor editor; field in class:HttpResponseCache.CacheRequestImpl [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/editor/structure/ |
IPage.java | 11 package org.eclipse.wb.internal.core.editor.structure; 21 * @coverage core.editor.structure
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/identity/ |
UuidBasedUniqueIdentificationGenerator.java | 43 SharedPreferences.Editor editor = preferences.edit(); local 44 editor.putString(mPreferenceKey, uniqueId); 45 editor.apply();
|
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/ |
Policy.java | 71 SharedPreferences.Editor editor = local 74 editor.putInt(KEY_PASSWORD_QUALITY, passwordQuality); 78 editor.putInt(KEY_PASSWORD_LENGTH, passwordLength); 82 editor.putInt(KEY_PASSWORD_MIN_UPPERCASE, passwordMinUppercase); 85 editor.commit();
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
DiskLruCacheWrapper.java | 88 DiskLruCache.Editor editor = getDiskCache().edit(safeKey); local 89 //editor will be null if there are two concurrent puts 91 if (editor != null) { 95 os = editor.newOutputStream(0); 103 editor.commit();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
PolicySerializationTestActivity.java | 28 import android.content.SharedPreferences.Editor; 128 SharedPreferences.Editor editor = prefs.edit(); local 129 editor.clear(); 130 editor.putBoolean(LOAD_EXPECTED_POLICY_PREFERENCE, false); 131 editor.apply(); 161 SharedPreferences.Editor editor = prefs.edit(); local 162 editor.clear(); 163 editor.putBoolean(LOAD_EXPECTED_POLICY_PREFERENCE, true) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
EditorCommand.cpp | 29 #include "core/editing/Editor.h" 92 // Related to Editor::selectionForCommand. 110 frame.editor().applyStyleToSelection(style, action); 114 frame.editor().applyStyle(style); 136 // This function must use Editor::selectionHasStyle to determine the current style but we cannot fix this 169 if (frame.editor().behavior().shouldToggleStyleBasedOnStartOfSelection()) 170 styleIsPresent = frame.editor().selectionStartHasStyle(propertyID, onValue); 172 styleIsPresent = frame.editor().selectionHasStyle(propertyID, onValue) == TrueTriState; 185 frame.editor().applyParagraphStyleToSelection(style.get(), action); 189 frame.editor().applyParagraphStyle(style.get()) [all...] |