/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/ |
D | ConfirmationDialogFragment.java | 40 public static ConfirmationDialogFragment newInstance(String[] resources) { in newInstance() argument 43 args.putStringArray(ARG_RESOURCES, resources); in newInstance() 51 final String[] resources = getArguments().getStringArray(ARG_RESOURCES); in onCreateDialog() local 53 .setMessage(getString(R.string.confirmation, TextUtils.join("\n", resources))) in onCreateDialog() 57 ((Listener) getParentFragment()).onConfirmation(false, resources); in onCreateDialog() 63 ((Listener) getParentFragment()).onConfirmation(true, resources); in onCreateDialog() 80 void onConfirmation(boolean allowed, String[] resources);
|
D | PermissionRequestFragment.java | 209 public void onConfirmation(boolean allowed, String[] resources) { in onConfirmation() argument 211 mPermissionRequest.grant(resources); in onConfirmation()
|
/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/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 | 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 | 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 | DigitalWatchFaceService.java | 196 Resources resources = DigitalWatchFaceService.this.getResources(); in onCreate() local 197 mYOffset = resources.getDimension(R.dimen.digital_y_offset); in onCreate() 198 mLineHeight = resources.getDimension(R.dimen.digital_line_height); in onCreate() 199 mAmString = resources.getString(R.string.digital_am); in onCreate() 200 mPmString = resources.getString(R.string.digital_pm); in onCreate() 299 Resources resources = DigitalWatchFaceService.this.getResources(); in onApplyWindowInsets() local 301 mXOffset = resources.getDimension(isRound in onApplyWindowInsets() 303 float textSize = resources.getDimension(isRound in onApplyWindowInsets() 305 float amPmSize = resources.getDimension(isRound in onApplyWindowInsets() 308 mDatePaint.setTextSize(resources.getDimension(R.dimen.digital_date_text_size)); in onApplyWindowInsets()
|
/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/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/tools/checkcolor/src/main/java/com/google/checkcolor/lint/ |
D | HardcodedColorDetector.java | 22 import com.android.ide.common.resources.ResourceUrl; 23 import com.android.resources.ResourceFolderType; 24 import com.android.resources.ResourceType;
|
/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/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/tools/privapp_permissions/ |
D | privapp_permissions.py | 476 def create_permission_file(resources, privapp_apks, permissions_dir, argument 486 priv_permissions = extract_priv_permissions(resources.aapt, 487 resources.framework_res_apk) 492 pkg_info = extract_pkg_and_requested_permissions(resources.aapt,
|
/development/tools/bugreport/ |
D | Android.bp | 9 java_resource_dirs: ["resources"],
|
/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/training/testingfun/app/ |
D | build.gradle | 16 resources.srcDirs = ['src']
|
/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 | 9 and as Drawable resources in XML.
|
/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/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 529 …e_4OQJwpjET4yQnQCaVd_EnQ@fakeemail.com,Test textStyle is not ignored for Font resources in TextView 746 …99e0fd,platform/cts,fake_9lVTMhJRSeODW5sBb8OEqw@fakeemail.com,Make sure resources are not filtered… 2373 …008a572224e7,platform/cts,fake_gBB7rsh0QDCR6olDgvJbTw@fakeemail.com,Add resources XML font test ca… 2716 …QDCR6olDgvJbTw@fakeemail.com,Introduce several test cases to TextAppearanceTest for font resources. 3181 …ba1bd9d78c8c,platform/cts,fake_1WKkwjHoRfSpeM6Yy2bBng@fakeemail.com,Add resources for API 27 and 2… 3741 …375266,platform/cts,fake_xmaUzxGJTvePqDfknoPs1g@fakeemail.com,Add string resources to support GB_en 4693 …49ibn47zRsuTfEWr14P2RQ@fakeemail.com,Allow CTS/STS tests to push binary resources to the test devi… 5925 …TiSDnsXASrdI-w@fakeemail.com,Better logging in libprocessgroup and make resources clean up themsel… 6025 …05FpQhu8oGAPB4GBGw@fakeemail.com,"Revert ""Revert ""Lazily preload secondary zygote resources.""""" 11374 …orks/opt/telephony,fake_AH9-TQoWT0-71sL8C8sPdA@fakeemail.com,Get system resources instead of phone… [all …]
|
/development/samples/SearchableDictionary/res/raw/ |
D | definitions.txt | 187 consume - v. use up (resources or materials)
|