Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 155b91d0ae49eb59c4edf3991e4ebad99bb5e3f6
Author: Chet Haase <chet@google.com>
Date: Mon Dec 05 17:26:19 2022
Add times and div operator extension functions to Ktx Point class
Bug: 261574780
Test: Added/ran new times/div tests in PointTest.kt
Relnote: Added times/div operator overloads for Point and PointF
Change-Id: I8e5579574ad55a39714d3c9aea2840bc21ee31c5
M core/core-ktx/api/current.txt
M core/core-ktx/api/public_plus_experimental_current.txt
M core/core-ktx/api/restricted_current.txt
M core/core-ktx/src/androidTest/java/androidx/core/graphics/PointTest.kt
M core/core-ktx/src/main/java/androidx/core/graphics/Point.kt
https://android-review.googlesource.com/2329022
Branch: androidx-main
commit 155b91d0ae49eb59c4edf3991e4ebad99bb5e3f6
Author: Chet Haase <chet@google.com>
Date: Mon Dec 05 17:26:19 2022
Add times and div operator extension functions to Ktx Point class
Bug: 261574780
Test: Added/ran new times/div tests in PointTest.kt
Relnote: Added times/div operator overloads for Point and PointF
Change-Id: I8e5579574ad55a39714d3c9aea2840bc21ee31c5
M core/core-ktx/api/current.txt
M core/core-ktx/api/public_plus_experimental_current.txt
M core/core-ktx/api/restricted_current.txt
M core/core-ktx/src/androidTest/java/androidx/core/graphics/PointTest.kt
M core/core-ktx/src/main/java/androidx/core/graphics/Point.kt
ch...@google.com <ch...@google.com>
na...@google.com <na...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.core:core-ktx:1.10.0-alpha01
[Deleted User] <[Deleted User]> #4
Watt-hour
Description
I've found the need/utility for PointF overloads that handle * and /, specifically for multiplying and dividing points by scalar values. Rather than add these to my library (and presumably others that might also need them), we should add them to the general overload utilities that we already offer in Ktx (minus, plus, etc).
Component used: androidx.core.core-ktx Version used: 1.9.0