/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | AndroidXmlFormatter.java | 48 FormattingContext context = new FormattingContext(); in format() local 49 context.setProperty(FormattingContextProperties.CONTEXT_DOCUMENT, Boolean.FALSE); in format() 50 context.setProperty(FormattingContextProperties.CONTEXT_REGION, region); in format() 52 format(document, context); in format() 61 public void format(IDocument document, IFormattingContext context) { in format() argument 62 context.setProperty(FormattingContextProperties.CONTEXT_MEDIUM, document); in format() 63 formatMaster(context, document, 0, document.getLength()); in format() 66 protected void formatMaster(IFormattingContext context, IDocument document, int offset, in formatMaster() argument 77 context.setProperty(FormattingContextProperties.CONTEXT_PARTITION, in formatMaster() 79 strategy.formatterStarts(context); in formatMaster()
|
D | XmlFormatProcessor.java | 51 FormattingContext context = new FormattingContext(); in formatModel() local 52 context.setProperty(CONTEXT_MEDIUM, document); in formatModel() 53 context.setProperty(CONTEXT_PARTITION, new TypedPosition(start, length, in formatModel() 55 context.setProperty(CONTEXT_REGION, new org.eclipse.jface.text.Region(start, length)); in formatModel() 56 formatter.formatMaster(context, document, start, length); in formatModel()
|
D | AndroidXmlFormattingStrategy.java | 621 public void formatterStarts(final IFormattingContext context) { in formatterStarts() argument 625 delegate.formatterStarts(context); in formatterStarts() 631 super.formatterStarts(context); in formatterStarts() 636 super.formatterStarts(context); in formatterStarts() 637 mRegion = (IRegion) context.getProperty(CONTEXT_REGION); in formatterStarts() 638 TypedPosition partition = (TypedPosition) context.getProperty(CONTEXT_PARTITION); in formatterStarts() 639 IDocument document = (IDocument) context.getProperty(CONTEXT_MEDIUM); in formatterStarts() 648 delegate.formatterStarts(context); in formatterStarts()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/ |
D | Activator.java | 42 public void start(BundleContext context) throws Exception { in start() argument 43 super.start(context); in start() 48 public void stop(BundleContext context) throws Exception { in stop() argument 50 super.stop(context); in stop() 58 BundleContext context = mPlugin.getBundle().getBundleContext(); in getService() local 59 ServiceReference ref = context.getServiceReference(clazz.getName()); in getService() 60 return (ref != null) ? (T) context.getService(ref) : null; in getService()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.traceview/src/com/android/ide/eclipse/traceview/ |
D | TraceviewPlugin.java | 43 public void start(BundleContext context) throws Exception { in start() argument 44 super.start(context); in start() 53 public void stop(BundleContext context) throws Exception { in stop() argument 55 super.stop(context); in stop()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | JavaQuickAssistant.java | 37 public boolean hasAssists(IInvocationContext context) throws CoreException { in hasAssists() argument 42 public IJavaCompletionProposal[] getAssists(IInvocationContext context, in getAssists() argument 58 IProject project = context.getCompilationUnit().getJavaProject().getProject(); in getAssists() 63 ASTNode coveringNode = context.getCoveringNode(); in getAssists() 67 new ExtractStringProposal(context) in getAssists()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | Hyperlinks.java | 218 private static boolean isAttributeNameLink(XmlContext context) { in isAttributeNameLink() argument 234 private static boolean isAttributeValueLink(XmlContext context) { in isAttributeValueLink() argument 236 Attr attribute = context.getAttribute(); in isAttributeValueLink() 241 if (isClassAttribute(context) || isOnClickAttribute(context) in isAttributeValueLink() 242 || isManifestName(context) || isStyleAttribute(context)) { in isAttributeValueLink() 263 private static boolean isElementNameLink(XmlContext context) { in isElementNameLink() argument 264 if (isClassElement(context)) { in isElementNameLink() 275 private static boolean isActivity(XmlContext context) { in isActivity() argument 278 Attr attribute = context.getAttribute(); in isActivity() 279 String tagName = context.getElement().getTagName(); in isActivity() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
D | MonitorPlugin.java | 34 public void start(BundleContext context) throws Exception { in start() argument 35 super.start(context); in start() 41 public void stop(BundleContext context) throws Exception { in stop() argument 43 super.stop(context); in stop()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
D | ResourceManager.java | 175 public void processDelta(IResourceDelta delta, IdeScanningContext context) { in processDelta() argument 176 doProcessDelta(delta, context); in processDelta() 180 ResourceRepository repo = context.getRepository(); in processDelta() 193 private void doProcessDelta(IResourceDelta delta, IdeScanningContext context) { in doProcessDelta() argument 207 context.startScanning(r); in doProcessDelta() 208 updateFile((IFile)r, delta.getMarkerDeltas(), kind, context); in doProcessDelta() local 209 context.finishScanning(r); in doProcessDelta() 211 updateFolder((IFolder)r, kind, context); in doProcessDelta() local 218 processDelta(child, context); in doProcessDelta() 227 private void updateFolder(IFolder folder, int kind, IdeScanningContext context) { in updateFolder() argument [all …]
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/ |
D | ShareCodeAction.java | 26 public static void launch(Context context, CharSequence title) { in launch() argument 27 String shareBody = CodeGenerator.generate(context); in launch() 32 context.startActivity(Intent.createChooser(sharingIntent, title)); in launch()
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/model/ |
D | EditableItem.java | 76 public static void initIfNecessary(Context context) { in initIfNecessary() argument 79 loadBitmaps(context, LARGE_ICON, LARGE_ICONS); in initIfNecessary() 80 loadBitmaps(context, PICTURE, PICTURES); in initIfNecessary() 84 private static void loadBitmaps(Context context, EditableItem item, int[] bitmapResIds) { in loadBitmaps() argument 86 Resources res = context.getResources(); in loadBitmaps() 204 public String getCaption(Context context) { in getCaption() argument 205 return context.getString(mCaptionId); in getCaption() 208 public String getCategory(Context context) { in getCategory() argument 209 return context.getString(mCategoryId); in getCategory()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/ |
D | MultiTouchView.java | 68 public MultiTouchView(Context context) { in MultiTouchView() argument 69 this(context, null); in MultiTouchView() 77 public MultiTouchView(Context context, AttributeSet attrs) { in MultiTouchView() argument 78 this(context, attrs, 0); in MultiTouchView() 86 public MultiTouchView(Context context, AttributeSet attrs, int defStyle) { in MultiTouchView() argument 87 super(context, attrs, defStyle); in MultiTouchView()
|
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/ |
D | LabelView.java | 45 public LabelView(Context context) { in LabelView() argument 46 super(context); in LabelView() 57 public LabelView(Context context, AttributeSet attrs) { in LabelView() argument 58 super(context, attrs); in LabelView() 62 TypedArray a = context.obtainStyledAttributes(attrs, in LabelView()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | EclipseLintClient.java | 213 public Document parseXml(@NonNull XmlContext context) { in getXmlParser() 215 IFile file = AdtUtils.fileToIFile(context.file); in getXmlParser() 217 String path = context.file.getPath(); in getXmlParser() 232 context.setProperty(MODEL_PROPERTY, model); in getXmlParser() 246 public @NonNull Location getLocation(@NonNull XmlContext context, @NonNull Node node) { in getXmlParser() argument 247 IStructuredModel model = (IStructuredModel) context.getProperty(MODEL_PROPERTY); in getXmlParser() 248 return new LazyLocation(context.file, model.getStructuredDocument(), in getXmlParser() 253 public @NonNull Location getLocation(@NonNull XmlContext context, @NonNull Node node, in getXmlParser() argument 258 IStructuredModel model = (IStructuredModel) context.getProperty(MODEL_PROPERTY); in getXmlParser() 260 LazyLocation location = new LazyLocation(context.file, in getXmlParser() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | GlTracePlugin.java | 60 public void start(BundleContext context) throws Exception { in start() argument 61 super.start(context); in start() 78 public void stop(BundleContext context) throws Exception { in stop() argument 80 super.stop(context); in stop()
|
/sdk/testapps/customPropAnimTest/src/com/android/custompropertyanimation/ |
D | MyView.java | 10 public MyView(Context context) { in MyView() argument 11 super(context); in MyView()
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/ |
D | MaxHeightScrollView.java | 27 public MaxHeightScrollView(Context context, AttributeSet attrs) { in MaxHeightScrollView() argument 28 super(context, attrs); in MaxHeightScrollView()
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/generator/ |
D | CodeGenerator.java | 51 public static String generate(Context context) { in generate() argument 56 sb.append(INDENT + ".setSmallIcon(" + getResourceVar(context, SMALL_ICON) + ")"); in generate() 131 private static String getResourceVar(Context context, EditableItem item) { in getResourceVar() argument 133 String packageName = context.getResources().getResourcePackageName(resId); in getResourceVar() 134 String type = context.getResources().getResourceTypeName(resId); in getResourceVar() 135 String entryName = context.getResources().getResourceEntryName(resId); in getResourceVar()
|
D | NotificationGenerator.java | 54 public static Notification build(Context context) { in build() argument 56 PendingIntent noop = PendingIntent.getActivity(context, 0, new Intent(), 0); in build() 58 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); in build()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/ |
D | HierarchyViewerPlugin.java | 60 public void start(BundleContext context) throws Exception { in start() argument 61 super.start(context); in start() 149 public void stop(BundleContext context) throws Exception { in stop() argument 151 super.stop(context); in stop()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | ConvertSwitchQuickFixProcessor.java | 61 public IJavaCompletionProposal[] getCorrections(IInvocationContext context, in getCorrections() argument 66 ASTNode coveringNode = context.getCoveringNode(); in getCorrections() 90 int caret = context.getSelectionOffset(); in getCorrections() 107 ICompilationUnit compilationUnit = context.getCompilationUnit(); in getCorrections()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/ |
D | NdkScannerInfoCollector.java | 74 public void setInfoContext(InfoContext context) { in setInfoContext() argument 75 mPathInfo = new NdkDiscoveredPathInfo(context.getProject()); in setInfoContext()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/ |
D | PdtPlugin.java | 47 public void start(BundleContext context) throws Exception { in start() argument 48 super.start(context); in start()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
D | ReplaceStringsVisitor.java | 102 Expression context = methodHasContextArgument(node); in visit() local 103 if (context == null && !isClassDerivedFromContext(node)) { in visit() 107 context = findContextFieldOrMethod(node); in visit() 109 if (context == null) { in visit() 113 context = mAst.newSimpleName("Context"); //$NON-NLS-1$ in visit() 120 mi2.setExpression(context); in visit()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/ |
D | GLMessageFormatter.java | 92 private String formatDataValue(DataType var, GLDataTypeSpec typeSpec, DataTypeContext context) { in formatDataValue() argument 107 if (var.getIntValue(0) == 0 && context == DataTypeContext.CONTEXT_RETURNVALUE) { in formatDataValue()
|