Home
last modified time | relevance | path

Searched refs:getId (Results 1 – 25 of 72) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DSetAttributeFix.java52 if (mId.equals(AccessibilityDetector.ISSUE.getId())) { in getAttribute()
54 } else if (mId.equals(InefficientWeightDetector.BASELINE_WEIGHTS.getId())) { in getAttribute()
56 } else if (mId.equals(SecurityDetector.EXPORTED_SERVICE.getId())) { in getAttribute()
58 } else if (mId.equals(TextFieldDetector.ISSUE.getId())) { in getAttribute()
60 } else if (mId.equals(TranslationDetector.MISSING.getId())) { in getAttribute()
62 } else if (mId.equals(ManifestDetector.ALLOW_BACKUP.getId())) { in getAttribute()
64 } else if (mId.equals(MissingIdDetector.ISSUE.getId())) { in getAttribute()
74 if (mId.equals(TranslationDetector.MISSING.getId())) { in isAndroidAttribute()
83 if (mId.equals(AccessibilityDetector.ISSUE.getId())) { in getDisplayString()
85 } else if (mId.equals(InefficientWeightDetector.BASELINE_WEIGHTS.getId())) { in getDisplayString()
[all …]
DLintFix.java151 sFixes.put(InefficientWeightDetector.INEFFICIENT_WEIGHT.getId(), in InefficientWeightDetector.INEFFICIENT_WEIGHT.getId()
153 sFixes.put(AccessibilityDetector.ISSUE.getId(), SetAttributeFix.class); in AccessibilityDetector.ISSUE.getId()
154 sFixes.put(InefficientWeightDetector.BASELINE_WEIGHTS.getId(), SetAttributeFix.class); in InefficientWeightDetector.BASELINE_WEIGHTS.getId()
155 sFixes.put(ManifestDetector.ALLOW_BACKUP.getId(), SetAttributeFix.class); in ManifestDetector.ALLOW_BACKUP.getId()
156 sFixes.put(MissingIdDetector.ISSUE.getId(), SetAttributeFix.class); in MissingIdDetector.ISSUE.getId()
157 sFixes.put(HardcodedValuesDetector.ISSUE.getId(), ExtractStringFix.class); in HardcodedValuesDetector.ISSUE.getId()
158 sFixes.put(UselessViewDetector.USELESS_LEAF.getId(), RemoveUselessViewFix.class); in UselessViewDetector.USELESS_LEAF.getId()
159 sFixes.put(UselessViewDetector.USELESS_PARENT.getId(), RemoveUselessViewFix.class); in UselessViewDetector.USELESS_PARENT.getId()
160 sFixes.put(PxUsageDetector.PX_ISSUE.getId(), ConvertToDpFix.class); in PxUsageDetector.PX_ISSUE.getId()
161 sFixes.put(TextFieldDetector.ISSUE.getId(), SetAttributeFix.class); in TextFieldDetector.ISSUE.getId()
[all …]
DRemoveUselessViewFix.java51 return mId.equals(mId.equals(UselessViewDetector.USELESS_PARENT.getId())); in isCancelable()
61 if (mId.equals(UselessViewDetector.USELESS_LEAF.getId())) { in apply()
64 assert mId.equals(UselessViewDetector.USELESS_PARENT.getId()); in apply()
DLintListDialog.java214 List<LintFix> fixes = LintFix.getFixes(EclipseLintClient.getId(marker), marker); in widgetSelected()
232 String id = EclipseLintClient.getId(marker); in widgetSelected()
244 String id = EclipseLintClient.getId(marker); in widgetSelected()
273 if (!LintFix.hasFix(EclipseLintClient.getId(marker))) { in updateSelectionState()
280 List<LintFix> fixes = LintFix.getFixes(EclipseLintClient.getId(marker), marker); in updateSelectionState()
DLintColumn.java185 if (LintFix.hasFix(EclipseLintClient.getId(marker))) { in getImage()
190 if (LintFix.hasFix(EclipseLintClient.getId(marker))) { in getImage()
222 String id1 = EclipseLintClient.getId(marker1); in compare()
223 String id2 = EclipseLintClient.getId(marker2); in compare()
DLintList.java181 mSelectedId = EclipseLintClient.getId(markers.get(0)); in LintList()
190 String id = EclipseLintClient.getId((IMarker) data); in LintList()
205 String id = EclipseLintClient.getId((IMarker) data); in LintList()
355 String id = EclipseLintClient.getId(marker); in getElements()
547 String id = EclipseLintClient.getId(marker); in runInUIThread()
561 if (mSelectedId.equals(EclipseLintClient.getId(marker))) { in runInUIThread()
602 String id = EclipseLintClient.getId(marker); in expandAll()
769 String id = EclipseLintClient.getId(marker); in getIssue()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
DManifestEditorContributor.java78 actionBars.setGlobalActionHandler(ActionFactory.DELETE.getId(), in setActivePage()
80 actionBars.setGlobalActionHandler(ActionFactory.UNDO.getId(), in setActivePage()
82 actionBars.setGlobalActionHandler(ActionFactory.REDO.getId(), in setActivePage()
84 actionBars.setGlobalActionHandler(ActionFactory.CUT.getId(), in setActivePage()
86 actionBars.setGlobalActionHandler(ActionFactory.COPY.getId(), in setActivePage()
88 actionBars.setGlobalActionHandler(ActionFactory.PASTE.getId(), in setActivePage()
90 actionBars.setGlobalActionHandler(ActionFactory.SELECT_ALL.getId(), in setActivePage()
92 actionBars.setGlobalActionHandler(ActionFactory.FIND.getId(), in setActivePage()
95 IDEActionFactory.BOOKMARK.getId(), getAction(editor, in setActivePage()
96 IDEActionFactory.BOOKMARK.getId())); in setActivePage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlEditor.java371 IAction action = mTextEditor.getAction(ActionFactory.UNDO.getId());
372 bars.setGlobalActionHandler(ActionFactory.UNDO.getId(), action);
374 action = mTextEditor.getAction(ActionFactory.REDO.getId());
375 bars.setGlobalActionHandler(ActionFactory.REDO.getId(), action);
377 bars.setGlobalActionHandler(ActionFactory.DELETE.getId(),
378 mTextEditor.getAction(ActionFactory.DELETE.getId()));
379 bars.setGlobalActionHandler(ActionFactory.CUT.getId(),
380 mTextEditor.getAction(ActionFactory.CUT.getId()));
381 bars.setGlobalActionHandler(ActionFactory.COPY.getId(),
382 mTextEditor.getAction(ActionFactory.COPY.getId()));
[all …]
DAndroidTextEditor.java176 IAction action = mTextEditor.getAction(ActionFactory.UNDO.getId()); in createUndoRedoActions()
177 bars.setGlobalActionHandler(ActionFactory.UNDO.getId(), action); in createUndoRedoActions()
179 action = mTextEditor.getAction(ActionFactory.REDO.getId()); in createUndoRedoActions()
180 bars.setGlobalActionHandler(ActionFactory.REDO.getId(), action); in createUndoRedoActions()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DDynamicIdMap.java50 public Integer getId(ResourceType type, String name) { in getId() method in DynamicIdMap
51 return getId(Pair.of(type, name)); in getId()
61 public Integer getId(Pair<ResourceType, String> resource) { in getId() method in DynamicIdMap
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/views/
DDeviceSelectorView.java51 if (perspective.getId().equals(PixelPerfectPespective.ID)) { in createPartControl()
53 } else if (perspective.getId().equals(TreeViewPerspective.ID)) { in createPartControl()
101 if (perspective.getId().equals(PixelPerfectPespective.ID)) { in perspectiveActivated()
104 } else if (perspective.getId().equals(TreeViewPerspective.ID)) { in perspectiveActivated()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java467 referenced.getId()); in analyzeLinearLayout()
478 ATTR_LAYOUT_ALIGN_LEFT, referenced.getId()); in analyzeLinearLayout()
505 referenced.getId()); in analyzeLinearLayout()
516 ATTR_LAYOUT_ALIGN_RIGHT, referenced.getId()); in analyzeLinearLayout()
523 if (baselineRef != null && baselineRef.getId() != null in analyzeLinearLayout()
524 && !baselineRef.getId().equals(childView.getId())) { in analyzeLinearLayout()
529 childView.addHorizConstraint(ATTR_LAYOUT_ALIGN_BASELINE, baselineRef.getId()); in analyzeLinearLayout()
556 referenced.getId()); in analyzeGravity()
579 referenced1.getId()); in analyzeGravity()
581 referenced2.getId()); in analyzeGravity()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutCanvas.java950 actionId.equals(contrib.getId())) { in getAction()
1425 bars.setGlobalActionHandler(ActionFactory.CUT.getId(), mCutAction); in updateGlobalActions()
1426 bars.setGlobalActionHandler(ActionFactory.COPY.getId(), mCopyAction); in updateGlobalActions()
1427 bars.setGlobalActionHandler(ActionFactory.PASTE.getId(), mPasteAction); in updateGlobalActions()
1428 bars.setGlobalActionHandler(ActionFactory.DELETE.getId(), mDeleteAction); in updateGlobalActions()
1429 bars.setGlobalActionHandler(ActionFactory.SELECT_ALL.getId(), mSelectAllAction); in updateGlobalActions()
1436 IAction undoAction = editor.getAction(ActionFactory.UNDO.getId()); in updateGlobalActions()
1439 bars.setGlobalActionHandler(ActionFactory.UNDO.getId(), mUndoAction); in updateGlobalActions()
1441 IAction redoAction = editor.getAction(ActionFactory.REDO.getId()); in updateGlobalActions()
1444 bars.setGlobalActionHandler(ActionFactory.REDO.getId(), mRedoAction); in updateGlobalActions()
[all …]
DDynamicContextMenu.java154 String endId = mMenuManager.getItems()[0].getId(); in populateDynamicContextMenu()
159 endId = sep.getId(); in populateDynamicContextMenu()
208 if (!availableIds.contains(action.getId()) in getMenuItems()
328 String id = action.getId(); in computeApplicableActionIds()
354 String id = action.getId(); in computeApplicableActionIds()
429 a.setId(action.getId()); in createToggleAction()
451 String id = action.getId(); in createPlainAction()
544 if (!availableIds.contains(firstAction.getId()) in addMenuItems()
DDelegatingAction.java80 public String getId() { in getId() method in DelegatingAction
81 return mAction.getId(); in getId()
DOutlinePage.java183 public String getId() {
184 return ActionFactory.SELECT_ALL.getId();
193 public String getId() {
213 public String getId() {
981 mMenuManager.add(new DelegateAction(prefix + ActionFactory.CUT.getId())); in setupContextMenu()
982 mMenuManager.add(new DelegateAction(prefix + ActionFactory.COPY.getId())); in setupContextMenu()
983 mMenuManager.add(new DelegateAction(prefix + ActionFactory.PASTE.getId())); in setupContextMenu()
987 mMenuManager.add(new DelegateAction(prefix + ActionFactory.DELETE.getId())); in setupContextMenu()
1079 setId(mTargetAction.getId()); in updateFromEditorPart()
1111 actionBars.setGlobalActionHandler(mTreeSelectAllAction.getId(), mTreeSelectAllAction); in setActionBars()
DLayoutWindowCoordinator.java322 String id = partRef.getId(); in partHidden()
347 String id = partRef.getId(); in partVisible()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/
DLogCatView.java69 actionBars.setGlobalActionHandler(ActionFactory.COPY.getId(), in createPartControl()
77 actionBars.setGlobalActionHandler(ActionFactory.SELECT_ALL.getId(), in createPartControl()
85 actionBars.setGlobalActionHandler(ActionFactory.FIND.getId(), in createPartControl()
DTableView.java73 actionBars.setGlobalActionHandler(ActionFactory.COPY.getId(), in setupTableFocusListener()
84 actionBars.setGlobalActionHandler(ActionFactory.SELECT_ALL.getId(), in setupTableFocusListener()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
DCommonMatchingStrategy.java60 editorRef.getId().equals(CommonXmlEditor.ID))) { in matches()
70 editorRef.getId().equals(CommonXmlEditor.ID))) { in matches()
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/
DHierarchyViewerPluginDirector.java86 if (page.getPerspective().getId().equals(TreeViewPerspective.ID)) { in loadViewTreeData()
110 if (page.getPerspective().getId().equals(PixelPerfectPespective.ID)) { in loadPixelPerfectData()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DDeletionHandler.java98 private static String getId(@NonNull IAttribute attribute) { in getId() method in DeletionHandler
137 String id = getId(attribute); in updateConstraints()
178 String id = getId(attribute); in transfer()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/wizards/
DNdkWizardHandler.java33 if (tc.getId().equals("com.android.toolchain.gcc")) //$NON-NLS-1$ in getSelectedToolChains()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DTableLayoutRule.java119 if (action.getId().equals(ACTION_ADD_ROW)) { in addTableLayoutActions()
150 } else if (action.getId().equals(ACTION_REMOVE_ROW)) { in addTableLayoutActions()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutEditorMatchingStrategy.java52 !editorRef.getId().equals(CommonXmlEditor.ID)) { in matches()

123