Home
last modified time | relevance | path

Searched refs:manager (Results 1 – 25 of 86) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionManagerTest.java34 SelectionManager manager = createManager(); in testEmpty() local
36 assertNotNull(manager.getSelections()); in testEmpty()
37 assertEquals(0, manager.getSelections().size()); in testEmpty()
38 assertFalse(manager.hasMultiSelection()); in testEmpty()
39 assertTrue(manager.isEmpty()); in testEmpty()
43 SelectionManager manager = createManager(); in testBasic() local
44 assertTrue(manager.isEmpty()); in testBasic()
59 manager.selectMultiple(Arrays.asList(rootView, rootView.getChildren().get(0), rootView in testBasic()
61 assertEquals(3, manager.getSelections().size()); in testBasic()
62 assertFalse(manager.isEmpty()); in testBasic()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DFlagManagerTest.java40 FlagManager manager = FlagManager.get(); in testGetFlagImage() local
41 Image us = manager.getFlag("US"); in testGetFlagImage()
42 Image gb = manager.getFlag("GB"); in testGetFlagImage()
43 Image ca = manager.getFlag("CA"); in testGetFlagImage()
44 Image es = manager.getFlag("ES"); in testGetFlagImage()
45 Image br = manager.getFlag("BR"); in testGetFlagImage()
46 Image pt = manager.getFlag("PT"); in testGetFlagImage()
47 assertSame(us, manager.getFlag("en", "US")); in testGetFlagImage()
48 assertSame(gb, manager.getFlag("en", "GB")); in testGetFlagImage()
49 assertSame(ca, manager.getFlag("en", "CA")); in testGetFlagImage()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DThemeMenuAction.java91 MenuManager manager = new MenuManager(); in showThemeMenu() local
105 manager.add(action); in showThemeMenu()
106 manager.add(new Separator()); in showThemeMenu()
111 manager.add(new SelectThemeAction(configChooser, in showThemeMenu()
114 manager.add(new Separator()); in showThemeMenu()
126 manager.add(new ThemeMenuAction(MENU_PROJECT, "Project Themes", in showThemeMenu()
128 manager.add(new ThemeMenuAction(MENU_MANIFEST, "Manifest Themes", in showThemeMenu()
131 manager.add(new Separator()); in showThemeMenu()
134 manager.add(new ThemeMenuAction(MENU_HOLO, "Holo", in showThemeMenu()
136 manager.add(new ThemeMenuAction(MENU_HOLO_LIGHT, "Holo.Light", in showThemeMenu()
[all …]
DOrientationMenuAction.java59 MenuManager manager = new MenuManager(); in showMenu() local
72 manager.add(new DeviceConfigAction(configChooser, in showMenu()
74 manager.add(new Separator()); in showMenu()
78 manager.add(new DeviceConfigAction(configChooser, config.getName(), in showMenu()
81 manager.add(new Separator()); in showMenu()
83 manager.add(new OrientationMenuAction(MENU_UIMODE, "UI Mode", configChooser)); in showMenu()
84 manager.add(new Separator()); in showMenu()
85 manager.add(new OrientationMenuAction(MENU_NIGHTMODE, "Night Mode", configChooser)); in showMenu()
87 Menu menu = manager.createContextMenu(configChooser.getShell()); in showMenu()
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DDebuggerConnector.java53 ILaunchManager manager = DebugPlugin.getDefault().getLaunchManager(); in connectDebugger() local
56 ILaunchConfigurationType configType = manager.getLaunchConfigurationType( in connectDebugger()
62 ILaunchConfiguration config = findConfig(manager, configType, projectName, in connectDebugger()
73 manager.generateUniqueLaunchConfigurationNameFrom(projectName)); in connectDebugger()
117 private static ILaunchConfiguration findConfig(ILaunchManager manager, in findConfig() argument
121 ILaunchConfiguration[] configs = manager.getLaunchConfigurations(type); in findConfig()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutEditorMatchingStrategy.java21 import com.android.ide.eclipse.adt.internal.resources.manager.ResourceManager;
45 ResourceManager manager = ResourceManager.getInstance(); in matches() local
46 ResourceFolder resFolder = manager.getResourceFolder(file); in matches()
65 ResourceFolder editorFolder = manager.getResourceFolder(editorFile); in matches()
DLayoutReloadMonitor.java26 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor;
27 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IFileListener;
28 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IResourceEventLi…
29 import com.android.ide.eclipse.adt.internal.resources.manager.ResourceManager;
30 import com.android.ide.eclipse.adt.internal.resources.manager.ResourceManager.IResourceListener;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiTreeBlock.java218 ToolBarManager manager = new ToolBarManager(SWT.FLAT); in createSectionActions() local
219 manager.removeAll(); in createSectionActions()
221 ToolBar toolbar = manager.createControl(section); in createSectionActions()
231 manager.add(new DescriptorFilterAction(desc)); in createSectionActions()
235 manager.add(new TreeSortAction()); in createSectionActions()
237 manager.update(true /*force*/); in createSectionActions()
494 public void menuAboutToShow(IMenuManager manager) { in createTreeContextMenu()
498 doCreateMenuAction(manager, selected); in createTreeContextMenu()
501 doCreateMenuAction(manager, null /* ui_node */); in createTreeContextMenu()
516 private void doCreateMenuAction(IMenuManager manager, ArrayList<UiElementNode> selected) { in doCreateMenuAction() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DPropertySheetPage.java308 final MenuManager manager = new MenuManager(); in setPropertyTableContextMenu() local
309 manager.setRemoveAllWhenShown(true); in setPropertyTableContextMenu()
310 manager.addMenuListener(new IMenuListener() { in setPropertyTableContextMenu()
314 for (MenuItem item : manager.getMenu().getItems()) { in setPropertyTableContextMenu()
322 manager.add(mDefaultValueAction); in setPropertyTableContextMenu()
323 manager.add(mSortAlphaAction); in setPropertyTableContextMenu()
324 manager.add(mShowAdvancedPropertiesAction); in setPropertyTableContextMenu()
328 mPropertyTable.setMenu(manager.createContextMenu(mPropertyTable)); in setPropertyTableContextMenu()
DResourceValueCompleter.java31 import com.android.ide.eclipse.adt.internal.resources.manager.ResourceManager;
121 ResourceManager manager = ResourceManager.getInstance(); in computeResourceStringMatches() local
122 ResourceRepository repository = manager.getProjectResources(project); in computeResourceStringMatches()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DFixLaunchConfig.java130 ILaunchManager manager = DebugPlugin.getDefault().getLaunchManager(); in findConfigs() local
133 ILaunchConfigurationType configType = manager. in findConfigs()
140 ILaunchConfiguration[] configs = manager.getLaunchConfigurations(configType); in findConfigs()
DApkInstallManager.java24 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor;
25 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IProjectListener;
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
DNdkGdbLaunchDelegate.java385 IStringVariableManager manager = VariablesPlugin.getDefault().getStringVariableManager(); in performVariableSubstitutions() local
386 IValueVariable ndkGdb = manager.newValueVariable(NdkVariables.NDK_GDB, in performVariableSubstitutions()
388 IValueVariable ndkProject = manager.newValueVariable(NdkVariables.NDK_PROJECT, in performVariableSubstitutions()
390 IValueVariable ndkCompatAbi = manager.newValueVariable(NdkVariables.NDK_COMPAT_ABI, in performVariableSubstitutions()
394 manager.addVariables(ndkVars); in performVariableSubstitutions()
400 elaborateExpression(manager, userGdbPath)); in performVariableSubstitutions()
404 elaborateExpression(manager, NdkLaunchConstants.DEFAULT_PROGRAM)); in performVariableSubstitutions()
412 fixedSolibPaths.add(elaborateExpression(manager, u)); in performVariableSubstitutions()
417 manager.removeVariables(ndkVars); in performVariableSubstitutions()
422 private String elaborateExpression(IStringVariableManager manager, String expr) in elaborateExpression() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceNameValidator.java26 import com.android.ide.eclipse.adt.internal.resources.manager.ProjectResources;
27 import com.android.ide.eclipse.adt.internal.resources.manager.ResourceManager;
230 ResourceManager manager = ResourceManager.getInstance(); in create() local
231 ProjectResources projectResources = manager.getProjectResources(project); in create()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DDocumentFix.java49 IModelManager manager = StructuredModelManager.getModelManager(); in apply() local
50 IStructuredModel model = manager.getModelForEdit((IStructuredDocument) document); in apply()
DLintDeltaProcessor.java27 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor;
28 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IFileListener;
29 import com.android.ide.eclipse.adt.internal.resources.manager.ResourceManager;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DAddTranslationDialog.java32 import com.android.ide.eclipse.adt.internal.resources.manager.ProjectResources;
33 import com.android.ide.eclipse.adt.internal.resources.manager.ResourceManager;
213 ResourceManager manager = ResourceManager.getInstance(); in fillStrings() local
214 ProjectResources resources = manager.getProjectResources(mProject); in fillStrings()
362 FlagManager manager = FlagManager.get(); in updateFlag() local
363 Image flag = manager.getFlag(mSelectedLanguage, mSelectedRegion); in updateFlag()
405 ResourceManager manager = ResourceManager.getInstance(); in createTranslation() local
408 manager.getResourceFolder(folder); in createTranslation()
429 ResourceManager manager = ResourceManager.getInstance(); in validatePage() local
430 ProjectResources resources = manager.getProjectResources(mProject); in validatePage()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/manager/
DIdeScanningContextTest.java16 package com.android.ide.eclipse.adt.internal.resources.manager;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutCanvas.java1540 private void setupStaticMenuActions(IMenuManager manager) { in setupStaticMenuActions() argument
1541 manager.removeAll(); in setupStaticMenuActions()
1543 manager.add(new SelectionManager.SelectionMenu(getGraphicalEditor())); in setupStaticMenuActions()
1544 manager.add(new Separator()); in setupStaticMenuActions()
1545 manager.add(mCutAction); in setupStaticMenuActions()
1546 manager.add(mCopyAction); in setupStaticMenuActions()
1547 manager.add(mPasteAction); in setupStaticMenuActions()
1548 manager.add(new Separator()); in setupStaticMenuActions()
1549 manager.add(mDeleteAction); in setupStaticMenuActions()
1550 manager.add(new Separator()); in setupStaticMenuActions()
[all …]
DPaletteControl.java1211 MenuManager manager = new MenuManager() { in showMenu() local
1222 manager.add(new PaletteModeAction(mode)); in showMenu()
1225 manager.add(new Separator()); in showMenu()
1226 manager.add(new ToggleViewOptionAction("Refresh Previews", in showMenu()
1230 manager.add(new Separator()); in showMenu()
1231 manager.add(new ToggleViewOptionAction("Show Categories", in showMenu()
1234 manager.add(new ToggleViewOptionAction("Sort Alphabetically", in showMenu()
1237 manager.add(new Separator()); in showMenu()
1238 manager.add(new ToggleViewOptionAction("Auto Close Previous", in showMenu()
1241 manager.add(new Separator()); in showMenu()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DDebuggerConnector.java21 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor;
22 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IProjectListener;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DSdk.java37 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor;
38 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IFileListener;
39 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IProjectListener;
40 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IResourceEventLi…
277 SdkManager manager = SdkManager.createManager(sdkLocation, log); in loadSdk() local
279 if (manager == null) { in loadSdk()
285 avdManager = AvdManager.getInstance(manager.getLocalSdk(), log); in loadSdk()
289 sCurrentSdk = new Sdk(manager, avdManager); in loadSdk()
919 private Sdk(SdkManager manager, AvdManager avdManager) { in Sdk() argument
920 mManager = manager; in Sdk()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DActivityPage.java118 TemplateManager manager = mValues.template.getManager(); in onEnter() local
119 java.util.List<File> templates = manager.getTemplates(CATEGORY_ACTIVITIES); in onEnter()
122 templates.addAll(manager.getTemplates(CATEGORY_OTHER)); in onEnter()
130 TemplateMetadata metadata = manager.getTemplate(template); in onEnter()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DCompiledResourcesMonitor.java17 package com.android.ide.eclipse.adt.internal.resources.manager;
28 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IFileListener;
29 import com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor.IProjectListener;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFix.java223 IModelManager manager = StructuredModelManager.getModelManager(); in perform() local
224 IStructuredModel model = manager.getExistingModelForEdit(doc); in perform()
237 IModelManager manager = StructuredModelManager.getModelManager(); in perform() local
240 model = manager.getModelForEdit(file); in perform()

1234