9932f618d5717787547e731eebb9d789ef54c323 |
29-May-2018 |
Jake Wharton <jakew@google.com> |
Deprecate platform preference extensions. Bug: 80415019 Test: ./gradlew :core-ktx:cC Change-Id: I3c9b7dc7a576b4358012cbe2ad623147e527d5c6
ore/preference/PreferenceGroup.kt
|
7b95ad6bfc2ebf371b8fc76448fdb0dd7826623b |
29-May-2018 |
Jake Wharton <jakew@google.com> |
Remove needless try/catch for TypedArray recycling. Change-Id: Ie5cca46de5c7a34581f45106c074005dd17a5061
ore/content/Context.kt
|
96e8e8a0540b67b9f135db9e909cfa4894647255 |
29-May-2018 |
Jake Wharton <jakew@google.com> |
Use ContextCompat for service lookup. Test: ./gradlew :core-ktx:cC Change-Id: I52053a15abed8187ee9a2dc974fa99b0383b9456
ore/content/Context.kt
|
157b9ee62f9266837b7b8e4b8690b6e657872381 |
29-May-2018 |
Jake Wharton <jakew@google.com> |
Rename systemService to getSystemService. Bug: 80415614 Test: ./gradlew :core-ktx:cC Change-Id: I0d68b9cbad95db36e28ae9c98e1cfbf5e6c7d2f3
ore/content/Context.kt
|
a22ffcdf27323b89649bc789af500d7b41851481 |
16-May-2018 |
Ram Vellanki <RamV13@users.noreply.github.com> |
Adding extension for timed logging (#537) * Adding extension for timed logging * Updating timed logging extension to avoid unnecessary allocations Test: ./gradlew :core-ktx:cC Bug: 69247886 Change-Id: I0dde165328226976ad4fba97dd9fe15665c50a69
ore/util/TimingLogger.kt
|
18ee1234d651c2eea3b43c6e31986bb6b4b634c9 |
23-Apr-2018 |
Roman Zavarnitsyn <rom4ek93@gmail.com> |
Add location destructuring extension Bug: 69247886 Test: ./gradlew :core-ktx:cC Change-Id: I40d5fd3012585550844a9e89b6816a5bae3ff6d8
ore/location/Location.kt
|
57c7350b439c472eb39f55fea4511b530d23f982 |
22-Apr-2018 |
LanderlYoung <LanderlYoung@users.noreply.github.com> |
fix issue #500 View.toBitmap should take scroll state into consideration (#504) * fix issue #500 View.toBitmap should take scroll state into consideration * add toBitmapScrolls test case * hardcode test string * remove canvas save/restore simple bitmap compare * format file header Bug: 69247886 Test: ./gradlew :core-ktx:cC Change-Id: Ica062ea94e5c23b53ff73f07feb3b5fc82476c90
ore/view/View.kt
|
88f4feab5dc6fdc0e547bbad233126f64e0c843d |
18-Apr-2018 |
Jake Wharton <jakew@google.com> |
Prefer calling directly into real APIs. By skipping the extensions, we avoid some of the overhead of trampolining through them. Bug: 69247886 Test: ./gradlew :core-ktx:cC Change-Id: I588f6a652085506c8c41b6cf2242feb0283debf0
ore/preference/PreferenceGroup.kt
ore/view/Menu.kt
|
018670b1b1df0fa4ec443fe7584956fbad4947cd |
18-Apr-2018 |
Roman Zavarnitsyn <rom4ek93@gmail.com> |
Add missing PreferenceGroup sequence extension Bug: 69247886 Test: ./gradlew :core-ktx:conCh Change-Id: Ic83269fa9fd3afa6e768c21814d5895c137023bb
ore/preference/PreferenceGroup.kt
|
0001cfe5a8cb932c79bca4071e1908a9ad20ea83 |
18-Apr-2018 |
Roman Zavarnitsyn <rom4ek93@gmail.com> |
Add missing Menu extensions Bug: 69247886 Test: ./gradlew :core-ktx:conCh Change-Id: I97bc4b999bf2fd2977d7fe4521c6f509441086db
ore/view/Menu.kt
|
3091829d6e5cf1c5e5af33614657bfeb4f2320ab |
15-Apr-2018 |
Zoran Jovanovic <zoran.jovanovic@sony.com> |
Add superscript and subscript to SpannableStringBuilder. (#496) Also update API and appropriate tests. Bug: 69247886 Test: ./gradlew :core:ktx:conCh Change-Id: I94c1b78c2599fa9aad0cbe7ec1ec13f7e0edb399
ore/text/SpannableStringBuilder.kt
|
4b53cee582c9eebfbe90dd9e6610eecc2aee093a |
30-Mar-2018 |
Toshihiro OYA <toshihirooya@users.noreply.github.com> |
mod header license comment 20188 to 2018 (#475) Bug: 69247886 Test: none Change-Id: Ib4444c48a727901003c104d1fe3fdefaf34a4150
ore/util/Size.kt
|
6889aa5fa8875d1a2842df11e24a5fbb2fd76a67 |
28-Mar-2018 |
Jake Wharton <jakew@google.com> |
Integrate and update core-ktx into latest androidx. Bug: 69247886 Test: ./gradlew :core-ktx:build :core-ktx:aAT Change-Id: I0d98db1b8c4b709c49c58fab4eb0a0a6c4508c62
ore/animation/Animator.kt
ore/content/Context.kt
ore/content/res/TypedArray.kt
ore/graphics/Bitmap.kt
ore/graphics/Color.kt
ore/graphics/Path.kt
ore/graphics/drawable/ColorDrawable.kt
ore/graphics/drawable/Drawable.kt
ore/graphics/drawable/Icon.kt
ore/os/Handler.kt
ore/os/PersistableBundle.kt
ore/os/Trace.kt
ore/text/Html.kt
ore/text/SpannableStringBuilder.kt
ore/transition/Transition.kt
ore/util/ArrayMap.kt
ore/util/ArraySet.kt
ore/util/AtomicFile.kt
ore/util/Half.kt
ore/util/Locale.kt
ore/util/LongSparseArray.kt
ore/util/Range.kt
ore/util/Size.kt
ore/util/SparseLongArray.kt
ore/view/View.kt
ore/view/ViewGroup.kt
ore/widget/Toast.kt
|
83d7b0d1bae03e5e5c82a453802a40c586175ca0 |
21-Mar-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #451 from android/jakew/flatten/2018-03-21 Fix logic bug in Path.flatten.
|
f5dfe7e151568f9fd70eff8413d9beb10aad7f30 |
21-Mar-2018 |
Jake Wharton <jakew@google.com> |
Add TODO to replace Color.plus(Color) with ColorUtils.
ore/graphics/Color.kt
|
548576bfdab2de13318efe0e11a6ca91aac6522b |
21-Mar-2018 |
Jake Wharton <jakew@google.com> |
Fix logic bug in Path.flatten. Also add TODO to replace the implementation with an alias to a forthcoming support library method.
ore/graphics/Path.kt
|
8e9eb500bab691380e37c2610edda50afead4fa5 |
21-Mar-2018 |
Jake Wharton <jakew@google.com> |
Remove TimeUnit and Duration Handler overloads. Make our postDelayed overload with a token internal as it was added natively in P.
ore/os/Handler.kt
|
9c80550cbbe357a89e2abeeb9c7769fcaefc3a65 |
09-Mar-2018 |
Jake Wharton <jakew@google.com> |
Move everything into 'androidx.core' package.
nimation/Animator.kt
ontent/ContentValues.kt
ontent/Context.kt
ontent/SharedPreferences.kt
ontent/res/TypedArray.kt
ore/animation/Animator.kt
ore/content/ContentValues.kt
ore/content/Context.kt
ore/content/SharedPreferences.kt
ore/content/res/TypedArray.kt
ore/database/Cursor.kt
ore/database/sqlite/SQLiteDatabase.kt
ore/graphics/Bitmap.kt
ore/graphics/Canvas.kt
ore/graphics/Color.kt
ore/graphics/Matrix.kt
ore/graphics/Path.kt
ore/graphics/Picture.kt
ore/graphics/Point.kt
ore/graphics/PorterDuff.kt
ore/graphics/Rect.kt
ore/graphics/Region.kt
ore/graphics/Shader.kt
ore/graphics/drawable/BitmapDrawable.kt
ore/graphics/drawable/ColorDrawable.kt
ore/graphics/drawable/Drawable.kt
ore/graphics/drawable/Icon.kt
ore/net/Uri.kt
ore/os/Bundle.kt
ore/os/Handler.kt
ore/os/PersistableBundle.kt
ore/os/Trace.kt
ore/preference/PreferenceGroup.kt
ore/text/CharSequence.kt
ore/text/Html.kt
ore/text/SpannableString.kt
ore/text/SpannableStringBuilder.kt
ore/text/SpannedString.kt
ore/text/String.kt
ore/transition/Transition.kt
ore/util/ArrayMap.kt
ore/util/ArraySet.kt
ore/util/AtomicFile.kt
ore/util/Half.kt
ore/util/Locale.kt
ore/util/LongSparseArray.kt
ore/util/LruCache.kt
ore/util/Pair.kt
ore/util/Range.kt
ore/util/Size.kt
ore/util/SparseArray.kt
ore/util/SparseBooleanArray.kt
ore/util/SparseIntArray.kt
ore/util/SparseLongArray.kt
ore/view/Menu.kt
ore/view/View.kt
ore/view/ViewGroup.kt
ore/widget/Toast.kt
atabase/Cursor.kt
atabase/sqlite/SQLiteDatabase.kt
raphics/Bitmap.kt
raphics/Canvas.kt
raphics/Color.kt
raphics/Matrix.kt
raphics/Path.kt
raphics/Picture.kt
raphics/Point.kt
raphics/PorterDuff.kt
raphics/Rect.kt
raphics/Region.kt
raphics/Shader.kt
raphics/drawable/BitmapDrawable.kt
raphics/drawable/ColorDrawable.kt
raphics/drawable/Drawable.kt
raphics/drawable/Icon.kt
et/Uri.kt
s/Bundle.kt
s/Handler.kt
s/PersistableBundle.kt
s/Trace.kt
reference/PreferenceGroup.kt
ext/CharSequence.kt
ext/Html.kt
ext/SpannableString.kt
ext/SpannableStringBuilder.kt
ext/SpannedString.kt
ext/String.kt
ransition/Transition.kt
til/ArrayMap.kt
til/ArraySet.kt
til/AtomicFile.kt
til/Half.kt
til/Locale.kt
til/LongSparseArray.kt
til/LruCache.kt
til/Pair.kt
til/Range.kt
til/Size.kt
til/SparseArray.kt
til/SparseBooleanArray.kt
til/SparseIntArray.kt
til/SparseLongArray.kt
iew/Menu.kt
iew/View.kt
iew/ViewGroup.kt
idget/Toast.kt
|
c096c3fe5172b2672f40e0c0408386d194d01f7d |
08-Mar-2018 |
Hendra Anggrian <hendraanggrian@gmail.com> |
Add collection-like extensions to PreferenceGroup (#372)
reference/PreferenceGroup.kt
|
bc417d73e491a6a9ddd04ea4e0475b86d9216c7c |
08-Mar-2018 |
Jake Wharton <jakew@google.com> |
Remove parseAsHtml overloading, add toHtml. I just landed an HtmlCompat into the support library which we can delegate to directly in a future version.
ext/Html.kt
|
e81ce63a43f4d45086bd004cbf1369a3af5addea |
08-Mar-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #410 from android/jakew/aint-nobody-got-time/2018-03-07 Remove java.time extensions.
|
ae38f83268bc44baddb8afe237cfe4f420b0d27c |
08-Mar-2018 |
Ataul Munim <hello@ataulm.com> |
Add View.announceForAccessibility with String res as parameter (#387)
iew/View.kt
|
9ee52ff4e8e1a78204b1a6c8291d4cc9adb9a7ec |
07-Mar-2018 |
Jake Wharton <jakew@google.com> |
Remove java.time extensions. We hardly new ye. ☠️
ime/DayOfWeek.kt
ime/Duration.kt
ime/Instant.kt
ime/LocalDate.kt
ime/LocalDateTime.kt
ime/LocalTime.kt
ime/Month.kt
ime/MonthDay.kt
ime/OffsetDateTime.kt
ime/OffsetTime.kt
ime/Period.kt
ime/Year.kt
ime/YearMonth.kt
ime/ZonedDateTime.kt
ime/deprecation.kt
|
428a205c2e4ec7d14c038ffb8cf09254cce9c221 |
07-Mar-2018 |
Jared Burrows <jaredsburrows@gmail.com> |
Fix various Kotlin issues (#392)
ime/Duration.kt
ime/Instant.kt
ime/LocalDate.kt
ime/LocalDateTime.kt
ime/LocalTime.kt
ime/MonthDay.kt
ime/OffsetDateTime.kt
ime/OffsetTime.kt
ime/Period.kt
ime/YearMonth.kt
ime/ZonedDateTime.kt
til/ArrayMap.kt
iew/Menu.kt
iew/ViewGroup.kt
|
efb0373a70ea6700f3e308e41b5c253b228e7180 |
07-Mar-2018 |
Sarvesh Athawale <sathawale27@gmail.com> |
Get File from Uri (#403)
et/Uri.kt
|
c2b0e004778ec554fc277dd6a723aa2b35d4eef7 |
07-Mar-2018 |
Jake Wharton <jakew@google.com> |
Remove removeAt. This method was added to the type in P and thus this will be uncallable. https://issuetracker.google.com/issues/70934959
til/SparseBooleanArray.kt
|
e2d2e9d2dc04c0f8a1d38d301f47763dc744bdd3 |
07-Mar-2018 |
Simon Schiller <simonschiller@users.noreply.github.com> |
Move updateLayoutParams from ViewGroup to View (#400)
iew/View.kt
iew/ViewGroup.kt
|
2f85a002d23205005e37402027fac4710477dd2e |
06-Mar-2018 |
Jared Burrows <jaredsburrows@gmail.com> |
extensions for Html.fromHtml (#385)
ext/Html.kt
|
7b5ad1c936527904b0413b691831914cd2421c48 |
05-Mar-2018 |
Jake Wharton <jakew@google.com> |
Correct package of File.toUri.
et/Uri.kt
s/File.kt
|
e4cab2e8270a2d227724f8daf7e503a4bdcbe359 |
04-Mar-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #388 from android/jakew/spans/2018-03-03 Span improvements.
|
2004166bac3ad2cf71bc5a691ecc58b74aa6b250 |
03-Mar-2018 |
Simon Schiller <simonschiller@users.noreply.github.com> |
Toast extensions on Context (#290)
idget/Toast.kt
|
d8fad98b94940d1a1657bb44366f3305bbcc7203 |
03-Mar-2018 |
Jake Wharton <jakew@google.com> |
Add two-arg set operator for adding a span to a spannable.
ext/SpannableString.kt
|
a4ba387dd7b64fa8bc269778bac6bb450d328786 |
03-Mar-2018 |
Jake Wharton <jakew@google.com> |
Add start and end index to reified span lookup.
ext/SpannedString.kt
|
6c8a916c5c421e141f2a13b3e74a7ac766e202d0 |
01-Mar-2018 |
yanglinzhen <yanglinzhen@outlook.com> |
Add Canvas.withMatrix (#376) * Add Canvas.withMatrix * Add unit test for Canvas.withMatrix and update current.txt
raphics/Canvas.kt
|
8fdf645bada708780d9dba47bf7eccdbc95ed4ec |
06-Feb-2018 |
Hendra Anggrian <hendraanggrian@gmail.com> |
Add collection-like extensions to Menu.
iew/Menu.kt
|
7ff0a408b7d6cc0c892c2ac0ec0db3738d7a3050 |
08-Feb-2018 |
Tymen Steur <tsteur@newnexusmobile.nl> |
ViewGroup extension to allow modifying of the layoutParams.
iew/ViewGroup.kt
|
8da90ee1b0bbf123bf470a2e94c75e724e30e87b |
27-Feb-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #368 from android/jakew/aint-nobody-got-time/2018-02-27 Deprecate java.time extensions.
|
220b8ebadb584b854e2bc415407d53d9a2f169ef |
27-Feb-2018 |
Jake Wharton <jakew@google.com> |
Deprecate java.time extensions.
ime/DayOfWeek.kt
ime/Duration.kt
ime/Instant.kt
ime/LocalDate.kt
ime/LocalDateTime.kt
ime/LocalTime.kt
ime/Month.kt
ime/MonthDay.kt
ime/OffsetDateTime.kt
ime/OffsetTime.kt
ime/Period.kt
ime/Year.kt
ime/YearMonth.kt
ime/ZonedDateTime.kt
ime/deprecation.kt
|
4ea88d54f677d1afd3c87defcb0f32d2986c494f |
27-Feb-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #364 from android/jakew/ktlint/2018-02-27 KtLint 0.16.0.
|
037695ef44a89edeb8e0b371d3a56f7409d26147 |
27-Feb-2018 |
panpanini <panpanini@mercari.com> |
Add CharSequence and String extensions from TextUtils.
ext/CharSequence.kt
ext/String.kt
|
1b5d661df70b59366139193694875b6761d7c71f |
27-Feb-2018 |
Jake Wharton <jakew@google.com> |
Remove JvmOverloads from source-compatible inline method.
ontent/SharedPreferences.kt
|
501c35207dba19b8f23cd143a1d2c1913c172570 |
06-Feb-2018 |
UmangChamaria <umangchamaria@gmail.com> |
Update SharedPreferences editor to allow commit.
ontent/SharedPreferences.kt
|
e60c86b4e15b261a068316d162db25b01bded230 |
27-Feb-2018 |
Jake Wharton <jakew@google.com> |
KtLint 0.16.0.
iew/View.kt
|
d94cd9b11e90365841344f33e72d27eaa4e28ae6 |
27-Feb-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #362 from android/jakew/fix-ref/2018-02-26 Correct documentation reference.
|
04ada48907166513dd256f010b30d0b99f78b7ca |
27-Feb-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #360 from android/jakew/path-docs/2018-02-26 Migrate PathSegment documentation to properties.
|
4dfcb09de06b924ba8ef7a1ceb4b992703b3094a |
27-Feb-2018 |
Jake Wharton <jakew@google.com> |
Correct documentation reference.
iew/View.kt
|
af6781dcaa3ada9c67863a656fb591b56e7738dd |
27-Feb-2018 |
Jake Wharton <jakew@google.com> |
Migrate PathSegment documentation to properties.
raphics/Path.kt
|
d9c8e669cdb3d67977f089c9df7df6a320b0fb2b |
27-Feb-2018 |
Jake Wharton <jakew@google.com> |
Correct doc references to parameters.
s/Trace.kt
ext/SpannableStringBuilder.kt
ime/Duration.kt
ime/Period.kt
iew/ViewGroup.kt
|
758ea470aa3be5db8ffad3dfa745b6287aebabb8 |
26-Feb-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #358 from android/jakew/trivial/2018-02-26 Mark some trivial view-related methods as inline.
|
9b58c1c1a73296355f2b9bc5d55c96d6a526ef85 |
26-Feb-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #356 from android/jakew/in-spans-one/2018-02-26 Add overload for a single span.
|
c0ca262e0c527131e052fe608b468c784df1452a |
26-Feb-2018 |
Jake Wharton <jakew@google.com> |
Mark some trivial view-related methods as inline. The lambdas were creating anonymous types at the callsite already. They were then wrapped in a Runnable inside the method before being posted. By inling and changing the lambda to crossinline, the anonymous type becomes itself a Runnable which can be posted directly.
iew/View.kt
iew/ViewGroup.kt
|
62aa1d7c277b0e8fe7a24329dc8c4e6830b9bb6e |
26-Feb-2018 |
Jake Wharton <jakew@google.com> |
Add overload for a single span. This makes the generated code much more efficient for the common case (a single span) as it avoids the varargs array allocation and loop.
ext/SpannableStringBuilder.kt
|
4795b2b55f49ef6a4282a0d2fdd88e3a4bac47fb |
26-Feb-2018 |
Jake Wharton <jakew@google.com> |
Bound span generic to Any as nullable types do not make sense.
ext/SpannedString.kt
|
670aa684c7d7040a4d458cad338ef93fa321ffc2 |
07-Feb-2018 |
mightyfrog <mightyfrog.gc@gmail.com> |
Add SpannableStringBuilder#scale
ext/SpannableStringBuilder.kt
|
0fe26b99cbebedbd44c495660f112a4dbf82038e |
26-Feb-2018 |
Florina Muntenescu <2998890+florina-muntenescu@users.noreply.github.com> |
Comment in SpannableStringBuilder doc fixed.
ext/SpannableStringBuilder.kt
|
79b1d504636700eef4bd026ef75c7ec520d06f62 |
07-Feb-2018 |
jutikorn <jutikorn.v@gmail.com> |
Add strike-through helper for SpannedStringBuilder.
ext/SpannableStringBuilder.kt
|
5414238bd40e7deebeabf0e41a59eaaa05f4cdfe |
07-Feb-2018 |
Hendra Anggrian <hendraanggrian@gmail.com> |
Add SpannedString and SpannableString helpers.
ext/SpannableString.kt
ext/SpannedString.kt
|
7908f7ec47f6b227caeda9f8bde20af6571812f9 |
19-Feb-2018 |
Sergey Vasilinets <sergeyv@google.com> |
Simple factory method for creating LruCache without subclassing.
til/LruCache.kt
|
bbe19993b185ce143ca521491cf85e317612b1e6 |
17-Feb-2018 |
Roman Zavarnitsyn <rom4ek93@gmail.com> |
Fix wrong method name in docs `see` section for file extension
s/File.kt
|
e7639368484f0426bab9277641ff8e8d583c2f8f |
16-Feb-2018 |
Jake Wharton <jakew@google.com> |
Update to AGP 3.1b3. Remove some lint suppressions that were fixed in this release.
til/Half.kt
|
1635cc5b7c0ea14978f09b59a837c0142f422806 |
15-Feb-2018 |
Jitin <jitins2892@gmail.com> |
Extensions for Locale (#316) Add Locale.layoutDirection
til/Locale.kt
|
2f4dafc944e03da8340655515973b76bbc0df22e |
08-Feb-2018 |
Roman Zavarnitsyn <rom4ek93@gmail.com> |
Add String to ColorInt extension
raphics/Color.kt
|
5984cbf5c971fe7476c39077d4b30ebdf81c92f3 |
12-Feb-2018 |
Ankit Saliya <apsaliya@gmail.com> |
Add missing docs in Half.kt (#321)
til/Half.kt
|
09d3a4befb2308241939c3d5049a50563fcbc785 |
11-Feb-2018 |
Roman Zavarnitsyn <rom4ek93@gmail.com> |
Fix numerals in docs for components extensions
raphics/Rect.kt
til/Size.kt
|
2c5ec6749134097dfcb66e98431684cfc7707824 |
07-Feb-2018 |
Jake Wharton <jakew@google.com> |
Add read/write properties for each view visibility.
iew/View.kt
|
42dd0f9b222d39029f748d8972dbc70d601ad572 |
07-Feb-2018 |
Steven Schoen <steven@stevenschoen.com> |
Add 'use' extension function to TypedArray. This is similar to Closeable's in the stdlib.
ontent/res/TypedArray.kt
|
69faaa1f2c3617fd88d1facc401c87874f52ec20 |
05-Feb-2018 |
panpanini <panpanini@mercari.com> |
Add `children` val to ViewGroup which returns a `Sequence<View>`
iew/ViewGroup.kt
|
64ff658d38144d8bfac4f887f7bebc1bd4605a7f |
06-Feb-2018 |
Mikhail Savin <savinmike.u@gmail.com> |
Fix incorrect behavior of containsKey for sparse arrays. Documentation is that a negative value will be returned and not specifically -1 as was used.
til/LongSparseArray.kt
til/SparseArray.kt
til/SparseBooleanArray.kt
til/SparseIntArray.kt
til/SparseLongArray.kt
|
2efd5d752e04a4b900d733d6df974d397923a2dd |
07-Feb-2018 |
Matt Precious <mattp@squareup.com> |
Add TypedArray.getResourceIdOrThrow
ontent/res/TypedArray.kt
|
ec493e7641b650eaf451799a19a9ed707b8c4057 |
06-Feb-2018 |
mightyfrog <mightyfrog.gc@gmail.com> |
Add File#toUri() (#222)
s/File.kt
|
412d0a4b2b82659827c90216810016de0da37695 |
06-Feb-2018 |
Chris Banes <chrisbanes@google.com> |
Make doOnLayout check isLayoutRequested() Currently if doOnLayout is called while a layout pass is pending it will notify synchronously. Since a layout is pending we should wait for it to complete before notifying.
iew/View.kt
|
3ec7e2b13f850f2856614f1da28491db3e93093f |
05-Feb-2018 |
Filipe Guedes <203216+fgsguedes@users.noreply.github.com> |
Fixes Duration.kt methods requiring API level 260 (#145)
ime/Duration.kt
|
398a1d9504c4f9c58c00f3d2f6b15b33a1ffd097 |
05-Feb-2018 |
John <jawnnypoo@gmail.com> |
Add @Px annotation where applicable
raphics/drawable/Drawable.kt
iew/View.kt
iew/ViewGroup.kt
|
25fb991944141234326329d2a5166c9bbb080559 |
31-Jan-2018 |
Jake Wharton <jakew@google.com> |
Allow DB transactions to return a value.
atabase/sqlite/SQLiteDatabase.kt
|
fdcad1028bd5b3cf3dc103b279e157bda59b0890 |
30-Jan-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #122 from android/jakew/format-and-ktlint/2018-01-30 Use the Kotlin style and update ktlint to 0.15 to enforce.
|
c746b343100e1daf1e2ab842cccc5448314fd1ae |
30-Jan-2018 |
Jake Wharton <jakew@google.com> |
Add destructuring examples to each function documentation.
raphics/Color.kt
ime/Duration.kt
ime/Instant.kt
ime/LocalDate.kt
ime/LocalDateTime.kt
ime/LocalTime.kt
ime/MonthDay.kt
ime/OffsetDateTime.kt
ime/OffsetTime.kt
ime/Period.kt
ime/YearMonth.kt
til/Pair.kt
|
ec87f3d0ed8fb2a23ee2bbe8b323fdd7bdcbf4ea |
30-Jan-2018 |
Jake Wharton <jakew@google.com> |
Use the Kotlin style and update ktlint to 0.15 to enforce.
nimation/Animator.kt
ontent/Context.kt
atabase/Cursor.kt
raphics/Bitmap.kt
raphics/Canvas.kt
raphics/Matrix.kt
raphics/Path.kt
raphics/drawable/Drawable.kt
s/Bundle.kt
s/Handler.kt
s/PersistableBundle.kt
ext/SpannableStringBuilder.kt
ransition/Transition.kt
til/Half.kt
til/LongSparseArray.kt
til/SparseArray.kt
til/SparseBooleanArray.kt
til/SparseIntArray.kt
til/SparseLongArray.kt
iew/View.kt
iew/ViewGroup.kt
|
8770f84ffe4cf2ee98744f30ee8b4cd659a65633 |
27-Jan-2018 |
Jake Wharton <jakew@google.com> |
Only run tests on API levels where they are supported. This also contains some fixes for problems found on older APIs: * equals is missing for PointF, RectF, etc. * TransitionManager.endTransition isn't available on 19 * Bundle and PersistableBundle added support for types on various API levels.
s/Bundle.kt
s/PersistableBundle.kt
|
cd71d489991c8aa2e5ef5b44065f2c603bda71b8 |
27-Jan-2018 |
Jake Wharton <jakew@google.com> |
Update AGP to 3.1 so that lint runs on Kotlin. Suppress two false positives and an intentional resource type deviation.
til/Half.kt
|
1ccb46da84b5b9fe23f8587fc3699725d915426b |
26-Jan-2018 |
Jake Wharton <jakew@google.com> |
Add extend and intersection extensions to Range.
til/Range.kt
|
87b754825655dd19dcecd0128a5a516a09ede3b0 |
26-Jan-2018 |
Jake Wharton <jakew@google.com> |
Add range factory and conversions.
til/Range.kt
|
9be8bee8914135f82ceb0531bbf6b2238056deb1 |
25-Jan-2018 |
Romain Guy <romainguy@curious-creature.com> |
Better createBitmap() functions, new scale() extension (#110) * Better createBitmap() functions, new scale() extension This change also changes existing tests to make use of the new createBitmap() function which makes the tests shorter and more readable. * Fix lint errors
raphics/Bitmap.kt
|
1137c3461de89e098aad51b0d16e75ad43d0ce13 |
24-Jan-2018 |
Jake Wharton <jakew@google.com> |
Use support-compat as an implementation detail to lower required API. While the compat implementations of these are trivial, support-compat is so common that it would be needless duplication.
s/Trace.kt
iew/View.kt
|
eb58135d115ec994ecdda321b4d13f174d44f46e |
24-Jan-2018 |
Chris Banes <chrisbanes@users.noreply.github.com> |
Merge branch 'master' into cb/view-bitmap
|
d89baa402af29432f8f1be3a6eedf3cebaf75597 |
24-Jan-2018 |
Chris Banes <chrisbanes@google.com> |
Add View.toBitmap extension
iew/View.kt
|
541d010f62abf255e2a51caa19d4b59dcd7c3a62 |
24-Jan-2018 |
Chris Banes <chrisbanes@google.com> |
Add Drawable.updateBounds extension
raphics/drawable/Drawable.kt
|
eb91374d0fe03940e31dfe07c44447866de134b2 |
18-Jan-2018 |
Romain Guy <romainguy@google.com> |
Add PorterDuff.Mode extensions
ontent/Context.kt
raphics/PorterDuff.kt
|
4ab0e7e0c9e34abeb12fc816ebd586c98ee87fb2 |
16-Jan-2018 |
Jake Wharton <jakew@google.com> |
Add Drawable.toBitmap() extension.
raphics/drawable/Drawable.kt
|
1e8a757e2bc683934dfef52f7f1a361467032caa |
16-Jan-2018 |
Florina Muntenescu <2998890+florina-muntenescu@users.noreply.github.com> |
View.onLayoutChange - first remove the listener then trigger the action (#87)
iew/View.kt
|
2f74f93b4706ae9265cb51d79e7e5bb28a768c39 |
15-Jan-2018 |
Florina Muntenescu <florinam@google.com> |
Returning the Animator Listener so it can be removed by the caller, if needed
nimation/Animator.kt
|
6d6a6a2697de3987e851b268f03a6554c14b59f7 |
12-Jan-2018 |
Jake Wharton <jakew@google.com> |
Add throwing overloads of TypedArray methods. This saves from having to do the hasValue+get dance yourself and also protects against unwanted coercion failures falling back to a default value.
ontent/res/TypedArray.kt
|
4cbf075cfc8beb261b367366fd1448cb35f1bf1c |
12-Jan-2018 |
Florina Muntenescu <florinam@google.com> |
formatting code
ext/SpannableStringBuilder.kt
|
d5d94ba1a1381212aab5c436dec852370d0480ee |
12-Jan-2018 |
Florina Muntenescu <florinam@google.com> |
Allow SpannableStringBuilder.inSpan to accept a list of spans
ext/SpannableStringBuilder.kt
|
47fad64cae4792f0cbdf7111070cc666b6370461 |
11-Jan-2018 |
Romain Guy <romainguy@google.com> |
Remove potentially ambiguous overload
ontent/Context.kt
|
65b42e740ef6013f0b55bec7e5536ec22e7e9fed |
11-Jan-2018 |
Romain Guy <romainguy@google.com> |
Move resources to androidTest
ontent/Context.kt
|
58a056d14c8b7d78dd1c49b13613c3100ef78fac |
11-Jan-2018 |
Romain Guy <romainguy@google.com> |
Pass style attributes to Context
ontent/Context.kt
|
8afa34abc5a3485642c67c14976e8f35f42c9f4f |
11-Jan-2018 |
Romain Guy <romainguy@google.com> |
Add TypedArray related extensions to Context
ontent/Context.kt
|
b84b65fbd066b9a2dd61754f720f31c5af1d7c0c |
10-Jan-2018 |
Romain Guy <romainguy@google.com> |
Add Bitmap.toDrawable()
raphics/drawable/BitmapDrawable.kt
raphics/drawable/ColorDrawable.kt
|
8f531652187e231065380986e8f2645bb0bccbc1 |
09-Jan-2018 |
Jake Wharton <jakew@google.com> |
Give lambda arguments explicit names. The IDE provides these as the defaults when present.
nimation/Animator.kt
atabase/sqlite/SQLiteDatabase.kt
raphics/Region.kt
ransition/Transition.kt
til/AtomicFile.kt
til/LongSparseArray.kt
til/SparseArray.kt
til/SparseBooleanArray.kt
til/SparseIntArray.kt
iew/View.kt
iew/ViewGroup.kt
|
60a72273a0679873be713ba28099c5a4c71d1d9a |
09-Jan-2018 |
Romain Guy <romainguy@google.com> |
Fix lint error
raphics/Matrix.kt
|
46b8a0ef84de421456d4ad06cc7f698d3505422f |
09-Jan-2018 |
Romain Guy <romainguy@google.com> |
Matrix related extensions - Matrix multiplications - Easily create translate, scale and rotation matrices - Rect.transform()
raphics/Matrix.kt
raphics/Rect.kt
|
a64bfdbf56390815a87bfddf0420f150328dd22f |
09-Jan-2018 |
Romain Guy <romainguy@curious-creature.com> |
Merge pull request #78 from android/rg/picture Add extension Picture.record() { }
|
04876364d35e695427c8444bb9922ea8a31226dc |
09-Jan-2018 |
Romain Guy <romainguy@google.com> |
Add extension Picture.record() { }
raphics/Bitmap.kt
raphics/Picture.kt
|
9f02c693dc71a6400e6f5e00a1291a1e063399d5 |
09-Jan-2018 |
Romain Guy <romainguy@google.com> |
Add destructuring to android.util.Size
til/Size.kt
|
e02f99340bc5a412c65a98b8a580577e06a4fcd0 |
09-Jan-2018 |
Romain Guy <romainguy@curious-creature.com> |
Merge pull request #76 from android/rg/oops Replace !equals with !=
|
0ebc424269d19dbbe2643f357eb8fe23bd1708a0 |
09-Jan-2018 |
Romain Guy <romainguy@google.com> |
Replace !equals with !=
raphics/Color.kt
|
2e66db433ad3a5e69ae95b606158049b39e082cc |
08-Jan-2018 |
Jake Wharton <jakew@google.com> |
Add Cursor extensions for nullable types and lookup by column name.
atabase/Cursor.kt
|
90556f5dd1b43a993563fb45b1ba00e2298fdc1a |
08-Jan-2018 |
Jake Wharton <jakew@google.com> |
Fix package of SQLiteDatabase extension.
atabase/SQLiteDatabase.kt
atabase/sqlite/SQLiteDatabase.kt
|
50d7eb88c25bdbd1606c18bae06cd7f2e7c41586 |
08-Jan-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #74 from android/jakew/icon/2018-01-05 Extension functions for creating an Icon from Bitmap/Uri/ByteArray.
|
355cd552577358a410a7bcb79c3fdbe2983b5112 |
05-Jan-2018 |
Jake Wharton <jakew@google.com> |
Extension functions for creating an Icon from Bitmap/Uri/ByteArray.
raphics/drawable/Icon.kt
|
3b13cc2dd6858f7010c1b62d271aa921dcde646b |
05-Jan-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #73 from android/jakew/color-drawable/2018-01-05 Extension functions for creating a ColorDrawable from Int & Color.
|
e03b55fd24d24eb2988e6d4da1a64cb690a0172a |
05-Jan-2018 |
Jake Wharton <jakew@google.com> |
Extension functions for creating a ColorDrawable from Int & Color.
raphics/drawable/ColorDrawable.kt
|
4df8629cfe9f924b507ff26e53f896e025eb9ff7 |
05-Jan-2018 |
Romain Guy <romainguy@google.com> |
Add +, -, or and xor to Path These operators map respectively to the following Path.Op operations: - union - difference - intersection - union - xor
raphics/Path.kt
|
04fa5880919c52cf71be74f085f9a5343f94d4d9 |
04-Jan-2018 |
Romain Guy <romainguy@google.com> |
Pre-size the collection
raphics/Path.kt
|
245f352e7e7a8b37faebc5aefd52ce98ae9f08e6 |
04-Jan-2018 |
Romain Guy <romainguy@google.com> |
Add Path.flatten() iterable flatten() returns an iterable to iterate over the approximate line segments that make up the Path.
raphics/Path.kt
raphics/Shader.kt
|
04028515fbbdc3e80a28813a2f7ed1e21ac26e53 |
04-Jan-2018 |
Romain Guy <romainguy@google.com> |
Remove extra allocation
raphics/Region.kt
|
ad1ffc7bf89782ca4d987cb215ce048522db2149 |
04-Jan-2018 |
Romain Guy <romainguy@google.com> |
Add iterator()/forEach() to Region These can be used to iterate over the rectangles that compose a Region
raphics/Region.kt
|
c36199bdffe28e732b641fe9e285c68fbbc93ddc |
03-Jan-2018 |
Jake Wharton <jakew@google.com> |
Add ViewGroup isEmpty/isNotEmpty functions.
iew/ViewGroup.kt
|
d259ddf377361f0463a3f8ae9d4852962f94db88 |
03-Jan-2018 |
Jake Wharton <jakew@google.com> |
Switch ViewGroup to iterable operator extension function. Also add support for removing views while iterating.
iew/ViewGroup.kt
|
72bd725e855c533163a3e4d984666fa17a41fd8d |
03-Jan-2018 |
Jake Wharton <jakew@google.com> |
Handler extension tweaks, tests. * Added overloads for TimeUnit and Duration. * Allowed specifying of token instance for overloads (including one of non-lambda postDelayed).
s/Handler.kt
|
82eef1935cabfba15ac582595c4955183568350e |
02-Jan-2018 |
Jake Wharton <jakew@google.com> |
Factory methods for Bundle and PersistableBundle.
ontent/ContentValues.kt
s/Bundle.kt
s/PersistableBundle.kt
|
981efc90ca80329b955bedfb01a9396afa187fe2 |
02-Jan-2018 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #65 from android/jakew/content-values/2018-01-02 Add ContentValues factory method from pairs.
|
c8d88ff8d46317d0cd6071602f1691ca889ac375 |
02-Jan-2018 |
Jake Wharton <jakew@google.com> |
Add ContentValues factory method from pairs.
ontent/ContentValues.kt
|
f7942ee6859b9a67544ab7eb7ae7667db2b98d40 |
02-Jan-2018 |
Jake Wharton <jakew@google.com> |
Add simple DB transaction lambda.
atabase/SQLiteDatabase.kt
|
a6b20633d0f903d87c435967bec4d861120dd5ac |
31-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Add + operator to blend Color instances
raphics/Color.kt
|
e43e007bd9c0a4f5f9bed2349d32ebd5c8a72c36 |
23-Dec-2017 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #61 from android/jakew/atomic-file/2017-12-22 Add write-helper lambda and single-op convenience methods for AtomicFile.
|
9cb884da9674e8e590fbaa52f549f8cc52fd0958 |
22-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add write-helper lambda and single-op convenience methods for AtomicFile.
til/AtomicFile.kt
|
bab0aa73777eab8e286f1ffbac468d3beb542af4 |
22-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Add Color extensions ColorInt: - luminance becomes a property - toColorLong ColorLong: - red/green/blue/alpha properties - luminance property - colorspace property - isWideGamut property - isSrgb property - toColor - toColorInt - Destructuring
raphics/Color.kt
|
eef7bb0c07ab1ae2c133179faf9a0255f99147b0 |
21-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Merge pull request #59 from android/rg/bitmap-ext Add Bitmap extensions
|
124999be27c9ead0e83a4c06f71ee611836dcb05 |
21-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Add Bitmap extensions Get/set operators: - myBitmap[x, y] - myBitmap[x, y] = myColor
raphics/Bitmap.kt
|
3db400ef3d00a98fa9a0bb6b56faac9066daa251 |
21-Dec-2017 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #58 from android/jakew/sparse-array/2017-12-21 Add extensions for other sparse collection types.
|
e95fcac3e68e5d807ad6683b8080a71f60c327ce |
21-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add extensions for other sparse collection types.
til/LongSparseArray.kt
til/SparseBooleanArray.kt
til/SparseIntArray.kt
til/SparseLongArray.kt
|
27366fa07200ce27538a2113101505eb3c43cf13 |
21-Dec-2017 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #57 from android/jakew/sparse-array/2017-12-21 Initial extensions for SparseArray.
|
1e192dfb6038341091608efd40290dc622fcf992 |
21-Dec-2017 |
Jake Wharton <jakew@google.com> |
Initial extensions for SparseArray. These conform to the collection APIs and extensions in the stdlib for java.util collections.
til/SparseArray.kt
|
7383884c4778c7f4be05204e38ce1bd05fe688cd |
21-Dec-2017 |
Tiem Song <tiem@google.com> |
Don't call setMargins(), set each dimension individually.
iew/ViewGroup.kt
|
4ba75c6f69863568a1e016b34a1606186bf458b3 |
21-Dec-2017 |
Tiem Song <tiem@google.com> |
Call setMarginStart/End in updateMarginRelative
iew/ViewGroup.kt
|
55d292aab104944adfd13e615b3984d3611463c9 |
21-Dec-2017 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #55 from android/jakew/remove-warnings/2017-12-21 Suppress warnings for intentional design.
|
6bf804328aa1d96864184f743a69c7029698ca2f |
21-Dec-2017 |
Jake Wharton <jakew@google.com> |
Suppress warnings for intentional design.
et/Uri.kt
ime/Duration.kt
ime/Instant.kt
ime/Period.kt
|
8c9c632b5c9b99f276d65faf6146199918fb0df0 |
21-Dec-2017 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #53 from android/jakew/time/2017-12-20 Add destructuring extensions to composite date/time value types.
|
f2240cc49946af6ccdda7afe00143b0caac87ffc |
21-Dec-2017 |
Tiem Song <tiem@google.com> |
Add relative version of updateMargins
iew/ViewGroup.kt
|
3ebf17c892b5c8cae8f65a7d8389427559a765e1 |
21-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add destructuring extensions to composite date/time value types.
ime/LocalDate.kt
ime/LocalDateTime.kt
ime/LocalTime.kt
ime/OffsetDateTime.kt
ime/OffsetTime.kt
ime/ZonedDateTime.kt
|
9712e9de4aa1f7aded7eb3fb5514768d4e335fdd |
21-Dec-2017 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #52 from android/jakew/time/2017-12-20 Add extensions for destructuring and converting to/from value types.
|
aae766c11355f7f616c620f66ee60478fa3ba5ae |
21-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add extensions for destructuring and converting to/from value types.
ime/DayOfWeek.kt
ime/Month.kt
ime/MonthDay.kt
ime/Year.kt
ime/YearMonth.kt
|
bb1c9db499881b828a3c03c55357e1f70be168e7 |
21-Dec-2017 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #51 from android/jakew/time/2017-12-20 Add extensions for Duration, Instant, and Period.
|
90b33b5b9b2dd91a0a4b8220faff6ebda4d67643 |
21-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add extensions for Duration, Instant, and Period. Each get destructuring operators, conversion operators to and/or from scalars, and math operators (except Instant).
ime/Duration.kt
ime/Instant.kt
ime/Period.kt
|
292b883fb6e9a328e9e726324cb5f04b34a4ccfc |
20-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Bitmap and ColorInt extensions
raphics/Bitmap.kt
raphics/Canvas.kt
raphics/Color.kt
raphics/Shader.kt
|
4896e241a506661acc8de574508636c14ba99805 |
20-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Region, Point extensions Region: - Support for + operator - Support for - operator - Support for unary - operator - Support for and - Support for or - Support for xor - Support for not Point: - toPoint - toPointF - Support for - operator
raphics/Point.kt
raphics/Rect.kt
raphics/Region.kt
|
d19b769f760eebaee272ee2b83c208904abbfdbe |
20-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Add Rect extensions New extensions (Rect means Rect and RectF): - Rect - Rect returns a region - Rect - int offsets - Rect - float offsets - Rect and Rect returns union - Rect or Rect returns intersection - Rect xor Rect returns union minus intersection
raphics/Rect.kt
|
511b084386bbe26d995c26ea937dedb152ead432 |
20-Dec-2017 |
Chris Banes <chrisbanes@google.com> |
Return created Runnable from post methods
s/Handler.kt
iew/View.kt
|
6fcd98a2bbf53a223167a03d15d88421ba4c448c |
20-Dec-2017 |
Jake Wharton <jakew@google.com> |
Fix errant replacement.
raphics/Canvas.kt
|
183aa27822a3f32b38ceef6272d6141b3142611a |
20-Dec-2017 |
Chris Banes <chrisbanes@users.noreply.github.com> |
Merge pull request #34 from android/cb/prefs Add SharedPreferences.edit method
|
f82e3b8c6ae01068b515e283849b6278c9158be8 |
20-Dec-2017 |
Chris Banes <chrisbanes@google.com> |
Add SharedPreferences.edit method
ontent/SharedPreferences.kt
|
0d982aa0804867756a4908e5116e7fc30cb0c98a |
20-Dec-2017 |
Chris Banes <chrisbanes@users.noreply.github.com> |
Merge pull request #32 from android/cb/shader-extensions Add Shader.transform method
|
3bd46c28716bbe07b7ce2e6bfd62b714b41863fe |
20-Dec-2017 |
Chris Banes <chrisbanes@users.noreply.github.com> |
Merge pull request #31 from android/cb/rect-conversions Add toRect() and toRectF() methods
|
24ad80891d9bc4a2d7e5c869058aad73b9cb137e |
20-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Merge pull request #33 from android/rg/canvas-save Add Canvas.withSave extension
|
844ddd76e8bd39c8de0e8e286f2031732a12f983 |
20-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Add Canvas.withSave extension Automatically wraps a block with a save/restoreToCount pair: Canvas.withSave { drawLine(…) scale(…) // etc. }
raphics/Canvas.kt
|
7ff11d9024446da19124769410b836f19ffc17ff |
20-Dec-2017 |
Chris Banes <chrisbanes@google.com> |
Add Shader.transform method
raphics/Shader.kt
|
d6bedd882f59a1412d698495a10eb5c48d309c9e |
20-Dec-2017 |
Chris Banes <chrisbanes@users.noreply.github.com> |
Merge pull request #18 from android/cb/transitions Add extensions for TransitionListener
|
6f46c984a5f2c32f7cc14957c11c94ab01f05e63 |
20-Dec-2017 |
Chris Banes <chrisbanes@google.com> |
Add toRect() and toRectF() methods
raphics/Rect.kt
|
9da7da7872f28939d8ba81831af1b65b2d6e201e |
20-Dec-2017 |
Chris Banes <chrisbanes@google.com> |
New versions of postDelayed and related methods in View and Handler These allow the action/runnable to be declared outside of the method call parentheses.
s/Handler.kt
iew/View.kt
|
e6b74b20433f490ddcb25f9f7047e9cd7c1d945b |
19-Dec-2017 |
Chris Banes <chrisbanes@google.com> |
Add extensions for TransitionListener Added basic Activity to androidTest too.
ransition/Transition.kt
|
c19f50f4062fe32bc4a24cc2ec14810e438b66e9 |
20-Dec-2017 |
Chris Banes <chrisbanes@users.noreply.github.com> |
Merge pull request #14 from android/cb/animator Animator listener extensions
|
cac9f037c8616459ab96f21b7321ee9a2281a2e3 |
19-Dec-2017 |
Chris Banes <chrisbanes@google.com> |
Add tests for Animator extensions
nimation/Animator.kt
|
32d6032773a225813cccb06b4c3effd6a103c992 |
20-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Merge pull request #26 from android/rg/rect-and-point Rect and Point extensions
|
83b2c15760fabf039f11ef45d6af899b59296dbe |
20-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Rect and Point extensions Rect: - Restructuring - Union with other rects with + - Offset by point and scalars with + - Support for Point in Rect Point: - Destructuring - Offset by point and scalars with + - Negation with -
raphics/Point.kt
raphics/Rect.kt
|
604b7d0337a0b8fbccf10785f656426e12e18cd8 |
20-Dec-2017 |
Tiem Song <tiem@google.com> |
Rename and consolidate methods, localize variables.
iew/View.kt
iew/ViewGroup.kt
|
f9ae22906cf8632d53379f3c12328bfb41c418ff |
19-Dec-2017 |
Tiem Song <tiem@google.com> |
Add extensions to change all axes for margin and padding
iew/View.kt
iew/ViewGroup.kt
|
7a2cc1a5b31fdebdfabf422728bbc2d7a4e70417 |
19-Dec-2017 |
Tiem Song <tiembo@users.noreply.github.com> |
Merge pull request #21 from android/tiem/updateMargins Add updateMargins extension for ViewGroup.MarginLayoutParams
|
01d7478284a172c994d7165fee7adda2925da48c |
19-Dec-2017 |
Tiem Song <tiem@google.com> |
Move first param to new line
iew/ViewGroup.kt
|
21c7e01df5b8b4f7e40550bb40811f4725e23d78 |
19-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Use @receiver:ColorInt and properties
raphics/Color.kt
|
c2e8c482a93c235370940767595c892ec84c3310 |
19-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Color extensions Adds the following extensions: - Destructuring to android.graphics.Color - Int.toColor - Int.red/green/alpha/luminance
raphics/Color.kt
|
f135035c495d1174ba74a91372aad95870979bf6 |
19-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Color extensions Adds the following extensions: - Destructuring to android.graphics.Color - Int.toColor - Int.red/green/alpha/luminance
raphics/Color.kt
|
b94ac3778502247e6faa5030451b9462bdeccb14 |
19-Dec-2017 |
Tiem Song <tiem@google.com> |
Add updateMargins extension for ViewGroup.MarginLayoutParams
iew/ViewGroup.kt
|
3882df6abe1ca8805b45d41cd0c562771e28b372 |
19-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Fix conflicts
|
86bbe16550f109b902906b28c89cd4c496038759 |
19-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
Fix formatting issues
raphics/Canvas.kt
|
ee66d118fcf7873ef1d6d078d71920f8bac93e85 |
19-Dec-2017 |
Chris Banes <chrisbanes@users.noreply.github.com> |
Merge pull request #8 from chrisbanes/cb/view-extensions Add extensions for View
|
0a66bb4a32996a4ee7ba9485ee577115db9dfea5 |
19-Dec-2017 |
Romain Guy <romainguy@curious-creature.com> |
New Canvas extensions Adds the following extensions to Canvas: - withTranslation - withRotation - withScale - withSkew Each is equivalent to: val count = canvas.save() try { canvas.translate(…) // rotate, etc. } finally { canvas.restoreToCount(count) }
raphics/Canvas.kt
|
42c8396b4555fca8e681d19b8057eaf69506421e |
19-Dec-2017 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #16 from android/jakew/uri/2017-12-18 Add toUri String extension.
|
e5b93f3a42e52aba882a4b39e0acf14899a565f4 |
19-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add toUri String extension.
et/Uri.kt
|
899bf7932417009bc57bd81a8bca28526bea224f |
18-Dec-2017 |
Chris Banes <chrisbanes@google.com> |
Use inline for view extensions
iew/View.kt
|
9ddaf609c7c1fb5576a1576719be0c2b92123172 |
18-Dec-2017 |
Chris Banes <chrisbanes@google.com> |
Animator listener extensions
nimation/Animator.kt
|
d3c690bfb4e670a852944fc5732d928dcf3c1f88 |
18-Dec-2017 |
Jake Wharton <jakew@google.com> |
ArrayMap and ArraySet factories.
til/ArrayMap.kt
til/ArraySet.kt
|
d8c2773738b254442d7396b3ecb241ec4026f3b8 |
18-Dec-2017 |
Chris Banes <chrisbanes@google.com> |
Rename layout methods and tweak docs
iew/View.kt
|
d4b2692f32690dfcc5d06c8bed8aece0b34d247b |
18-Dec-2017 |
Chris Banes <chrisbanes@google.com> |
Add extensions for View
iew/View.kt
|
c4d097dea8dc698a1f68a494ab0c128c1de2e8c0 |
18-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add a spannable string builder. This is a designed in a similar way to the stdlib's buildString but with extension functions to simplify adding spans in a way that doesn't require index manipulation.
ext/SpannableStringBuilder.kt
|
5411b6ea7da3d887d87c1fba0e31116ea8bc81e0 |
13-Dec-2017 |
Jake Wharton <jakewharton@gmail.com> |
Merge pull request #5 from android/jakew/trace/2017-12-13 Add inline trace function which handles start/end calls.
|
8a80ee48bf03c908de6a27b5d3b2da7d7b249805 |
13-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add reified class lookup for system service.
ontent/Context.kt
|
5ae404ccde60f4d1b74170a6a618da280f93e35e |
13-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add inline trace function which handles start/end calls. As far as I can tell there is no good way of unit or integration testing this. The method body is simple enough, though, that it should not matter.
s/Trace.kt
|
430cc35c78354320de596251b6dd8fa9e48b96df |
13-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add destructuring and conversion for Pair.
til/Pair.kt
|
a08a95c2bc3c9b5630712e0d3dad87649d0730da |
12-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add collection-like extensions to ViewGroup.
iew/ViewGroup.kt
|
27063802f39448ed6871f8b3a2c5b29a49b50fc9 |
11-Dec-2017 |
Jake Wharton <jakew@google.com> |
Add simple extensions for Half conversion.
til/Half.kt
|