Home
last modified time | relevance | path

Searched refs:BuildCompat (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGuidedActionStylistTest.java31 import androidx.core.os.BuildCompat;
129 if (!BuildCompat.isAtLeastP()) { in testAutofillHintsOnTitle()
138 assertTrue(BuildCompat.isAtLeastP()); in testAutofillHintsOnTitle()
148 if (!BuildCompat.isAtLeastP()) { in testAutofillHintsOnNonEditableViews()
169 if (!BuildCompat.isAtLeastP()) { in testAutofillHintsOnDescription()
/frameworks/support/compat/src/main/java/androidx/core/content/pm/
DPermissionInfoCompat.java25 import androidx.core.os.BuildCompat;
73 if (BuildCompat.isAtLeastP()) { in getProtection()
86 if (BuildCompat.isAtLeastP()) { in getProtectionFlags()
DPackageInfoCompat.java22 import androidx.core.os.BuildCompat;
34 if (BuildCompat.isAtLeastP()) { in getLongVersionCode()
/frameworks/support/preference/src/main/java/androidx/preference/
DPreferenceCategory.java23 import androidx.core.os.BuildCompat;
72 if (BuildCompat.isAtLeastP()) { in onBindViewHolder()
80 if (!BuildCompat.isAtLeastP()) { in onInitializeAccessibilityNodeInfo()
/frameworks/support/compat/src/main/java/androidx/core/database/sqlite/
DSQLiteCursorCompat.java22 import androidx.core.os.BuildCompat;
45 if (BuildCompat.isAtLeastP()) { in setFillWindowForwardOnly()
/frameworks/support/development/refaster/
DIsAtLeastO.java18 import androidx.core.os.BuildCompat;
30 return BuildCompat.isAtLeastO(); in usingAtLeastO()
/frameworks/support/compat/src/main/java/androidx/core/os/
DBuildCompat.java25 public class BuildCompat { class
26 private BuildCompat() { in BuildCompat() method in BuildCompat
DHandlerCompat.java54 if (BuildCompat.isAtLeastP()) { in postDelayed()
/frameworks/support/compat/src/main/java/androidx/core/database/
DCursorWindowCompat.java24 import androidx.core.os.BuildCompat;
42 if (BuildCompat.isAtLeastP()) { in create()
/frameworks/support/media/src/main/java/androidx/media/
DMediaSessionManager.java27 import androidx.core.os.BuildCompat;
65 if (BuildCompat.isAtLeastP()) { in MediaSessionManager()
125 if (BuildCompat.isAtLeastP()) { in RemoteUserInfo()
/frameworks/support/compat/src/main/java/androidx/core/text/
DPrecomputedTextCompat.java35 import androidx.core.os.BuildCompat;
183 if (BuildCompat.isAtLeastP()) { in Params()
409 if (BuildCompat.isAtLeastP() && params.mWrapped != null) { in create()
483 if (BuildCompat.isAtLeastP()) { in getParagraphCount()
495 if (BuildCompat.isAtLeastP()) { in getParagraphStart()
507 if (BuildCompat.isAtLeastP()) { in getParagraphEnd()
540 if (BuildCompat.isAtLeastP()) { in setSpan()
556 if (BuildCompat.isAtLeastP()) { in removeSpan()
570 if (BuildCompat.isAtLeastP()) { in getSpans()
/frameworks/support/compat/src/main/java/androidx/core/view/
DMenuCompat.java24 import androidx.core.os.BuildCompat;
50 } else if (BuildCompat.isAtLeastP()) { in setGroupDividerEnabled()
/frameworks/support/webkit/src/main/java/androidx/webkit/internal/
DWebViewGlueCommunicator.java22 import androidx.core.os.BuildCompat;
101 if (BuildCompat.isAtLeastP()) { in getWebViewClassLoader()
/frameworks/support/slices/view/src/main/java/androidx/slice/
DSliceManager.java28 import androidx.core.os.BuildCompat;
47 if (BuildCompat.isAtLeastP()) { in getInstance()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAppCompatEditText.java35 import androidx.core.os.BuildCompat;
83 if (BuildCompat.isAtLeastP()) { in getText()
DAppCompatTextView.java37 import androidx.core.os.BuildCompat;
379 if (BuildCompat.isAtLeastP()) { in setFirstBaselineToTopHeight()
389 if (BuildCompat.isAtLeastP()) { in setLastBaselineToBottomHeight()
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/
DSliceManagerTest.java41 import androidx.core.os.BuildCompat;
119 if (BuildCompat.isAtLeastP()) { in testCallback()
143 if (BuildCompat.isAtLeastP()) { in testPinnedSpecs()
/frameworks/support/slices/core/src/main/java/androidx/slice/
DSliceProvider.java51 import androidx.core.os.BuildCompat;
152 if (BuildCompat.isAtLeastP()) { in getWrapper()
161 if (!BuildCompat.isAtLeastP()) { in onCreate()
DSlice.java60 import androidx.core.os.BuildCompat;
511 if (BuildCompat.isAtLeastP()) { in bindSlice()
/frameworks/support/compat/src/main/java/androidx/core/graphics/
DTypefaceCompat.java37 import androidx.core.os.BuildCompat;
50 if (BuildCompat.isAtLeastP()) {
/frameworks/support/compat/src/main/java/androidx/core/view/accessibility/
DAccessibilityNodeInfoCompat.java32 import androidx.core.os.BuildCompat;
436 new AccessibilityActionCompat(BuildCompat.isAtLeastP()
444 new AccessibilityActionCompat(BuildCompat.isAtLeastP()
3183 if (BuildCompat.isAtLeastP()) { in getTooltipText()
3205 if (BuildCompat.isAtLeastP()) { in setTooltipText()
3225 if (BuildCompat.isAtLeastP()) { in setPaneTitle()
3239 if (BuildCompat.isAtLeastP()) { in getPaneTitle()
3258 if (BuildCompat.isAtLeastP()) { in isScreenReaderFocusable()
3277 if (BuildCompat.isAtLeastP()) { in setScreenReaderFocusable()
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/
DIconCompat.java66 import androidx.core.os.BuildCompat;
680 if (BuildCompat.isAtLeastP()) { in getType()
708 if (BuildCompat.isAtLeastP()) { in getResPackage()
736 if (BuildCompat.isAtLeastP()) { in getResId()
764 if (BuildCompat.isAtLeastP()) { in getUri()
/frameworks/support/webkit/src/main/java/androidx/webkit/
DWebViewCompat.java32 import androidx.core.os.BuildCompat;
397 if (BuildCompat.isAtLeastP()) { in checkThread()
/frameworks/support/compat/src/main/java/androidx/core/text/util/
DLinkifyCompat.java38 import androidx.core.os.BuildCompat;
376 return BuildCompat.isAtLeastP(); in shouldAddLinksFallbackToFramework()
487 if (BuildCompat.isAtLeastP()) { in findAddress()
/frameworks/support/compat/src/main/java/androidx/core/widget/
DTextViewCompat.java47 import androidx.core.os.BuildCompat;
663 if (BuildCompat.isAtLeastP()) { in setFirstBaselineToTopHeight()

12