/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
D | ConfirmationDialogFragment.java | 38 public static ConfirmationDialogFragment newInstance(String[] resources) { in newInstance() argument 41 args.putStringArray(ARG_RESOURCES, resources); in newInstance() 48 String[] resources = getArguments().getStringArray(ARG_RESOURCES); in onCreateDialog() local 50 .setMessage(getString(R.string.confirmation, TextUtils.join("\n", resources))) in onCreateDialog()
|
/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/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | InteractiveWatchFaceService.java | 91 Resources resources = InteractiveWatchFaceService.this.getResources(); in onCreate() local 92 mTextSpacingHeight = resources.getDimension(R.dimen.interactive_text_size); in onCreate() 115 Resources resources = InteractiveWatchFaceService.this.getResources(); in onApplyWindowInsets() local 117 mXOffset = resources.getDimension( in onApplyWindowInsets() 119 mYOffset = resources.getDimension( in onApplyWindowInsets() 122 float textSize = resources.getDimension( in onApplyWindowInsets()
|
D | FitStepsWatchFaceService.java | 204 Resources resources = getResources(); in onCreate() local 206 mYOffset = resources.getDimension(R.dimen.fit_y_offset); in onCreate() 207 mLineHeight = resources.getDimension(R.dimen.fit_line_height); in onCreate() 208 mAmString = resources.getString(R.string.fit_am); in onCreate() 209 mPmString = resources.getString(R.string.fit_pm); in onCreate() 293 Resources resources = FitStepsWatchFaceService.this.getResources(); in onApplyWindowInsets() local 295 mXOffset = resources.getDimension(isRound in onApplyWindowInsets() 297 mXStepsOffset = resources.getDimension(isRound in onApplyWindowInsets() 299 float textSize = resources.getDimension(isRound in onApplyWindowInsets() 301 float amPmSize = resources.getDimension(isRound in onApplyWindowInsets() [all …]
|
D | FitDistanceWatchFaceService.java | 207 Resources resources = getResources(); in onCreate() local 209 mYOffset = resources.getDimension(R.dimen.fit_y_offset); in onCreate() 210 mLineHeight = resources.getDimension(R.dimen.fit_line_height); in onCreate() 211 mAmString = resources.getString(R.string.fit_am); in onCreate() 212 mPmString = resources.getString(R.string.fit_pm); in onCreate() 294 Resources resources = FitDistanceWatchFaceService.this.getResources(); in onApplyWindowInsets() local 296 mXOffset = resources.getDimension(isRound in onApplyWindowInsets() 299 resources.getDimension( in onApplyWindowInsets() 303 float textSize = resources.getDimension(isRound in onApplyWindowInsets() 305 float amPmSize = resources.getDimension(isRound in onApplyWindowInsets() [all …]
|
D | DigitalWatchFaceService.java | 195 Resources resources = DigitalWatchFaceService.this.getResources(); in onCreate() local 196 mYOffset = resources.getDimension(R.dimen.digital_y_offset); in onCreate() 197 mLineHeight = resources.getDimension(R.dimen.digital_line_height); in onCreate() 198 mAmString = resources.getString(R.string.digital_am); in onCreate() 199 mPmString = resources.getString(R.string.digital_pm); in onCreate() 203 mDatePaint = createTextPaint(resources.getColor(R.color.digital_date)); in onCreate() 207 mAmPmPaint = createTextPaint(resources.getColor(R.color.digital_am_pm)); in onCreate() 208 mColonPaint = createTextPaint(resources.getColor(R.color.digital_colons)); in onCreate() 295 Resources resources = DigitalWatchFaceService.this.getResources(); in onApplyWindowInsets() local 297 mXOffset = resources.getDimension(isRound in onApplyWindowInsets() [all …]
|
/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 | ErrorSupportFragment.java | 42 void setErrorContent(Resources resources) { in setErrorContent() argument 43 setImageDrawable(resources.getDrawable(R.drawable.lb_ic_sad_cloud)); in setErrorContent()
|
D | ErrorFragment.java | 40 void setErrorContent(Resources resources) { in setErrorContent() argument 41 setImageDrawable(resources.getDrawable(R.drawable.lb_ic_sad_cloud)); in setErrorContent()
|
/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/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/training/testingfun/app/ |
D | build.gradle | 16 resources.srcDirs = ['src']
|
/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/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/samples/browseable/DrawableTinting/ |
D | _index.jd | 9 and as Drawable resources in XML.
|
/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/build/ |
D | build_android_stubs.mk | 71 $(hide) jar -u0f $@ -C $(PRIVATE_CLASS_INTERMEDIATES_DIR) resources.arsc
|
/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/SupportLeanbackShowcase/libs/ |
D | picasso-2.5.2.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/squareup/
com/ ... |
/development/samples/SearchableDictionary/res/raw/ |
D | definitions.txt | 187 consume - v. use up (resources or materials)
|
/development/tools/checkstyle/ |
D | checkstyle.jar | META-INF/MANIFEST.MF
META-INF/
checkstyle_packages.xml
sun_checks.xml
com/
... |