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

123456789

/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/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerCachedBordersTest.java36 public static List<Config> params() {
37 List<Config> testConfigurations = createBaseVariations();
42 private final Config mConfig;
44 public GridLayoutManagerCachedBordersTest(Config config) {
68 private static List<Config> cachedBordersTestConfigs() {
69 ArrayList<Config> configs = new ArrayList<Config>();
75 Config config = new Config(spanCounts[i], orientation, reverseLayout);
H A DLinearLayoutManagerResizeTest.java38 final Config mConfig;
40 public LinearLayoutManagerResizeTest(Config config) {
45 public static List<Config> testResize() throws Throwable {
46 List<Config> configs = new ArrayList<>();
47 for (Config config : addConfigVariation(createBaseVariations(), "mItemCount", 5
48 , Config.DEFAULT_ITEM_COUNT)) {
57 final Config config = (Config) mConfig.clone();
H A DLinearLayoutManagerSavedStateTest.java39 final Config mConfig;
45 public LinearLayoutManagerSavedStateTest(Config config, boolean waitForLayout,
147 void onAfterRestore(Config config) throws Throwable {
154 boolean shouldLayoutMatch(Config config) {
165 void onAfterRestore(Config config) throws Throwable {
171 boolean shouldLayoutMatch(Config config) {
182 void onAfterRestore(Config config) throws Throwable {
188 boolean shouldLayoutMatch(Config config) {
199 void onAfterRestore(Config config) throws Throwable {
205 boolean shouldLayoutMatch(Config confi
[all...]
H A DBaseGridLayoutManagerTest.java43 public RecyclerView setupBasic(Config config) throws Throwable {
47 public RecyclerView setupBasic(Config config, GridTestAdapter testAdapter) throws Throwable {
58 public static List<Config> createBaseVariations() {
59 List<Config> variations = new ArrayList<>();
63 variations.add(new Config(spanCount, orientation, reverseLayout));
87 static class Config implements Cloneable { class in class:BaseGridLayoutManagerTest
95 Config(int spanCount, int itemCount) { method in class:BaseGridLayoutManagerTest.Config
100 public Config(int spanCount, int orientation, boolean reverseLayout) { method in class:BaseGridLayoutManagerTest.Config
106 Config orientation(int orientation) {
113 return "Config{"
[all...]
H A DStaggeredGridLayoutManagerSavedStateTest.java39 private final Config mConfig;
45 Config config, boolean waitForLayout, boolean loadDataAfterRestore,
47 this.mConfig = (Config) config.clone();
59 List<Config> variations = createBaseVariations();
117 List<Config> testVariations = new ArrayList<Config>();
119 for (Config config : variations) {
123 final Config clone = (Config) config.clone();
129 for (Config confi
[all...]
H A DLinearLayoutManagerTest.java63 new Config().orientation(VERTICAL).stackFromBottom(false).reverseLayout(
70 new Config().orientation(VERTICAL).stackFromBottom(false).reverseLayout(true), 100,
77 new Config().orientation(VERTICAL).stackFromBottom(true).reverseLayout(false), 100,
84 new Config().orientation(VERTICAL).stackFromBottom(true).reverseLayout(true), 100,
91 new Config().orientation(HORIZONTAL).stackFromBottom(false).reverseLayout(
98 new Config().orientation(HORIZONTAL).stackFromBottom(false).reverseLayout(true),
105 new Config().orientation(HORIZONTAL).stackFromBottom(true).reverseLayout(false),
112 new Config().orientation(HORIZONTAL).stackFromBottom(true).reverseLayout(true), 100,
121 public void removeAnchorItemTest(final Config config, int adapterSize,
209 setupByConfig(new Config(VERTICA
[all...]
H A DStaggeredGridLayoutManagerGapTest.java36 private final Config mConfig;
40 public StaggeredGridLayoutManagerGapTest(Config config, int deletePosition, int deleteCount) {
48 List<Config> variations = createBaseVariations();
50 for (Config config : variations) {
H A DBaseLinearLayoutManagerTest.java48 protected static List<Config> createBaseVariations() {
49 List<Config> variations = new ArrayList<>();
55 new Config(orientation, reverseLayout, stackFromBottom).wrap(wrap));
67 protected static List<Config> addConfigVariation(List<Config> base, String fieldName,
70 List<Config> newConfigs = new ArrayList<Config>();
71 Field field = Config.class.getDeclaredField(fieldName);
72 for (Config config : base) {
74 Config newConfi
257 static class Config implements Cloneable { class in class:BaseLinearLayoutManagerTest
275 Config(int orientation, boolean reverseLayout, boolean stackFromEnd) { method in class:BaseLinearLayoutManagerTest.Config
281 public Config() { method in class:BaseLinearLayoutManagerTest.Config
[all...]
H A DStaggeredGridLayoutManagerTest.java68 setupByConfig(new Config(VERTICAL, false, 3, GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS));
81 setupByConfig(new Config(VERTICAL, false, 3, GAP_HANDLING_NONE).itemCount(300));
93 setupByConfig(new Config(VERTICAL, true, 3, GAP_HANDLING_NONE).itemCount(300));
105 setupByConfig(new Config(VERTICAL, false, 3, GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS));
114 setupByConfig(new Config(VERTICAL, false, 2, GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS)
155 new Config(HORIZONTAL, false, 3, GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS));
161 new Config(VERTICAL, false, 3, GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS));
164 public void customSizeInScrollDirectionTest(final Config config) throws Throwable {
216 Config config = new Config(VERTICA
[all...]
H A DLinearLayoutManagerBaseConfigSetTest.java59 private final Config mConfig;
61 public LinearLayoutManagerBaseConfigSetTest(Config config) {
67 public static List<Config> configs() throws CloneNotSupportedException {
68 List<Config> result = new ArrayList<>();
69 for (Config config : createBaseVariations()) {
77 Config config = ((Config) mConfig.clone()).itemCount(300);
161 final Config config = ((Config) mConfig.clone()).itemCount(300);
237 final Config confi
[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/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java27 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
28 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565);
29 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444);
55 assertTrue("getConfig", bm1.getConfig() == Bitmap.Config.ARGB_8888);
56 assertTrue("getConfig", bm2.getConfig() == Bitmap.Config.RGB_565);
57 assertTrue("getConfig", bm3.getConfig() == Bitmap.Config.ARGB_4444);
62 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
64 Bitmap.Config.ARGB_8888);
87 Bitmap.Config.ARGB_8888);
112 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config
[all...]
H A DGraphicsPerformanceTests.java93 Bitmap.Config.RGB_565);
205 return Bitmap.createBitmap(7, 7, Bitmap.Config.RGB_565);
223 return Bitmap.createBitmap(15, 15, Bitmap.Config.RGB_565);
241 return Bitmap.createBitmap(31, 31, Bitmap.Config.RGB_565);
259 return Bitmap.createBitmap(63, 63, Bitmap.Config.RGB_565);
277 return Bitmap.createBitmap(127, 127, Bitmap.Config.RGB_565);
295 return Bitmap.createBitmap(319, 239, Bitmap.Config.RGB_565);
313 return Bitmap.createBitmap(319, 479, Bitmap.Config.RGB_565);
331 return Bitmap.createBitmap(8, 8, Bitmap.Config.RGB_565);
349 return Bitmap.createBitmap(16, 16, Bitmap.Config
[all...]
H A DThreadBitmapTest.java41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565);
/frameworks/compile/mclinker/
H A Dmcld-host-build.mk4 -include $(MCLD_ROOT_PATH)/include/mcld/Config/Config.h \
H A Dmcld-device-build.mk9 -include $(MCLD_ROOT_PATH)/include/mcld/Config/Config.h \
/frameworks/rs/java/tests/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;
/frameworks/base/core/java/android/animation/
H A DAnimator.java20 import android.content.pm.ActivityInfo.Config;
55 @Config int mChangingConfigurations = 0;
349 public @Config int getChangingConfigurations() {
363 public void setChangingConfigurations(@Config int configs) {
373 public void appendChangingConfigurations(@Config int configs) {
573 @Config int mChangingConf;
583 public @Config int getChangingConfigurations() {
H A DStateListAnimator.java19 import android.content.pm.ActivityInfo.Config;
57 private @Config int mChangingConfigurations;
227 public @Config int getChangingConfigurations() {
241 public void setChangingConfigurations(@Config int configs) {
251 public void appendChangingConfigurations(@Config int configs) {
313 @Config int mChangingConf;
322 public @Config int getChangingConfigurations() {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
H A DMffTestCase.java46 MffContext.Config config = new MffContext.Config();

Completed in 349 milliseconds

123456789