• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.idea/22-Nov-2023-150149

annotations/22-Nov-2023-2,667938

api/22-Nov-2023-239,811220,580

app-toolkit/22-Nov-2023-2,7521,920

asynclayoutinflater/22-Nov-2023-327209

browser/22-Nov-2023-5,2993,231

buildSrc/22-Nov-2023-4,2562,803

car/22-Nov-2023-20,07910,869

cardview/22-Nov-2023-1,9351,204

collection/22-Nov-2023-5,3963,344

compat/22-Nov-2023-93,54755,749

content/22-Nov-2023-2,9341,852

coordinatorlayout/22-Nov-2023-6,5073,911

core/ktx/22-Nov-2023-13,4597,927

cursoradapter/22-Nov-2023-1,414686

customview/22-Nov-2023-4,0592,257

development/22-Nov-2023-1,114784

docs-fake/22-Nov-2023-6948

documentfile/22-Nov-2023-1,244744

drawerlayout/22-Nov-2023-2,8511,993

dynamic-animation/22-Nov-2023-3,9362,389

emoji/22-Nov-2023-13,5238,645

exifinterface/22-Nov-2023-9,5756,079

fragment/22-Nov-2023-29,62220,083

frameworks/support/samples/22-Nov-2023-

gradle/wrapper/22-Nov-2023-76

graphics/drawable/22-Nov-2023-9,2875,953

gridlayout/22-Nov-2023-4,1882,475

heifwriter/22-Nov-2023-2,9941,970

interpolator/22-Nov-2023-375197

jetifier/22-Nov-2023-17,97014,471

leanback/22-Nov-2023-137,17595,794

leanback-preference/22-Nov-2023-2,3411,537

legacy/22-Nov-2023-7,7866,008

lifecycle/22-Nov-2023-17,89911,229

loader/22-Nov-2023-3,9552,338

localbroadcastmanager/22-Nov-2023-408277

media/22-Nov-2023-68,32945,827

media-widget/22-Nov-2023-9,5216,628

mediarouter/22-Nov-2023-24,54715,028

navigation/22-Nov-2023-14,9868,447

paging/22-Nov-2023-10,2145,987

palette/22-Nov-2023-3,2982,075

percent/22-Nov-2023-3,3481,981

persistence/22-Nov-2023-3,0761,527

preference/22-Nov-2023-20,52812,967

print/22-Nov-2023-978626

recommendation/22-Nov-2023-2,4501,469

recyclerview-selection/22-Nov-2023-11,3456,394

room/22-Nov-2023-51,63437,076

samples/22-Nov-2023-84,27557,043

scripts/22-Nov-2023-5126

slices/22-Nov-2023-27,90616,526

slidingpanelayout/22-Nov-2023-1,8791,283

swiperefreshlayout/22-Nov-2023-3,2622,121

testutils/22-Nov-2023-504281

testutils-ktx/22-Nov-2023-8255

textclassifier/22-Nov-2023-2,6491,642

transition/22-Nov-2023-18,95312,215

tv-provider/22-Nov-2023-14,4518,919

v7/22-Nov-2023-168,609113,951

viewpager/22-Nov-2023-7,3374,906

viewpager2/22-Nov-2023-1,6811,090

wear/22-Nov-2023-22,27013,497

webkit/22-Nov-2023-5,6082,982

webkit-codegen/22-Nov-2023-763357

work/22-Nov-2023-80,01258,371

.gitD01-Jan-19700

.gitignoreD22-Nov-2023537 2826

LICENSE.txtD22-Nov-20239.9 KiB178150

OWNERSD22-Nov-2023276 1615

PREUPLOAD.cfgD22-Nov-2023413 86

README.mdD22-Nov-20233.3 KiB7752

adding-support-library-as-included-build.mdD22-Nov-20231.9 KiB3628

build.gradleD22-Nov-20231.9 KiB6347

gradle.propertiesD22-Nov-2023143 75

gradlewD22-Nov-20235.3 KiB177129

include-composite-deps.gradleD22-Nov-20231.3 KiB3527

include-support-library.gradleD22-Nov-20231.5 KiB3528

settings.gradleD22-Nov-202310.8 KiB233211

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## Builds
33### Full Build (Optional)
34You can do most of your work from Android Studio, however you can also build the full support library from command line:
35
36    cd path/to/checkout/frameworks/support/
37    ./gradlew createArchive
38
39### Building Support Library as part of your App build
40If you intend to repeatedly make changes to Support Library and to wish to see
41the results in your app, and you don't want to have to repeatedly build them as
42separate Gradle projects, you can
43[configure your app build to build Support Library too](adding-support-library-as-included-build.md)
44
45## Running Tests
46
47### Single Test Class or Method
481. Open the desired test file in Android Studio.
492. Right-click on a test class or @Test method name and select `Run FooBarTest`
50
51### Full Test Package
521. In the project side panel open the desired module.
532. Find the directory with the tests
543. Right-click on the directory and select `Run android.support.foobar`
55
56## Running Sample Apps
57Support 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.
58
59These 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.
60
61## Making a change
62    cd path/to/checkout/frameworks/support/
63    repo start my_branch_name .
64    (make needed modifications)
65    git commit -a
66    repo upload --current-branch .
67
68If you see the following prompt, choose `always`:
69
70    Run hook scripts from https://android.googlesource.com/platform/manifest (yes/always/NO)?
71
72## Getting reviewed
73* After you run repo upload, open [r.android.com](http://r.android.com)
74* Sign in into your account (or create one if you do not have one yet)
75* Add an appropriate reviewer (use git log to find who did most modifications on the file you are fixing)
76
77