Deprecate BuildCompat#isAtLeastQ

And replace all internal usages

Bug: 130286398, 128747871
Test: run all tests
Change-Id: I1f92a101984eb9de25d20e9a5290d89198e01160
diff --git a/core/src/main/java/androidx/core/graphics/PaintCompat.java b/core/src/main/java/androidx/core/graphics/PaintCompat.java
index 5f424ea..0add3b7 100644
--- a/core/src/main/java/androidx/core/graphics/PaintCompat.java
+++ b/core/src/main/java/androidx/core/graphics/PaintCompat.java
@@ -30,7 +30,6 @@
 import androidx.annotation.Nullable;
 import androidx.annotation.RequiresApi;
 import androidx.annotation.VisibleForTesting;
-import androidx.core.os.BuildCompat;
 import androidx.core.util.Pair;
 
 /**
@@ -127,7 +126,7 @@
      * back to the default BlendMode
      */
     public static boolean setBlendMode(@NonNull Paint paint, @Nullable BlendModeCompat blendMode) {
-        if (BuildCompat.isAtLeastQ()) {
+        if (Build.VERSION.SDK_INT >= 29) {
             paint.setBlendMode(blendMode != null ? obtainBlendModeFromCompat(blendMode) : null);
             // All blend modes supported in Q
             return true;
@@ -160,7 +159,7 @@
      */
     public static boolean setBlendModeColorFilter(@NonNull Paint paint, @ColorInt int color,
                                                      @Nullable BlendModeCompat blendModeCompat) {
-        if (BuildCompat.isAtLeastQ()) {
+        if (Build.VERSION.SDK_INT >= 29) {
             BlendMode blendMode = obtainBlendModeFromCompat(blendModeCompat);
             if (blendMode != null) {
                 paint.setColorFilter(new BlendModeColorFilter(color, blendMode));