Home
last modified time | relevance | path

Searched refs:resources (Results 1 – 20 of 20) sorted by relevance

/development/tools/findunused/
Dfindunusedresources9 -p option prints out unused resources, otherwise a total count is printed
39 resources=
42resources="$resources $(echo $res | grep -v '\-mcc\|[a-z]*-[a-z][a-z]$\|[a-z]*-[a-z][a-z]-.*')"
62 …find $resources $sources $app/AndroidManifest.xml -type f -print |xargs cat | tr -d '\n ' > /tmp/e…
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DBitmapUtils.java59 public ArrayList<PictureData> loadPhotos(Resources resources) { in loadPhotos() argument
63 Bitmap bitmap = getBitmap(resources, resourceId); in loadPhotos()
75 static Bitmap getBitmap(Resources resources, int resourceId) { in getBitmap() argument
78 bitmap = BitmapFactory.decodeResource(resources, resourceId); in getBitmap()
DActivityAnimations.java69 Resources resources = getResources(); in onCreate() local
70 ArrayList<PictureData> pictures = mBitmapUtils.loadPhotos(resources); in onCreate()
74 new BitmapDrawable(resources, pictureData.thumbnail); in onCreate()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DAdapters.java620 Resources resources = mResources; in parse() local
621 TypedArray a = resources.obtainAttributes(mAttrs, R.styleable.CursorAdapter); in parse()
629 resources.getResourceEntryName(mId) + " does not exist"); in parse()
653 resources.getResourceEntryName(mId)); in parse()
693 Resources resources = mResources; in parseBindTag() local
694 TypedArray a = resources.obtainAttributes(mAttrs, in parseBindTag()
700 resources.getResourceEntryName(mId) + " does not have a 'from' attribute"); in parseBindTag()
706 resources.getResourceEntryName(mId) + " does not have a 'to' attribute"); in parseBindTag()
712 resources.getResourceEntryName(mId) + " does not have an 'as' attribute"); in parseBindTag()
800 Resources resources = mResources; in findMap() local
[all …]
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DErrorFragment.java41 void setErrorContent(Resources resources) { in setErrorContent() argument
42 setImageDrawable(resources.getDrawable(R.drawable.lb_ic_sad_cloud)); in setErrorContent()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceService.java175 Resources resources = DigitalWatchFaceService.this.getResources(); in onCreate() local
176 mYOffset = resources.getDimension(R.dimen.digital_y_offset); in onCreate()
177 mAmString = resources.getString(R.string.digital_am); in onCreate()
178 mPmString = resources.getString(R.string.digital_pm); in onCreate()
185 mAmPmPaint = createTextPaint(resources.getColor(R.color.digital_am_pm)); in onCreate()
186 mColonPaint = createTextPaint(resources.getColor(R.color.digital_colons)); in onCreate()
263 Resources resources = DigitalWatchFaceService.this.getResources(); in onApplyWindowInsets() local
265 mXOffset = resources.getDimension(isRound in onApplyWindowInsets()
267 float textSize = resources.getDimension(isRound in onApplyWindowInsets()
269 float amPmSize = resources.getDimension(isRound in onApplyWindowInsets()
DSweepWatchFaceService.java94 Resources resources = SweepWatchFaceService.this.getResources(); in onCreate() local
95 Drawable backgroundDrawable = resources.getDrawable(R.drawable.bg); in onCreate()
DAnalogWatchFaceService.java126 Resources resources = AnalogWatchFaceService.this.getResources(); in onCreate() local
127 Drawable backgroundDrawable = resources.getDrawable(R.drawable.bg); in onCreate()
/development/apps/WidgetPreview/src/com/android/widgetpreview/
DWidgetPreviewActivity.java200 Resources resources = getResources(); in getLauncherCellDimensions() local
201 int cellWidth = resources.getDimensionPixelSize(R.dimen.workspace_cell_width); in getLauncherCellDimensions()
202 int cellHeight = resources.getDimensionPixelSize(R.dimen.workspace_cell_height); in getLauncherCellDimensions()
203 int widthGap = resources.getDimensionPixelSize(R.dimen.workspace_width_gap); in getLauncherCellDimensions()
204 int heightGap = resources.getDimensionPixelSize(R.dimen.workspace_height_gap); in getLauncherCellDimensions()
205 int previewCellSize = resources.getDimensionPixelSize(R.dimen.preview_cell_size); in getLauncherCellDimensions()
/development/samples/training/testingfun/app/
Dbuild.gradle16 resources.srcDirs = ['src']
/development/samples/SkeletonApp/
Dreadme.txt36 Under this directory are the resources for your application.
62 These XML files describe additional resources included in the application.
63 They all use the same syntax; all of these resources could be defined in one
/development/samples/TicTacToeMain/
DREADME.txt27 and Android resources (anything under /res) that will be merged in the final
34 JAR file: the source and resources from the library are _actually_ merged in
/development/samples/ApiDemos/src/com/example/android/apis/content/
DResourcesSample.java47 setContentView(R.layout.resources); in onCreate()
/development/samples/browseable/DrawableTinting/
D_index.jd8 and as Drawable resources in XML.
/development/build/
Dbuild_android_stubs.mk51 $(hide) jar -u0f $@ -C $(PRIVATE_CLASS_INTERMEDIATES_DIR) resources.arsc
/development/samples/ActionBarCompat/
D_index.jd8 uses the same <a href="../../../guide/topics/resources/menu-resource.html">menu resource</a>-based
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DDictionaryDatabase.java204 final Resources resources = mHelperContext.getResources(); in loadWords() local
205 InputStream inputStream = resources.openRawResource(R.raw.definitions); in loadWords()
/development/apps/GestureBuilder/src/com/android/gesture/builder/
DGestureBuilderActivity.java327 final Resources resources = getResources(); in onPreExecute() local
328 mPathColor = resources.getColor(R.color.gesture_color); in onPreExecute()
329 mThumbnailInset = (int) resources.getDimension(R.dimen.gesture_thumbnail_inset); in onPreExecute()
330 mThumbnailSize = (int) resources.getDimension(R.dimen.gesture_thumbnail_size); in onPreExecute()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameControllerInput.java352 public SummaryAdapter(Context context, Resources resources) { in SummaryAdapter() argument
354 mResources = resources; in SummaryAdapter()
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt187 consume - v. use up (resources or materials)