/development/tools/findunused/ |
D | findunusedresources | 9 -p option prints out unused resources, otherwise a total count is printed 39 resources= 42 … resources="$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/ |
D | BitmapUtils.java | 59 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()
|
D | ActivityAnimations.java | 69 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/ |
D | Adapters.java | 620 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/ |
D | ErrorFragment.java | 41 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/ |
D | DigitalWatchFaceService.java | 175 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()
|
D | SweepWatchFaceService.java | 94 Resources resources = SweepWatchFaceService.this.getResources(); in onCreate() local 95 Drawable backgroundDrawable = resources.getDrawable(R.drawable.bg); in onCreate()
|
D | AnalogWatchFaceService.java | 126 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/ |
D | WidgetPreviewActivity.java | 200 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/ |
D | build.gradle | 16 resources.srcDirs = ['src']
|
/development/samples/SkeletonApp/ |
D | readme.txt | 36 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/ |
D | README.txt | 27 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/ |
D | ResourcesSample.java | 47 setContentView(R.layout.resources); in onCreate()
|
/development/samples/browseable/DrawableTinting/ |
D | _index.jd | 8 and as Drawable resources in XML.
|
/development/build/ |
D | build_android_stubs.mk | 51 $(hide) jar -u0f $@ -C $(PRIVATE_CLASS_INTERMEDIATES_DIR) resources.arsc
|
/development/samples/ActionBarCompat/ |
D | _index.jd | 8 uses the same <a href="../../../guide/topics/resources/menu-resource.html">menu resource</a>-based
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | DictionaryDatabase.java | 204 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/ |
D | GestureBuilderActivity.java | 327 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/ |
D | GameControllerInput.java | 352 public SummaryAdapter(Context context, Resources resources) { in SummaryAdapter() argument 354 mResources = resources; in SummaryAdapter()
|
/development/samples/SearchableDictionary/res/raw/ |
D | definitions.txt | 187 consume - v. use up (resources or materials)
|