/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | ConfigurationMenuListener.java | 142 static void show(ConfigurationChooser chooser, ToolItem combo) { in show() argument 143 Menu menu = new Menu(chooser.getShell(), SWT.POP_UP); in show() 148 new ConfigurationMenuListener(chooser, ACTION_ADD, null, null), in show() 152 new ConfigurationMenuListener(chooser, ACTION_DELETE_ALL, null, null), in show() 169 new ConfigurationMenuListener(chooser, ACTION_PREVIEW_MODE, null, in show() 172 new ConfigurationMenuListener(chooser, ACTION_PREVIEW_MODE, null, in show() 176 new ConfigurationMenuListener(chooser, ACTION_PREVIEW_MODE, null, in show() 178 if (chooser.getLocaleList().size() <= 1) { in show() 183 IProject project = chooser.getProject(); in show() 186 final List<Reference> includedBy = finder.getIncludedBy(chooser.getEditedFile()); in show() [all …]
|
D | LocaleMenuListener.java | 78 static void show(final ConfigurationChooser chooser, ToolItem combo) { in show() argument 79 Menu menu = new Menu(chooser.getShell(), SWT.POP_UP); in show() 80 Configuration configuration = chooser.getConfiguration(); in show() 81 List<Locale> locales = chooser.getLocaleList(); in show() 85 String title = ConfigurationChooser.getLocaleLabel(chooser, locale, false); in show() 96 LocaleMenuListener listener = new LocaleMenuListener(chooser, ACTION_SET_LOCALE, in show() 106 "Preview All Locales", chooser, RenderPreviewMode.LOCALES); in show() 114 LocaleMenuListener listener = new LocaleMenuListener(chooser, in show()
|
D | ActivityMenuListener.java | 82 static void show(ConfigurationChooser chooser, ToolItem combo) { in show() argument 84 Menu menu = new Menu(chooser.getShell(), SWT.POP_UP); in show() 86 Configuration configuration = chooser.getConfiguration(); in show() 96 new ActivityMenuListener(chooser, ACTION_OPEN_ACTIVITY, null)); in show() 102 IProject project = chooser.getProject(); in show() 106 String layoutName = ResourceHelper.getLayoutName(chooser.getEditedFile()); in show() 109 current = addActivities(chooser, menu, current, image, preferred); in show() 131 addActivities(chooser, menu, current, image, activities); in show() 141 private static String addActivities(ConfigurationChooser chooser, Menu menu, String current, in addActivities() argument 156 item.addSelectionListener(new ActivityMenuListener(chooser, in addActivities()
|
D | TargetMenuListener.java | 77 static void show(ConfigurationChooser chooser, ToolItem combo) { in show() argument 78 Menu menu = new Menu(chooser.getShell(), SWT.POP_UP); in show() 79 Configuration configuration = chooser.getConfiguration(); in show() 81 List<IAndroidTarget> targets = chooser.getTargetList(); in show() 86 menuItem.addSelectionListener(new TargetMenuListener(chooser, null, true)); in show() 117 item.addSelectionListener(new TargetMenuListener(chooser, target, false)); in show()
|
D | DeviceMenuListener.java | 71 static void show(final ConfigurationChooser chooser, ToolItem combo) { in show() argument 72 Configuration configuration = chooser.getConfiguration(); in show() 74 Menu menu = new Menu(chooser.getShell(), SWT.POP_UP); in show() 76 Collection<Device> deviceCollection = chooser.getDevices(); in show() 92 item.addSelectionListener(new DeviceMenuListener(chooser, device)); in show() 139 deviceItem.addSelectionListener(new DeviceMenuListener(chooser, device)); in show() 168 item.addSelectionListener(new DeviceMenuListener(chooser, device)); in show() 181 item.addSelectionListener(new DeviceMenuListener(chooser, device)); in show() 190 "Preview All Screens", chooser, RenderPreviewMode.SCREENS); in show()
|
D | Configuration.java | 167 protected Configuration(@NonNull ConfigurationChooser chooser) { in Configuration() argument 168 mConfigChooser = chooser; in Configuration() 176 void setChooser(@NonNull ConfigurationChooser chooser) { in setChooser() argument 182 mConfigChooser = chooser; in setChooser() 202 public static Configuration create(@NonNull ConfigurationChooser chooser) { in create() argument 203 return new Configuration(chooser); in create() 218 ConfigurationChooser chooser = base.getChooser(); in create() local 219 ProjectResources resources = chooser.getResources(); in create() 220 ConfigurationMatcher matcher = new ConfigurationMatcher(chooser, configuration, file, in create() 838 static Pair<Locale, IAndroidTarget> loadRenderState(ConfigurationChooser chooser) { in loadRenderState() argument [all …]
|
D | ConfigurationMatcher.java | 77 ConfigurationMatcher(ConfigurationChooser chooser) { in ConfigurationMatcher() argument 78 this(chooser, chooser.getConfiguration(), chooser.getEditedFile(), in ConfigurationMatcher() 79 chooser.getResources(), true); in ConfigurationMatcher() 83 @NonNull ConfigurationChooser chooser, in ConfigurationMatcher() 88 mConfigChooser = chooser; in ConfigurationMatcher() 526 static IAndroidTarget findDefaultRenderTarget(ConfigurationChooser chooser) { in findDefaultRenderTarget() argument 529 List<IAndroidTarget> targetList = chooser.getTargetList(); in findDefaultRenderTarget() 535 IProject project = chooser.getProject(); in findDefaultRenderTarget() 672 public static IFile getBestFileMatch(ConfigurationChooser chooser) { in getBestFileMatch() argument 675 ProjectResources resources = manager.getProjectResources(chooser.getProject()); in getBestFileMatch() [all …]
|
D | NestedConfiguration.java | 55 @NonNull ConfigurationChooser chooser, in NestedConfiguration() 57 super(chooser); in NestedConfiguration() 156 public static NestedConfiguration create(@NonNull ConfigurationChooser chooser, in create() argument 158 return new NestedConfiguration(chooser, parent); in create()
|
D | VaryingConfiguration.java | 68 @NonNull ConfigurationChooser chooser, in VaryingConfiguration() 70 super(chooser, configuration); in VaryingConfiguration() 83 public static VaryingConfiguration create(@NonNull ConfigurationChooser chooser, in create() argument 85 return new VaryingConfiguration(chooser, parent); in create()
|
D | ConfigurationChooser.java | 1308 @Nullable ConfigurationChooser chooser, in getLocaleLabel() 1322 ResourceRepository projectRes = chooser != null ? chooser.mClient.getProjectResources() in getLocaleLabel() 1472 ConfigurationChooser chooser = in doSyncToVariations() local 1474 chooser.setConfiguration(configuration); in doSyncToVariations()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | RenderPreviewManager.java | 680 ConfigurationChooser chooser = getChooser(); in addAsThumbnail() local 681 String name = chooser.getConfiguration().getDisplayName(); in addAsThumbnail() 696 Configuration configuration = Configuration.copy(chooser.getConfiguration()); in addAsThumbnail() 746 ConfigurationChooser chooser = getChooser(); in addDefaultPreviews() local 747 Configuration parent = chooser.getConfiguration(); in addDefaultPreviews() 753 createLocaleVariation(chooser, parent); in addDefaultPreviews() 762 createStateVariation(chooser, parent); in addDefaultPreviews() 765 createRenderTargetVariation(chooser, parent); in addDefaultPreviews() 778 private void createRenderTargetVariation(ConfigurationChooser chooser, Configuration parent) { in createRenderTargetVariation() argument 790 private void createStateVariation(ConfigurationChooser chooser, Configuration parent) { in createStateVariation() argument [all …]
|
D | RenderPreviewList.java | 148 ConfigurationChooser chooser = canvas.getEditorDelegate().getGraphicalEditor() in createPreviews() local 151 Configuration chooserConfig = chooser.getConfiguration(); in createPreviews() 153 Configuration configuration = Configuration.create(chooser); in createPreviews()
|
D | CreateNewConfigJob.java | 102 ConfigurationChooser chooser = mEditor.getConfigurationChooser(); in run() 103 chooser.onAlternateLayoutCreated(); in run()
|
D | RenderPreview.java | 373 ConfigurationChooser chooser = mManager.getChooser(); in updateForkStatus() local 375 if (mAlternateInput != null && chooser.isBestMatchFor(mAlternateInput, config)) { in updateForkStatus() 380 IFile editedFile = chooser.getEditedFile(); in updateForkStatus() 382 if (!chooser.isBestMatchFor(editedFile, config)) { in updateForkStatus() 383 ProjectResources resources = chooser.getResources(); in updateForkStatus()
|
D | LayoutActionBar.java | 711 ConfigurationChooser chooser = mEditor.getConfigurationChooser(); in computeAndSetRealScale() local 712 Configuration config = chooser.getConfiguration(); in computeAndSetRealScale() 720 ResolutionChooserDialog dialog = new ResolutionChooserDialog(chooser.getShell()); in computeAndSetRealScale()
|
D | RenderService.java | 123 ConfigurationChooser chooser = editor.getConfigurationChooser(); in RenderService() local 124 Configuration config = chooser.getConfiguration(); in RenderService()
|
D | PaletteControl.java | 634 ConfigurationChooser chooser = mEditor.getConfigurationChooser(); in createItem() local 635 int dpi = chooser.getConfiguration().getDensity().getDpiValue(); in createItem()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
D | ResourceChooser.java | 187 ResourceChooser chooser = create(project, type, targetData, parent); in create() local 194 chooser.setResourceResolver(editor.getResourceResolver()); in create() 195 chooser.setShowValueText(true); in create() 197 chooser.setResourceResolver(editor.getResourceResolver()); in create() 200 chooser.setPreviewHelper(new ResourcePreviewHelper(chooser, editor)); in create() 201 return chooser; in create() 942 ResourceChooser chooser = create(graphicalEditor, type). in chooseResource() local 946 chooser.setSize(85, 10); in chooseResource() 947 chooser.setInputValidator(validator); in chooseResource() 949 int result = chooser.open(); in chooseResource() [all …]
|
D | MarginChooser.java | 221 ResourceChooser chooser = ResourceChooser.create(mEditor, ResourceType.DIMEN) in handleEvent() local 223 if (chooser.open() == Window.OK) { in handleEvent() 224 text.setText(chooser.getCurrentResource()); in handleEvent()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | ConfigurationTest.java | 44 ConfigurationChooser chooser = null; in createConfiguration() local 45 return constructor.newInstance(chooser); in createConfiguration()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
D | Workspace.java | 1044 JFileChooser chooser = new JFileChooser(); in captureLayers() local 1045 chooser.setFileFilter(new PsdFileFilter()); in captureLayers() 1046 int choice = chooser.showSaveDialog(sceneView); in captureLayers() 1048 return new CaptureLayersTask(chooser.getSelectedFile()); in captureLayers() 1085 JFileChooser chooser = new JFileChooser(); in saveSceneAsImage() local 1086 chooser.setFileFilter(new PngFileFilter()); in saveSceneAsImage() 1087 int choice = chooser.showSaveDialog(sceneView); in saveSceneAsImage() 1089 return new SaveSceneTask(chooser.getSelectedFile()); in saveSceneAsImage()
|
D | ScreenViewer.java | 204 JFileChooser chooser = new JFileChooser(); in openOverlay() local 205 chooser.setFileFilter(new PngFileFilter()); in openOverlay() 206 int choice = chooser.showOpenDialog(this); in openOverlay() 208 return new OpenOverlayTask(chooser.getSelectedFile()); in openOverlay()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | ClientRulesEngine.java | 663 ConfigurationChooser chooser = mRulesEngine.getEditor().getConfigurationChooser(); 664 float dpi = chooser.getConfiguration().getDensity().getDpiValue(); 670 ConfigurationChooser chooser = mRulesEngine.getEditor().getConfigurationChooser(); 671 float dpi = chooser.getConfiguration().getDensity().getDpiValue();
|
/sdk/eclipse/ |
D | changes.txt | 6 * Improved flag and locale data in the configuration chooser 90 * New configuration chooser above the layout editor, which in 91 addition to a visual refresh offers an activity chooser, a nested 92 theme chooser, a single button to flip orientation, better 162 * The resource chooser now shows the resolved value for resources 176 * Fix bug in resource chooser which made some types of framework 270 - Previews of drawables and colors in the resource chooser dialogs. 321 a layout chooser, and the chosen layout is added as an include. 324 - The configuration chooser now applies the "Render Target" and
|
/sdk/docs/ |
D | howto_use_cupcake_sdk.txt | 319 - If there's more than one running device or emulator, a "device chooser" is 331 - Manual means to always present the device chooser.
|