HomeSort by relevance Sort by last modified time
    Searched defs:editor (Results 276 - 300 of 467) sorted by null

<<111213141516171819

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
UiResourceAttributeNode.java 104 * As most other parts of the android manifest editor, this assumes the
159 AndroidXmlEditor editor = uiNode.getEditor(); local
160 IProject project = editor.getProject();
168 AndroidTargetData data = editor.getTargetData();
226 * Computes the set of resource string matches for a given resource prefix in a given editor
228 * @param editor the editor context
235 @NonNull AndroidXmlEditor editor,
240 IProject project = editor.getProject();
281 AndroidTargetData data = editor.getTargetData()
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
ExtractStringProposal.java 51 IEditorPart editor = AdtUtils.getActiveEditor(); local
53 if (editor == null || file == null) {
62 ExtractStringRefactoring refactoring = new ExtractStringRefactoring(file, editor,
  /sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
SourceRevealer.java 79 // before we show the type in an editor window, we make sure the current
80 // workbench page has an editor area (typically the ddms perspective doesn't).
85 // no editor area? we open the java perspective.
89 IEditorPart editor = JavaUI.openInEditor(result); local
90 if (editor instanceof ITextEditor) {
91 // get the text editor that was just opened.
92 ITextEditor textEditor = (ITextEditor)editor;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
AndroidXmlAutoEditStrategyTest.java 42 IEditorPart editor = IDE.openEditor(page, file); local
43 assertTrue(editor instanceof AndroidXmlEditor);
44 AndroidXmlEditor layoutEditor = (AndroidXmlEditor) editor;
HyperlinksTest.java 209 IEditorPart editor = IDE.openEditor(page, file); local
210 assertTrue(editor.getClass().getName(), editor instanceof AndroidXmlEditor);
211 AndroidXmlEditor layoutEditor = (AndroidXmlEditor) editor;
291 fail("Unhandled editor type: " + newEditor.getClass().getName());
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DiskLruCache.java 76 * entry may have only one editor at one time; if a value is not available to be
86 * Every {@link #edit} call must be matched by a call to {@link Editor#commit}
87 * or {@link Editor#abort}. Committing is atomic: a read observes the full set
391 entry.currentEditor = new Editor(entry);
510 * Returns an editor for the entry named {@code key}, or null if another
513 public Editor edit(String key) throws IOException {
517 private synchronized Editor edit(String key, long expectedSequenceNumber) throws IOException {
532 Editor editor = new Editor(entry) local
    [all...]
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DiskLruCache.java 76 * entry may have only one editor at one time; if a value is not available to be
86 * Every {@link #edit} call must be matched by a call to {@link Editor#commit}
87 * or {@link Editor#abort}. Committing is atomic: a read observes the full set
391 entry.currentEditor = new Editor(entry);
510 * Returns an editor for the entry named {@code key}, or null if another
513 public Editor edit(String key) throws IOException {
517 private synchronized Editor edit(String key, long expectedSequenceNumber) throws IOException {
532 Editor editor = new Editor(entry) local
    [all...]
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DiskLruCache.java 76 * entry may have only one editor at one time; if a value is not available to be
86 * Every {@link #edit} call must be matched by a call to {@link Editor#commit}
87 * or {@link Editor#abort}. Committing is atomic: a read observes the full set
391 entry.currentEditor = new Editor(entry);
510 * Returns an editor for the entry named {@code key}, or null if another
513 public Editor edit(String key) throws IOException {
517 private synchronized Editor edit(String key, long expectedSequenceNumber) throws IOException {
532 Editor editor = new Editor(entry) local
    [all...]
  /external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DiskLruCache.java 61 * entry may have only one editor at one time; if a value is not available to be
71 * Every {@link #edit} call must be matched by a call to {@link Editor#commit}
72 * or {@link Editor#abort}. Committing is atomic: a read observes the full set
312 entry.currentEditor = new Editor(entry);
437 * Returns an editor for the entry named {@code key}, or null if another
440 public Editor edit(String key) throws IOException {
444 private synchronized Editor edit(String key, long expectedSequenceNumber) throws IOException {
458 Editor editor = new Editor(entry) local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DiskLruCache.java 64 * entry may have only one editor at one time; if a value is not available to be
74 * Every {@link #edit} call must be matched by a call to {@link Editor#commit}
75 * or {@link Editor#abort}. Committing is atomic: a read observes the full set
342 entry.currentEditor = new Editor(entry);
442 * Returns an editor for the entry named {@code key}, or null if another
445 public Editor edit(String key) throws IOException {
449 private synchronized Editor edit(String key, long expectedSequenceNumber) throws IOException {
475 Editor editor = new Editor(entry) local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CarrierKeyDownloadManager.java 186 SharedPreferences.Editor editor = getDefaultSharedPreferences(mContext).edit(); local
187 editor.remove(String.valueOf(carrierKeyDownloadIdentifier));
188 editor.commit();
527 SharedPreferences.Editor editor = getDefaultSharedPreferences(mContext).edit(); local
533 editor.putString(MCC_MNC_PREF_TAG + slotId, mccMnc);
534 editor.commit();
SubscriptionInfoUpdater.java 451 SharedPreferences.Editor editor = sp.edit(); local
452 editor.putInt(CURR_SUBID + slotId, subId);
453 editor.apply();
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactBrowseListFragment.java 23 import android.content.SharedPreferences.Editor;
628 Editor editor = mPrefs.edit(); local
630 editor.remove(getPersistentSelectionKey());
632 editor.putString(getPersistentSelectionKey(), contactUri.toString());
634 editor.apply();
  /packages/apps/TV/src/com/android/tv/data/
ChannelDataManager.java 23 import android.content.SharedPreferences.Editor;
441 Editor editor = mBrowsableSharedPreferences.edit(); local
443 editor.putBoolean(getBrowsableKey(getChannel(id)), true);
446 editor.putBoolean(getBrowsableKey(getChannel(id)), false);
448 editor.apply();
686 Editor editor = mBrowsableSharedPreferences.edit(); local
689 editor.remove(key);
691 editor.apply()
    [all...]
  /external/proguard/src/proguard/classfile/editor/
MemberReferenceFixer.java 21 package proguard.classfile.editor;
  /packages/apps/Contacts/src/com/android/contacts/editor/
PickRawContactLoader.java 1 package com.android.contacts.editor;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
AdtUtils.java 272 * Returns the current editor (the currently visible and active editor), or null if
275 * @return the current editor, or null
349 * Returns the current text editor (the currently visible and active editor), or null
352 * @return the current text editor, or null
355 IEditorPart editor = getActiveEditor(); local
356 if (editor != null) {
357 if (editor instanceof ITextEditor) {
358 return (ITextEditor) editor;
389 IEditorPart editor = reference.getEditor(restore); local
433 IEditorPart editor = getActiveEditor(); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
AaptQuickFix.java 161 // editor.
166 // we'll make sure that that editor has the same sourceViewer such that
169 AndroidXmlEditor editor = AndroidXmlEditor.fromTextViewer(sourceViewer); local
170 if (editor != null) {
171 IFile file = editor.getInputFile();
189 IProject project = editor.getProject();
391 + "and opens it in the editor.";
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LayoutMetadata.java 167 * @param editor the editor associated with the property
173 @NonNull final AndroidXmlEditor editor,
183 AdtUtils.setToolsAttribute(editor, element, undoLabel, name, value,
188 final IFile file = editor.getInputFile();
204 // editor version instead
212 boolean old = editor.getIgnoreXmlUpdate();
214 editor.setIgnoreXmlUpdate(true);
217 editor.setIgnoreXmlUpdate(old);
242 AndroidXmlEditor editor = AdtUtils.getXmlEditor(part) local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
UiPackageAttributeNode.java 88 * As most other parts of the android manifest editor, this assumes the
213 // project and the current editor's site.
223 AdtPlugin.log(IStatus.ERROR, "Failed to get editor site for UiPackageAttribute"); //$NON-NLS-1$
247 AndroidXmlEditor editor = uiNode.getEditor(); local
248 IEditorInput input = editor.getEditorInput();
250 // from the file editor we can get the IFile object, and from it, the IProject.
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
BaseProjectHelper.java 149 // if marker is text type, enforce a line number so that it shows in the editor
370 // before we show the type in an editor window, we make sure the current
371 // workbench page has an editor area (typically the ddms perspective doesn't).
376 // no editor area? we open the java perspective.
380 IEditorPart editor = JavaUI.openInEditor(result); local
381 if (editor instanceof ITextEditor) {
382 // get the text editor that was just opened.
383 ITextEditor textEditor = (ITextEditor)editor;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
AaptQuickFixTest.java 117 IEditorPart editor = IDE.openEditor(page, file); local
118 assertTrue(editor instanceof AndroidXmlEditor);
119 AndroidXmlEditor layoutEditor = (AndroidXmlEditor) editor;
227 IEditorPart editor = IDE.openEditor(page, file); local
228 assertTrue(editor instanceof AndroidXmlEditor);
229 AndroidXmlEditor layoutEditor = (AndroidXmlEditor) editor;
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DiskLruCacheTest.java 156 DiskLruCache.Editor creator = cache.edit("k1");
169 DiskLruCache.Editor creator = cache.edit("k1");
183 DiskLruCache.Editor creator = cache.edit("k1");
197 DiskLruCache.Editor creator = cache.edit("k1");
207 DiskLruCache.Editor creator = cache.edit("k1");
223 DiskLruCache.Editor creator = cache.edit("k1");
233 DiskLruCache.Editor k1Creator = cache.edit("k1");
237 DiskLruCache.Editor k2Creator = cache.edit("k2");
248 DiskLruCache.Editor editor = cache.edit("k1") local
256 DiskLruCache.Editor editor = cache.edit("k1"); local
264 DiskLruCache.Editor editor = cache.edit("k1"); local
771 DiskLruCache.Editor editor = snapshot.edit(); local
783 DiskLruCache.Editor editor = snapshot.edit(); local
1102 DiskLruCache.Editor editor = cache.edit("c"); local
1126 DiskLruCache.Editor editor = cache.edit("c"); local
1163 DiskLruCache.Editor editor = cache.edit("k1"); local
1182 DiskLruCache.Editor editor = cache.edit("k1"); local
1200 DiskLruCache.Editor editor = cache.edit("k1"); local
1210 DiskLruCache.Editor editor = cache.edit("k1"); local
1227 DiskLruCache.Editor editor = cache.edit("k1"); local
1346 DiskLruCache.Editor editor = cache.edit(key); local
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/database/
DialerDatabaseHelper.java 335 final SharedPreferences.Editor editor = databaseLastUpdateSharedPref.edit(); local
336 editor.putLong(LAST_UPDATED_MILLIS, 0);
337 editor.apply();
861 final SharedPreferences.Editor editor = databaseLastUpdateSharedPref.edit(); local
862 editor.putLong(LAST_UPDATED_MILLIS, currentMillis);
863 editor.apply();
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
WidgetPreviewLoader.java 171 SharedPreferences.Editor editor = sp.edit(); local
172 editor.putString(ANDROID_INCREMENTAL_VERSION_NAME_KEY, versionName);
173 editor.commit();

Completed in 1525 milliseconds

<<111213141516171819