Searched refs:Config (Results 26 - 50 of 232) sorted by relevance

12345678910

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerCacheTest.java41 final Config mConfig;
45 public StaggeredGridLayoutManagerCacheTest(Config config, int dx, int dy) {
54 List<Config> configs = createBaseVariations();
55 for (Config config : configs) {
94 final Config config = (Config) mConfig.clone();
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 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.java53 private final Config mConfig;
55 public LinearLayoutManagerBaseConfigSetTest(Config config) {
61 public static List<Config> configs() throws CloneNotSupportedException {
62 List<Config> result = new ArrayList<>();
63 for (Config config : createBaseVariations()) {
71 Config config = ((Config) mConfig.clone()).itemCount(300);
155 final Config config = ((Config) mConfig.clone()).itemCount(300);
231 final Config confi
[all...]
H A DLinearLayoutManagerPrepareForDropTest.java38 final BaseLinearLayoutManagerTest.Config mConfig;
42 Config config, SelectTargetChildren selectTargetChildren) {
90 for (BaseLinearLayoutManagerTest.Config config : createBaseVariations()) {
101 final Config config = (Config) mConfig.clone();
H A DLinearLayoutManagerWrapContentTest.java19 import static android.support.v7.widget.BaseLinearLayoutManagerTest.Config;
42 Config mConfig;
44 public LinearLayoutManagerWrapContentTest(Config config,
127 new Config(orientation, reverseLayout, stackFromBottom),
133 new Config(orientation, reverseLayout, stackFromBottom),
H A DGridLayoutManagerCustomSizeInScrollDirectionTest.java44 new Config(3, HORIZONTAL, false), addDecorOffsets, addMargins});
46 new Config(3, VERTICAL, false), addDecorOffsets, addMargins});
54 private final Config mConfig;
56 public GridLayoutManagerCustomSizeInScrollDirectionTest(Config config, boolean addDecorOffsets,
H A DBaseStaggeredGridLayoutManagerTest.java44 protected static List<Config> createBaseVariations() {
45 List<Config> variations = new ArrayList<>();
52 variations.add(new Config(orientation, reverseLayout, spanCount,
63 protected static List<Config> addConfigVariation(List<Config> base, String fieldName,
66 List<Config> newConfigs = new ArrayList<Config>();
67 Field field = Config.class.getDeclaredField(fieldName);
68 for (Config config : base) {
70 Config newConfi
385 static class Config implements Cloneable { class in class:BaseStaggeredGridLayoutManagerTest
401 Config(int orientation, boolean reverseLayout, int spanCount, int gapStrategy) { method in class:BaseStaggeredGridLayoutManagerTest.Config
408 public Config() { method in class:BaseStaggeredGridLayoutManagerTest.Config
[all...]
H A DGridLayoutManagerBaseConfigSetTest.java37 public static List<Config> params() {
41 private final Config mConfig;
43 public GridLayoutManagerBaseConfigSetTest(Config config) {
49 Config config = (Config) mConfig.clone();
54 public void scrollBackAndPreservePositionsTest(final Config config) throws Throwable {
/frameworks/compile/mclinker/
H A Dmcld-device-build.mk9 -include $(MCLD_ROOT_PATH)/include/mcld/Config/Config.h \
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
H A DMffTestCase.java46 MffContext.Config config = new MffContext.Config();
/frameworks/base/core/java/android/content/res/
H A DThemedResourceCache.java21 import android.content.pm.ActivityInfo.Config;
119 public void onConfigurationChange(@Config int configChanges) {
196 private boolean prune(@Config int configChanges) {
215 @Config int configChanges) {
230 private boolean pruneEntryLocked(@Nullable T entry, @Config int configChanges) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameImage2D.java117 Bitmap.Config config = bitmap.getConfig();
121 if (config != Bitmap.Config.ARGB_8888) {
122 result = bitmap.copy(Bitmap.Config.ARGB_8888, false);
170 Bitmap.Config config = Bitmap.Config.ARGB_8888;
H A DMffContext.java50 public static class Config { class in class:MffContext
135 init(context, new Config());
154 public MffContext(Context context, Config config) {
339 private void init(Context context, Config config) {
347 private void fetchDummySurfaceView(Context context, Config config) {
355 private void determineGLSupport(Context context, Config config) {
367 private void determineCameraSupport(Config config) {
/frameworks/base/core/java/com/android/internal/util/
H A DImageUtils.java20 import android.graphics.Bitmap.Config;
66 COMPACT_BITMAP_SIZE, COMPACT_BITMAP_SIZE, Bitmap.Config.ARGB_8888
150 Bitmap result = Bitmap.createBitmap(scaledWidth, scaledHeight, Config.ARGB_8888);
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java204 * Config}, without affecting the underlying allocation backing the bitmap.
249 * @see #setConfig(Config)
251 public void reconfigure(int width, int height, Config config) {
270 * <p>Convenience method for calling {@link #reconfigure(int, int, Config)}
274 * the view system, see {@link #reconfigure(int, int, Config)} for more
277 * @see #reconfigure(int, int, Config)
279 * @see #setConfig(Config)
286 * <p>Convenience method for calling {@link #reconfigure(int, int, Config)}
290 * the view system, see {@link #reconfigure(int, int, Config)} for more
293 * @see #reconfigure(int, int, Config)
422 public enum Config { enum in class:Bitmap
487 Config(int ni) { method in class:Bitmap.Config
[all...]
H A DFontListParser.java37 public static class Config { class in class:FontListParser
38 Config() { method in class:FontListParser.Config
91 public static Config parse(InputStream in) throws XmlPullParserException, IOException {
102 private static Config readFamilies(XmlPullParser parser)
104 Config config = new Config();
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapFactoryTest.java34 new int[] { Color.BLUE }, 1, 1, Bitmap.Config.RGB_565);
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DCompareActivity.java67 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
68 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
83 mSoftwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
84 mHardwareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DStatusBar.java75 setBackgroundColor(color == 0 ? Config.getStatusBarColor(simulatedPlatformVersion) : color);
82 + Config.getWifiIconType(simulatedPlatformVersion), density);
84 setText(3, Config.getTime(simulatedPlatformVersion), false)
85 .setTextColor(Config.getTimeColor(simulatedPlatformVersion));
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DImageBuffersForRenderScript.java38 inputImage.getHeight(), Bitmap.Config.ARGB_8888);
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DImageRequest.java20 import android.graphics.Bitmap.Config;
46 private final Config mDecodeConfig;
73 ScaleType scaleType, Config decodeConfig, Response.ErrorListener errorListener) {
90 Config decodeConfig, Response.ErrorListener errorListener) {
/frameworks/volley/src/test/java/com/android/volley/toolbox/
H A DImageRequestTest.java20 import android.graphics.Bitmap.Config;
129 Config.RGB_565, null);
168 int.class, int.class, Bitmap.Config.class, Response.ErrorListener.class));
170 int.class, int.class, ImageView.ScaleType.class, Bitmap.Config.class,
/frameworks/volley/src/test/java/com/android/volley/
H A DRequestQueueTest.java27 import org.robolectric.annotation.Config;
37 @Config(shadows = {ShadowSystemClock.class})
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DGlifPatternDrawableTest.java45 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888);
63 final Bitmap bitmap = Bitmap.createBitmap(1366, 768, Bitmap.Config.ARGB_8888);
87 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8);
103 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8);
120 Bitmap mockBitmapCache = Bitmap.createBitmap(1366, 768, Bitmap.Config.ALPHA_8);
137 Bitmap mockBitmapCache = Bitmap.createBitmap(2049, 1152, Bitmap.Config.ALPHA_8);

Completed in 681 milliseconds

12345678910