Home
last modified time | relevance | path

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

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DSetAttributeFix.java43 if (mId.equals(AccessibilityDetector.ISSUE.getId())) { in getAttribute()
45 } else if (mId.equals(InefficientWeightDetector.BASELINE_WEIGHTS.getId())) { in getAttribute()
47 } else if (mId.equals(SecurityDetector.EXPORTED_SERVICE.getId())) { in getAttribute()
49 } else if (mId.equals(TextFieldDetector.ISSUE.getId())) { in getAttribute()
51 } else if (mId.equals(TranslationDetector.MISSING.getId())) { in getAttribute()
53 } else if (mId.equals(ManifestOrderDetector.ALLOW_BACKUP.getId())) { in getAttribute()
63 if (mId.equals(TranslationDetector.MISSING.getId())) { in isAndroidAttribute()
72 if (mId.equals(AccessibilityDetector.ISSUE.getId())) { in getDisplayString()
74 } else if (mId.equals(InefficientWeightDetector.BASELINE_WEIGHTS.getId())) { in getDisplayString()
76 } else if (mId.equals(TextFieldDetector.ISSUE.getId())) { in getDisplayString()
[all …]
DLintFix.java148 sFixes.put(InefficientWeightDetector.INEFFICIENT_WEIGHT.getId(), in InefficientWeightDetector.INEFFICIENT_WEIGHT.getId()
150 sFixes.put(AccessibilityDetector.ISSUE.getId(), SetAttributeFix.class); in AccessibilityDetector.ISSUE.getId()
151 sFixes.put(InefficientWeightDetector.BASELINE_WEIGHTS.getId(), SetAttributeFix.class); in InefficientWeightDetector.BASELINE_WEIGHTS.getId()
152 sFixes.put(ManifestOrderDetector.ALLOW_BACKUP.getId(), SetAttributeFix.class); in ManifestOrderDetector.ALLOW_BACKUP.getId()
153 sFixes.put(HardcodedValuesDetector.ISSUE.getId(), ExtractStringFix.class); in HardcodedValuesDetector.ISSUE.getId()
154 sFixes.put(UselessViewDetector.USELESS_LEAF.getId(), RemoveUselessViewFix.class); in UselessViewDetector.USELESS_LEAF.getId()
155 sFixes.put(UselessViewDetector.USELESS_PARENT.getId(), RemoveUselessViewFix.class); in UselessViewDetector.USELESS_PARENT.getId()
156 sFixes.put(PxUsageDetector.PX_ISSUE.getId(), ConvertToDpFix.class); in PxUsageDetector.PX_ISSUE.getId()
157 sFixes.put(TextFieldDetector.ISSUE.getId(), SetAttributeFix.class); in TextFieldDetector.ISSUE.getId()
158 sFixes.put(SecurityDetector.EXPORTED_SERVICE.getId(), SetAttributeFix.class); in SecurityDetector.EXPORTED_SERVICE.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()
/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/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.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlEditor.java368 IAction action = mTextEditor.getAction(ActionFactory.UNDO.getId());
369 bars.setGlobalActionHandler(ActionFactory.UNDO.getId(), action);
371 action = mTextEditor.getAction(ActionFactory.REDO.getId());
372 bars.setGlobalActionHandler(ActionFactory.REDO.getId(), action);
374 bars.setGlobalActionHandler(ActionFactory.DELETE.getId(),
375 mTextEditor.getAction(ActionFactory.DELETE.getId()));
376 bars.setGlobalActionHandler(ActionFactory.CUT.getId(),
377 mTextEditor.getAction(ActionFactory.CUT.getId()));
378 bars.setGlobalActionHandler(ActionFactory.COPY.getId(),
379 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.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/gle2/
DLayoutCanvas.java838 actionId.equals(contrib.getId())) { in getAction()
1312 bars.setGlobalActionHandler(ActionFactory.CUT.getId(), mCutAction); in updateGlobalActions()
1313 bars.setGlobalActionHandler(ActionFactory.COPY.getId(), mCopyAction); in updateGlobalActions()
1314 bars.setGlobalActionHandler(ActionFactory.PASTE.getId(), mPasteAction); in updateGlobalActions()
1315 bars.setGlobalActionHandler(ActionFactory.DELETE.getId(), mDeleteAction); in updateGlobalActions()
1316 bars.setGlobalActionHandler(ActionFactory.SELECT_ALL.getId(), mSelectAllAction); in updateGlobalActions()
1323 IAction undoAction = editor.getAction(ActionFactory.UNDO.getId()); in updateGlobalActions()
1326 bars.setGlobalActionHandler(ActionFactory.UNDO.getId(), mUndoAction); in updateGlobalActions()
1328 IAction redoAction = editor.getAction(ActionFactory.REDO.getId()); in updateGlobalActions()
1331 bars.setGlobalActionHandler(ActionFactory.REDO.getId(), mRedoAction); in updateGlobalActions()
[all …]
DDelegatingAction.java80 public String getId() { in getId() method in DelegatingAction
81 return mAction.getId(); in getId()
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()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java469 referenced.getId()); in analyzeLinearLayout()
480 ATTR_LAYOUT_ALIGN_LEFT, referenced.getId()); in analyzeLinearLayout()
507 referenced.getId()); in analyzeLinearLayout()
518 ATTR_LAYOUT_ALIGN_RIGHT, referenced.getId()); in analyzeLinearLayout()
525 if (baselineRef != null && baselineRef.getId() != null in analyzeLinearLayout()
526 && !baselineRef.getId().equals(childView.getId())) { in analyzeLinearLayout()
531 childView.addHorizConstraint(ATTR_LAYOUT_ALIGN_BASELINE, baselineRef.getId()); in analyzeLinearLayout()
558 referenced.getId()); in analyzeGravity()
581 referenced1.getId()); in analyzeGravity()
583 referenced2.getId()); in analyzeGravity()
[all …]
/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/lint/libs/lint_api/src/com/android/tools/lint/client/api/
DIssueRegistry.java134 assert detectorClass != null : issue.getId(); in createDetectors()
234 sIdToIssue.put(issue.getId(), issue); in getIssue()
237 sIdToIssue.put(PARSER_ERROR.getId(), PARSER_ERROR); in getIssue()
238 sIdToIssue.put(LINT_ERROR.getId(), LINT_ERROR); in getIssue()
DDefaultConfiguration.java150 String id = issue.getId(); in isIgnored()
183 Severity severity = mSeverity.get(issue.getId()); in getSeverity()
412 List<String> paths = mSuppressed.get(issue.getId()); in ignore()
415 mSuppressed.put(issue.getId(), paths); in ignore()
431 String id = issue.getId(); in setSeverity()
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DMonitorThread.java325 && client.isResponseToUs(packet.getId()) != null) { in processClientActivity()
328 .isResponseToUs(packet.getId()); in processClientActivity()
333 + Integer.toHexString(packet.getId()) in processClientActivity()
338 client.removeRequestId(packet.getId()); in processClientActivity()
342 + Integer.toHexString(packet.getId()) + " to " in processClientActivity()
414 handler.handleChunk(client, type, roBuf, reply, packet.getId()); in callHandler()
537 + Integer.toHexString(packet.getId()) + " to " in processDebuggerData()
/sdk/lint/cli/src/com/android/tools/lint/
DWarning.java69 String id1 = issue.getId(); in compareTo()
70 String id2 = other.issue.getId(); in compareTo()
DHtmlReporter.java166 … mWriter.write("<a name=\"" + issue.getId() + "\"></a>\n"); //$NON-NLS-1$ //$NON-NLS-2$ in write()
171 mWriter.write(issue.getId()); in write()
181 String id = warning.issue.getId() + "Div"; //$NON-NLS-1$ in write()
389 issue.getId(), in writeIssueMetadata()
465 mWriter.write("<a name=\"" + issue.getId() + "\"></a>\n"); //$NON-NLS-1$ //$NON-NLS-2$ in writeMissingIssues()
470 mWriter.write(issue.getId()); in writeMissingIssues()
560 mWriter.write(issue.getId()); in writeOverview()
562 mWriter.write(issue.getId()); in writeOverview()
/sdk/traceview/src/com/android/traceview/
DCall.java111 return mThreadData.getId(); in getThreadId()
121 return mMethodData.getId() == -1; in isContextSwitch()
/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.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/emulator/qtools/
Dstack_dump.cpp51 printf("%llu en thr %d %s %3d", time, base->getId(), type, stackLevel); in push()
65 printf("%llu x thr %d %s %3d", time, base->getId(), type, stackLevel); in pop()

1234