Searched refs:Config (Results 1 - 25 of 423) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/view/animation/
H A DBaseInterpolator.java19 import android.content.pm.ActivityInfo.Config;
25 private @Config int mChangingConfiguration;
29 public @Config int getChangingConfiguration() {
36 void setChangingConfiguration(@Config int changingConfiguration) {
/frameworks/base/core/java/android/util/
H A DConfig.java24 public final class Config { class
25 /** @hide */ public Config() {} method in class:Config
/frameworks/base/core/java/android/content/res/
H A DConstantState.java18 import android.content.pm.ActivityInfo.Config;
38 abstract public @Config int getChangingConfigurations();
H A DConfigurationBoundResourceCache.java19 import android.content.pm.ActivityInfo.Config;
47 public boolean shouldInvalidateEntry(ConstantState<T> entry, @Config int configChanges) {
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/config/
H A DConfigParser.kt28 private const val TAG: String = "Config"
32 fun writeToString(config: Config): String {
36 fun writeToFile(config: Config, outputPath: Path) {
42 fun parseFromString(inputText: String): Config? {
43 return gson.fromJson(inputText, Config.JsonData::class.java).toConfig()
46 fun loadFromFile(configPath: Path): Config? {
50 fun loadDefaultConfig(): Config? {
51 Log.v(TAG, "Using the default config '%s'", Config.DEFAULT_CONFIG_RES_PATH)
53 val inputStream = javaClass.getResourceAsStream(Config.DEFAULT_CONFIG_RES_PATH)
57 fun loadConfigOrFail(configPath: Path?): Config {
[all...]
/frameworks/compile/mclinker/include/mcld/Config/
H A DConfig.h1 //===- Config.h.in --------------------------------------------------------===//
17 #include <llvm/Config/config.h>
H A DTargets.def1 /*===- llvm/Config/Targets.def - MCLD Target Architectures ------*- C++ -*-===*\
31 #include <llvm/Config/Targets.def>
/frameworks/support/frameworks/support/samples/SupportEmojiDemos/src/main/java/com/example/android/support/text/emoji/
H A DEmojiCompatApplication.java31 Config.get().init(this);
/frameworks/support/samples/SupportEmojiDemos/src/main/java/com/example/android/support/text/emoji/
H A DEmojiCompatApplication.java31 Config.get().init(this);
/frameworks/opt/car/setupwizard/library/tests/robotests/src/com/android/car/setupwizardlib/robolectric/
H A DBaseRobolectricTest.java22 import org.robolectric.annotation.Config;
28 @Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DGridLayoutManagerCachedBordersTest.java39 public static List<Config> params() {
40 List<Config> testConfigurations = createBaseVariations();
45 private final Config mConfig;
47 public GridLayoutManagerCachedBordersTest(Config config) {
73 private static List<Config> cachedBordersTestConfigs() {
74 ArrayList<Config> configs = new ArrayList<>();
80 Config config = new Config(spanCounts[i], orientation, reverseLayout);
H A DLinearLayoutManagerResizeTest.java36 final Config mConfig;
38 public LinearLayoutManagerResizeTest(Config config) {
43 public static List<Config> testResize() throws Throwable {
44 List<Config> configs = new ArrayList<>();
45 for (Config config : addConfigVariation(createBaseVariations(), "mItemCount", 5
46 , Config.DEFAULT_ITEM_COUNT)) {
55 final Config config = (Config) mConfig.clone();
H A DLinearLayoutManagerSnappingTest.java41 final Config mConfig;
44 public LinearLayoutManagerSnappingTest(Config config, boolean reverseScroll) {
52 List<Config> configs = createBaseVariations();
53 for (Config config : configs) {
63 final Config config = (Config) mConfig.clone();
88 final Config config = (Config) mConfig.clone();
110 final Config config = (Config) mConfi
[all...]
H A DStaggeredGridLayoutManagerSnappingTest.java41 final Config mConfig;
44 public StaggeredGridLayoutManagerSnappingTest(Config config, boolean reverseScroll) {
52 List<Config> configs = createBaseVariations();
53 for (Config config : configs) {
64 final Config config = ((Config) mConfig.clone()).itemCount(10);
102 final Config config = (Config) mConfig.clone();
126 final Config config = (Config) mConfi
[all...]
H A DBaseGridLayoutManagerTest.java47 public RecyclerView setupBasic(Config config) throws Throwable {
51 public RecyclerView setupBasic(Config config, GridTestAdapter testAdapter) throws Throwable {
62 public static List<Config> createBaseVariations() {
63 List<Config> variations = new ArrayList<>();
67 variations.add(new Config(spanCount, orientation, reverseLayout));
74 protected static List<Config> addConfigVariation(List<Config> base, String fieldName,
77 List<Config> newConfigs = new ArrayList<Config>();
78 Field field = Config
106 static class Config implements Cloneable { class in class:BaseGridLayoutManagerTest
114 Config(int spanCount, int itemCount) { method in class:BaseGridLayoutManagerTest.Config
119 public Config(int spanCount, int orientation, boolean reverseLayout) { method in class:BaseGridLayoutManagerTest.Config
[all...]
H A DLinearLayoutManagerSavedStateTest.java40 final Config mConfig;
46 public LinearLayoutManagerSavedStateTest(Config config, boolean waitForLayout,
148 void onAfterRestore(Config config) throws Throwable {
155 boolean shouldLayoutMatch(Config config) {
166 void onAfterRestore(Config config) throws Throwable {
172 boolean shouldLayoutMatch(Config config) {
183 void onAfterRestore(Config config) throws Throwable {
189 boolean shouldLayoutMatch(Config config) {
200 void onAfterRestore(Config config) throws Throwable {
206 boolean shouldLayoutMatch(Config confi
[all...]
H A DGridLayoutManagerCacheTest.java41 final Config mConfig;
45 public GridLayoutManagerCacheTest(Config config, int dx, int dy) {
54 List<Config> configs = createBaseVariations();
55 for (Config config : configs) {
80 final Config config = (Config) mConfig.clone();
H A DLinearLayoutManagerCacheTest.java40 final Config mConfig;
44 public LinearLayoutManagerCacheTest(Config config, int dx, int dy) {
53 List<Config> configs = createBaseVariations();
54 for (Config config : configs) {
71 final Config config = (Config) mConfig.clone();
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DGraphicsPerformanceTests.java89 Bitmap.Config.RGB_565);
201 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565);
219 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565);
237 return Bitmap.createBitmap(31, 31, Bitmap.Config.RGB_565);
255 return Bitmap.createBitmap(63, 63, Bitmap.Config.RGB_565);
273 return Bitmap.createBitmap(127, 127, Bitmap.Config.RGB_565);
291 return Bitmap.createBitmap(319, 239, Bitmap.Config.RGB_565);
309 return Bitmap.createBitmap(319, 479, Bitmap.Config.RGB_565);
327 return Bitmap.createBitmap(8, 8, Bitmap.Config.RGB_565);
345 return Bitmap.createBitmap(16, 16, Bitmap.Config
[all...]
H A DBitmapTest.java28 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
29 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565);
30 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444);
56 assertTrue("getConfig", bm1.getConfig() == Bitmap.Config.ARGB_8888);
57 assertTrue("getConfig", bm2.getConfig() == Bitmap.Config.RGB_565);
58 assertTrue("getConfig", bm3.getConfig() == Bitmap.Config.ARGB_8888);
63 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
65 Bitmap.Config.ARGB_8888);
88 Bitmap.Config.ARGB_8888);
113 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config
[all...]
H A DThreadBitmapTest.java41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565);
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/drawable/
H A DDrawableTest.kt19 import android.graphics.Bitmap.Config
41 assertEquals(Config.ARGB_8888, bitmap.config)
51 val bitmap = drawable.toBitmap(config = Config.ARGB_8888)
54 assertEquals(Config.ARGB_8888, bitmap.config)
64 val bitmap = drawable.toBitmap(config = Config.ARGB_8888)
67 assertEquals(Config.ARGB_8888, bitmap.config)
80 assertEquals(Config.ARGB_8888, bitmap.config)
90 val bitmap = drawable.toBitmap(20, 20, Config.ARGB_8888)
93 assertEquals(Config.ARGB_8888, bitmap.config)
106 assertEquals(Config
[all...]
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
H A DGlifStyleTest.java43 import org.robolectric.annotation.Config;
46 @Config(sdk = {Config.OLDEST_SDK, Config.NEWEST_SDK})
73 @Config(sdk = Config.NEWEST_SDK)
/frameworks/opt/net/lowpan/tests/
H A Dscantest.sh24 echo "+ adb shell wpantund -I wpan5 -s 'system:ot-ncp\ 1' -o Config:Daemon:ExternalNetifManagement 1 &"
25 adb shell wpantund -I wpan5 -s 'system:ot-ncp\ 1' -o Config:Daemon:ExternalNetifManagement 1 &
27 echo "+ adb shell wpantund -I wpan6 -s 'system:ot-ncp\ 2' -o Config:Daemon:ExternalNetifManagement 1 &"
28 adb shell wpantund -I wpan6 -s 'system:ot-ncp\ 2' -o Config:Daemon:ExternalNetifManagement 1 &
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/
H A DBitmap.kt75 * can be optionally specified. If not, the default config is [Bitmap.Config.ARGB_8888].
79 * @param config The new bitmap's desired [config][Bitmap.Config]
86 config: Bitmap.Config = Bitmap.Config.ARGB_8888
94 * default to [Bitmap.Config.ARGB_8888], `true` and [sRGB][ColorSpace.Named.SRGB].
98 * @param config The new bitmap's desired [config][Bitmap.Config]
108 config: Bitmap.Config = Bitmap.Config.ARGB_8888,

Completed in 380 milliseconds

1234567891011>>