HomeSort by relevance Sort by last modified time
    Searched refs:DRAWABLE (Results 1 - 22 of 22) sorted by null

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
XmlFormatStyle.java 77 case DRAWABLE:
103 case DRAWABLE:
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
PhoneSystemBar.java 25 import android.graphics.drawable.Drawable;
26 import android.graphics.drawable.LevelListDrawable;
44 Drawable drawable = loadIcon(2, ResourceType.DRAWABLE, "stat_sys_battery_charge"); local
45 if (drawable instanceof LevelListDrawable) {
46 ((LevelListDrawable) drawable).setLevel(100);
TabletSystemBar.java 25 import android.graphics.drawable.Drawable;
26 import android.graphics.drawable.LevelListDrawable;
44 Drawable drawable = loadIcon(5, ResourceType.DRAWABLE, "stat_sys_battery_charge"); local
45 if (drawable instanceof LevelListDrawable) {
46 ((LevelListDrawable) drawable).setLevel(100);
  /sdk/common/src/com/android/resources/
ResourceFolderType.java 28 DRAWABLE(AndroidConstants.FD_RES_DRAWABLE),
FolderTypeRelationship.java 49 add(ResourceType.DRAWABLE, ResourceFolderType.VALUES);
50 add(ResourceType.DRAWABLE, ResourceFolderType.DRAWABLE);
ResourceType.java 32 DRAWABLE("drawable", "Drawable"), //$NON-NLS-1$
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
ResourceNameValidator.java 152 type == ResourceFolderType.DRAWABLE);
169 type == ResourceType.DRAWABLE);
193 type == ResourceType.DRAWABLE);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/
ResourceNameValidatorTest.java 57 assertTrue(ResourceNameValidator.create(true, ResourceFolderType.DRAWABLE)
ResourceHelperTest.java 147 assertTrue(ResourceHelper.isFileBasedResourceType(ResourceType.DRAWABLE));
159 assertTrue(ResourceHelper.isValueBasedResourceType(ResourceType.DRAWABLE));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
ReferenceAttributeDescriptor.java 52 ResourceType.DRAWABLE,
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/drawable/
DrawableEditorDelegate.java 17 package com.android.ide.eclipse.adt.internal.editors.drawable;
34 * Editor for /res/drawable XML files.
45 if (ResourceFolderType.DRAWABLE == type) {
58 EDITORS_NAMESPACE + ".drawable.DrawableEditor"; //$NON-NLS-1$
DrawableDescriptors.java 16 package com.android.ide.eclipse.adt.internal.editors.drawable;
37 * Descriptors for /res/drawable files
97 /* For some reason, android.graphics.drawable.AnimatedRotateDrawable is marked with @hide
113 SDK_URL_BASE + "drawable-resource.html#Bitmap", //$NON-NLS-1$
118 "An XML file that defines a drawable that clips another Drawable based on "
119 + "this Drawable's current level value.",
120 SDK_URL_BASE + "drawable-resource.html#Clip", //$NON-NLS-1$
131 "An XML file that defines a drawable that insets another drawable by a
    [all...]
  /sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
StateListDetector.java 61 return folderType == ResourceFolderType.DRAWABLE;
ExtraTextDetector.java 67 || folderType == ResourceFolderType.DRAWABLE
OverdrawDetector.java 93 "If you set a background drawable on a root view, then you should use a " +
108 "Of course it's possible that your custom drawable is translucent and you want " +
110 "if you pre-mix the background with your drawable and use that resulting image or " +
135 /** List of drawable resources that are not flagged for overdraw (XML drawables
140 * List of pairs of (location, background drawable) corresponding to root elements
141 * in layouts that define a given background drawable. These should be checked to
152 // Look in layouts for drawable resources
156 // and in drawable files for bitmap tiling modes
157 || folderType == ResourceFolderType.DRAWABLE;
216 String drawable = pair.getSecond() local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
ResourcePreviewHelper.java 95 boolean showPreview = type == ResourceType.DRAWABLE || type == ResourceType.COLOR;
137 assert type == ResourceType.DRAWABLE;
140 ResourceValue drawable = resources.findResValue(resource, false); local
141 if (drawable != null) {
142 String path = drawable.getValue();
170 image = renderService.renderDrawable(drawable);
ResourceChooser.java 187 * Sets the {@link ResourcePreviewHelper} to use to preview drawable
341 if (mResourceType == ResourceType.DRAWABLE) {
355 } else if (mResourceType == ResourceType.DRAWABLE) {
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderDrawable.java 31 import android.graphics.drawable.Drawable;
43 * Action to render a given Drawable provided through {@link DrawableParams#getDrawable()}.
60 // get the drawable resource value
69 drawableResource.getResourceType() != ResourceType.DRAWABLE) {
76 // get the actual Drawable object to draw
77 Drawable d = ResourceHelper.getDrawable(drawableResource, context);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
ChooseAssetTypePage.java 154 mResourceName.setText("@drawable/" + getOutputName()); //$NON-NLS-1$
227 ResourceNameValidator.create(true, ResourceFolderType.DRAWABLE);
  /sdk/ide_common/src/com/android/ide/common/resources/
FrameworkResources.java 218 case DRAWABLE: size = 200; break;
  /prebuilt/common/tools-common/
tools-common-prebuilt.jar 
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
NewXmlFileCreationPage.java 323 new TypeInfo("Drawable", // UI name
324 "An XML file that describes a drawable.", // tooltip
325 ResourceFolderType.DRAWABLE, // folder type
    [all...]

Completed in 1700 milliseconds