|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| .idea/ | | 03-May-2024 | - | 331 | 330 |
| annotations/ | | 03-May-2024 | - | 2,533 | 899 |
| api/ | | 03-May-2024 | - | 239,804 | 220,574 |
| app-toolkit/ | | 03-May-2024 | - | 3,117 | 2,224 |
| buildSrc/ | | 03-May-2024 | - | 2,899 | 2,327 |
| compat/ | | 03-May-2024 | - | 65,935 | 35,410 |
| content/ | | 03-May-2024 | - | 2,776 | 1,714 |
| core-ui/ | | 03-May-2024 | - | 25,191 | 15,452 |
| core-utils/ | | 03-May-2024 | - | 10,538 | 5,954 |
| customtabs/ | | 03-May-2024 | - | 2,784 | 1,442 |
| design/ | | 03-May-2024 | - | 40,644 | 25,732 |
| development/ | | 03-May-2024 | - | 1,112 | 783 |
| dynamic-animation/ | | 03-May-2024 | - | 3,468 | 1,961 |
| emoji/ | | 03-May-2024 | - | 12,168 | 7,605 |
| exifinterface/ | | 03-May-2024 | - | 8,117 | 4,618 |
| fragment/ | | 03-May-2024 | - | 26,755 | 17,573 |
| frameworks/support/samples/ | | 03-May-2024 | - | | |
| gradle/wrapper/ | | 03-May-2024 | - | 7 | 6 |
| graphics/ | | 03-May-2024 | - | 9,155 | 5,844 |
| lifecycle/ | | 03-May-2024 | - | 13,900 | 8,843 |
| media-compat/ | | 03-May-2024 | - | 24,199 | 15,813 |
| media-compat-test-client/ | | 03-May-2024 | - | 843 | 635 |
| media-compat-test-lib/ | | 03-May-2024 | - | 111 | 58 |
| media-compat-test-service/ | | 03-May-2024 | - | 435 | 296 |
| paging/ | | 03-May-2024 | - | 6,421 | 3,451 |
| percent/ | | 03-May-2024 | - | 3,049 | 1,714 |
| persistence/ | | 03-May-2024 | - | 2,333 | 952 |
| recommendation/ | | 03-May-2024 | - | 1,834 | 887 |
| room/ | | 03-May-2024 | - | 42,009 | 30,020 |
| samples/ | | 03-May-2024 | - | 75,022 | 49,052 |
| scripts/ | | 03-May-2024 | - | 51 | 26 |
| testutils/ | | 03-May-2024 | - | 169 | 96 |
| transition/ | | 03-May-2024 | - | 17,851 | 10,993 |
| tv-provider/ | | 03-May-2024 | - | 9,693 | 5,028 |
| v13/ | | 03-May-2024 | - | 2,894 | 1,732 |
| v14/ | | 03-May-2024 | - | 3,595 | 2,228 |
| v17/ | | 03-May-2024 | - | 120,407 | 80,173 |
| v4/ | | 03-May-2024 | - | 96 | 50 |
| v7/ | | 03-May-2024 | - | 194,576 | 124,697 |
| wear/ | | 03-May-2024 | - | 15,599 | 9,682 |
| .gitignore | D | 03-May-2024 | 279 | 18 | 18 |
| Android.mk | D | 03-May-2024 | 2.8 KiB | 78 | 24 |
| CleanSpec.mk | D | 03-May-2024 | 2.3 KiB | 53 | 2 |
| LICENSE.txt | D | 03-May-2024 | 9.9 KiB | 178 | 150 |
| PREUPLOAD.cfg | D | 03-May-2024 | 337 | 7 | 5 |
| README.md | D | 03-May-2024 | 3 KiB | 70 | 46 |
| build.gradle | D | 03-May-2024 | 1.1 KiB | 45 | 34 |
| gradle.properties | D | 03-May-2024 | 142 | 6 | 5 |
| gradlew | D | 03-May-2024 | 5.1 KiB | 168 | 125 |
| makeFlatfootRepo.sh | D | 03-May-2024 | 161 | 4 | 2 |
| pathmap.mk | D | 03-May-2024 | 2 KiB | 72 | 43 |
| settings.gradle | D | 03-May-2024 | 6.5 KiB | 203 | 139 |
README.md
1# AOSP Support Library Contribution Guide
2## Accepted Types of Contributions
3* Bug fixes (needs a corresponding bug report in b.android.com)
4* Each bug fix is expected to come with tests
5* Fixing spelling errors
6* Updating documentation
7* Adding new tests to the area that is not currently covered by tests
8
9We **are not** currently accepting new modules, features, or behavior changes.
10
11## Checking Out the Code
12**NOTE: You will need to use Linux or Mac OS. Building under Windows is not currently supported.**
13
14Follow the [“Downloading the Source”](https://source.android.com/source/downloading.html) guide to install and set up `repo` tool, but instead of running the listed `repo` commands to initialize the repository, run the folowing:
15
16 repo init -u https://android.googlesource.com/platform/manifest -b ub-supportlib-master
17
18Now your repository is set to pull only what you need for building and running support library. Download the code (and grab a coffee while we pull down 7GB):
19
20 repo sync -j8 -c
21
22You will use this command to sync your checkout in the future - it’s similar to `git fetch`
23
24
25## Using Android Studio
26Open `path/to/checkout/frameworks/support/` in Android Studio. Now you're ready edit, run, and test!
27
28If you get “Unregistered VCS root detected” click “Add root” to enable git integration for Android Studio.
29
30If you see any warnings (red underlines) run `Build > Clean Project`.
31
32## Optional - Full Build
33You can do most of your work from Android Studio, however you can also build the full support library from command line:
34
35 cd path/to/checkout/frameworks/support/
36 ./gradlew createArchive
37
38## Running Tests
39
40### Single Test Class or Method
411. Open the desired test file in Android Studio.
422. Right-click on a test class or @Test method name and select `Run FooBarTest`
43
44### Full Test Package
451. In the project side panel open the desired module.
462. Find the directory with the tests
473. Right-click on the directory and select `Run android.support.foobar`
48
49## Running Sample Apps
50Support library has a set of Android applications that exercise support library code. These applications can be useful when you want to debug a real running application, or reproduce a problem interactively, before writing test code.
51
52These applications are named support-\*-demos (e.g. support-4v-demos or support-leanback-demos. You can run them by clicking `Run > Run ...` and choosing the desired application.
53
54## Making a change
55 cd path/to/checkout/frameworks/support/
56 repo start my_branch_name .
57 (make needed modifications)
58 git commit -a
59 repo upload --current-branch .
60
61If you see the following prompt, choose `always`:
62
63 Run hook scripts from https://android.googlesource.com/platform/manifest (yes/always/NO)?
64
65## Getting reviewed
66* After you run repo upload, open [r.android.com](http://r.android.com)
67* Sign in into your account (or create one if you do not have one yet)
68* Add an appropriate reviewer (use git log to find who did most modifications on the file you are fixing)
69
70