Searched refs:Config (Results 1 - 25 of 326) 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/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/com/example/android/support/text/emoji/
H A DEmojiCompatApplication.java31 Config.get().init(this);
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
H A DEmojiCompatApplication.java31 Config.get().init(this);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/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.java40 final Config mConfig;
43 public LinearLayoutManagerSnappingTest(Config config, boolean reverseScroll) {
51 List<Config> configs = createBaseVariations();
52 for (Config config : configs) {
62 final Config config = (Config) mConfig.clone();
87 final Config config = (Config) mConfig.clone();
109 final Config config = (Config) mConfi
[all...]
H A DStaggeredGridLayoutManagerSnappingTest.java40 final Config mConfig;
43 public StaggeredGridLayoutManagerSnappingTest(Config config, boolean reverseScroll) {
51 List<Config> configs = createBaseVariations();
52 for (Config config : configs) {
63 final Config config = ((Config) mConfig.clone()).itemCount(10);
101 final Config config = (Config) mConfig.clone();
125 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 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/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
H A DSuwLibRobolectricTestRunner.java23 import org.robolectric.annotation.Config;
35 private void updateModuleRootPath(Config config) {
46 protected Config buildGlobalConfig() {
47 Config parent = super.buildGlobalConfig();
49 return new Config.Builder(parent)
55 protected ManifestFactory getManifestFactory(Config config) {
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
H A DGlifStyleTest.java37 import org.robolectric.annotation.Config;
40 @Config(constants = BuildConfig.class, sdk = {Config.OLDEST_SDK, Config.NEWEST_SDK})
/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/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
H A DSettingLibRobolectricTestRunner.java20 import org.robolectric.annotation.Config;
31 protected AndroidManifest getAppManifest(Config config) {
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawable/
H A DUserIconDrawableTest.java29 import org.robolectric.annotation.Config;
34 @Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
/frameworks/opt/setupwizard/library/full-support/test/robotest/src/com/android/setupwizardlib/template/
H A DRecyclerViewScrollHandlingDelegateTest.java39 import org.robolectric.annotation.Config;
41 @Config(constants = BuildConfig.class, sdk = { Config.OLDEST_SDK, Config.NEWEST_SDK })
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/
H A DScrollViewScrollHandlingDelegateTest.java37 import org.robolectric.annotation.Config;
39 @Config(constants = BuildConfig.class, sdk = { Config.OLDEST_SDK, Config.NEWEST_SDK })
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
H A DRSTest_v11.java29 import android.util.Config;
45 private static final boolean LOG_ENABLED = DEBUG ? Config.LOGD : Config.LOGV;

Completed in 1934 milliseconds

1234567891011>>