/frameworks/base/core/java/android/animation/ |
Animator.java | 20 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) { 655 @Config int mChangingConf; 665 public @Config int getChangingConfigurations() {
|
StateListAnimator.java | 19 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/support/samples/SupportEmojiDemos/src/main/java/com/example/android/support/text/emoji/ |
Config.java | 33 class Config { 41 private static Config sInstance; 52 private Config() { 65 static synchronized Config get() { 67 sInstance = new Config(); 97 final EmojiCompat.Config config; local 106 config = new FontRequestEmojiCompatConfig(mContext, fontRequest); 108 config = new BundledEmojiCompatConfig(mContext); 111 config = new EmojiCompat.Config(new EmojiCompat.MetadataRepoLoader() [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowUserManagerTest.java | 26 import org.robolectric.annotation.Config; 42 @Config(minSdk = LOLLIPOP) 53 @Config(minSdk = JELLY_BEAN_MR2) 67 @Config(minSdk = N) 75 @Config(minSdk = LOLLIPOP) 86 @Config(minSdk = JELLY_BEAN_MR2) 103 @Config(minSdk = JELLY_BEAN_MR2) 115 @Config(minSdk = LOLLIPOP) 123 @Config(minSdk = LOLLIPOP) 143 @Config(minSdk = JELLY_BEAN_MR1 [all...] |
ShadowBitmapRegionDecoderTest.java | 23 import org.robolectric.annotation.Config; 26 @Config(qualifiers = "hdpi") 66 .isEqualTo(Bitmap.Config.ARGB_8888); 69 .isEqualTo(Bitmap.Config.ARGB_8888); 70 options.inPreferredConfig = Bitmap.Config.RGB_565; 72 .isEqualTo(Bitmap.Config.RGB_565);
|
ShadowJobSchedulerTest.java | 20 import org.robolectric.annotation.Config; 23 @Config(minSdk = LOLLIPOP) 112 @Config(minSdk = N) 128 @Config(minSdk = N) 145 @Config(minSdk = O) 158 @Config(minSdk = O)
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
PagerSnapHelperTest.java | 43 final Config mConfig; 46 public PagerSnapHelperTest(Config config, boolean reverseScroll) { 47 mConfig = config; 51 @Parameterized.Parameters(name = "config:{0},reverseScroll:{1}") 54 List<Config> configs = createBaseVariations(); 55 for (Config config : configs) { 57 result.add(new Object[]{config, reverseScroll}); 65 final Config config = (Config) mConfig.clone() local 91 final Config config = (Config) mConfig.clone(); local 121 final Config config = (Config) mConfig.clone(); local 158 final Config config = (Config) mConfig.clone(); local 170 final Config config = (Config) mConfig.clone(); local [all...] |
StaggeredGridLayoutManagerSavedStateTest.java | 39 private final Config mConfig; 45 Config config, boolean waitForLayout, boolean loadDataAfterRestore, 47 this.mConfig = (Config) config.clone(); 56 @Parameterized.Parameters(name = "config={0},waitForLayout={1},loadDataAfterRestore={2}" 59 List<Config> variations = createBaseVariations(); 117 List<Config> testVariations = new ArrayList<Config>(); 119 for (Config config : variations) [all...] |
BaseLinearLayoutManagerTest.java | 54 protected static List<Config> createBaseVariations() { 55 List<Config> variations = new ArrayList<>(); 61 new Config(orientation, reverseLayout, stackFromBottom).wrap(wrap)); 73 protected static List<Config> addConfigVariation(List<Config> base, String fieldName, 76 List<Config> newConfigs = new ArrayList<Config>(); 77 Field field = Config.class.getDeclaredField(fieldName); 78 for (Config config : base) [all...] |
StaggeredGridLayoutManagerCacheTest.java | 42 final Config mConfig; 46 public StaggeredGridLayoutManagerCacheTest(Config config, int dx, int dy) { 47 mConfig = config; 52 @Parameterized.Parameters(name = "config:{0},dx:{1},dy:{2}") 55 List<Config> configs = createBaseVariations(); 56 for (Config config : configs) { 59 result.add(new Object[]{config, dx, dy}); 95 final Config config = (Config) mConfig.clone() local [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
HardwareBitmapTests.java | 66 options.inPreferredConfig = Bitmap.Config.HARDWARE; 100 assertEquals(Bitmap.Config.HARDWARE, hardwareBitmap.getConfig()); 110 assertEquals(Bitmap.Config.HARDWARE, hardwareBitmap.getConfig()); 120 Bitmap.Config.ARGB_8888); 130 assertEquals(Bitmap.Config.HARDWARE, hardwareBitmap.getConfig()); 141 Bitmap.Config.ARGB_8888); 159 Bitmap scaled = Bitmap.createBitmap(picture, 24, 24, Bitmap.Config.HARDWARE); 161 assertEquals(Bitmap.Config.HARDWARE, scaled.getConfig()); 181 testBitmapCopy(R.drawable.robot, Bitmap.Config.RGB_565, Bitmap.Config.HARDWARE) [all...] |
XfermodeTest.java | 59 public static class Config { 64 Config(boolean hardwareAccelerated, Object[] modeAndExpectedColors) { 76 public static List<XfermodeTest.Config> configs(Object[][] modesAndExpectedColors) { 77 List<XfermodeTest.Config> configs = new ArrayList<>(); 80 configs.add(new XfermodeTest.Config(hardwareAccelerated, modeAndExpectedColors)); 137 public static List<Config> configs() { 141 private final Config mConfig; 143 public XfermodeTest(Config config) { 144 mConfig = config; [all...] |
/external/mesa3d/src/egl/main/ |
eglcontext.c | 499 ctx->Config = conf; 510 if (err == EGL_SUCCESS && ctx->Config) { 514 if (!(ctx->Config->RenderableType & api_bit)) { 515 _eglLog(_EGL_DEBUG, "context api is 0x%x while config supports 0x%x", 516 api_bit, ctx->Config->RenderableType); 562 *value = c->Config ? c->Config->ConfigID : 0; 652 /* If the context has a config then it must match that of the two 654 if (ctx->Config) { 655 if ((draw && draw->Config != ctx->Config) | [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/ |
tf2xla_util_test.cc | 41 tf2xla::Config config; local 42 tf2xla::Feed* feed = config.add_feed(); 46 feed = config.add_feed(); 49 tf2xla::Fetch* fetch = config.add_fetch(); 53 fetch = config.add_fetch(); 56 TF_EXPECT_OK(ValidateConfig(config)); 60 tf2xla::Config config; local 61 ExpectErrorContains(ValidateConfig(config), "fetches must be specified") 65 tf2xla::Config config; local 72 tf2xla::Config config; local 78 tf2xla::Config config; local 86 tf2xla::Config config; local 94 tf2xla::Config config; local 104 tf2xla::Config config; local 115 tf2xla::Config config; local 128 tf2xla::Config config; local 139 tf2xla::Config config; local 152 tf2xla::Config config; local [all...] |
/external/v8/tools/release/ |
create_release.py | 101 TextToFile(output, self.Config("CHANGELOG_ENTRY_FILE")) 117 AppendToFile(body, self.Config("CHANGELOG_ENTRY_FILE")) 123 AppendToFile(msg, self.Config("CHANGELOG_ENTRY_FILE")) 127 AppendToFile(comment_body, self.Config("CHANGELOG_ENTRY_FILE")) 138 self.Editor(self.Config("CHANGELOG_ENTRY_FILE")) 141 changelog_entry = FileToText(self.Config("CHANGELOG_ENTRY_FILE")).rstrip() 150 TextToFile(changelog_entry, self.Config("CHANGELOG_ENTRY_FILE")) 179 changelog_entry = FileToText(self.Config("CHANGELOG_ENTRY_FILE")) 210 text = FileToText(self.Config("CHANGELOG_ENTRY_FILE")) 225 TextToFile(text, self.Config("COMMITMSG_FILE") [all...] |
/external/webrtc/webrtc/call/ |
call_perf_tests.cc | 22 #include "webrtc/config.h" 55 void TestCaptureNtpTime(const FakeNetworkPipe::Config& net_config, 235 Config voe_config; 242 AudioState::Config send_audio_state_config; 244 Call::Config sender_config; 246 Call::Config receiver_config; 253 FakeNetworkPipe::Config net_config; 278 FakeNetworkPipe::Config()); 282 FakeNetworkPipe::Config()); 290 AudioSendStream::Config audio_send_config(&audio_send_transport) 714 Call::Config config = EndToEndTest::GetSenderCallConfig(); local [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/ |
Dhcp6Driver.c | 53 EFI_UDP6_CONFIG_DATA *Config;
56 Config = &(UdpIo->Config.Udp6);
58 ZeroMem (Config, sizeof (EFI_UDP6_CONFIG_DATA));
63 Config->AcceptPromiscuous = FALSE;
64 Config->AcceptAnyPort = FALSE;
65 Config->AllowDuplicatePort = FALSE;
66 Config->TrafficClass = 0;
67 Config->HopLimit = 128;
68 Config->ReceiveTimeout = 0; [all...] |
/external/boringssl/src/ssl/test/runner/ |
runner.go | 66 shimConfigFile = flag.String("shim-config", "", "A config file to use to configure the tests for this shim.") 72 // config file. 328 config Config 393 // resumeConfig, if not nil, points to a Config to be used on 397 // config. If nil, the initial connection's config is used. 398 resumeConfig *Config 526 func doExchange(test *testCase, config *Config, conn net.Conn, isResume bool, transcriptPrefix string, num int) error [all...] |
/art/build/ |
makevars.go | 33 ctx.Strict("LIBART_IMG_HOST_BASE_ADDRESS", ctx.Config().LibartImgHostBaseAddress()) 34 ctx.Strict("LIBART_IMG_TARGET_BASE_ADDRESS", ctx.Config().LibartImgDeviceBaseAddress()) 36 testMap := testMap(ctx.Config())
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CreateBitmap.java | 78 Bitmap.Config.ARGB_8888); 80 Bitmap.Config.RGB_565); 82 Bitmap.Config.ARGB_4444); 86 Bitmap.Config.ARGB_8888); 88 Bitmap.Config.RGB_565); 90 Bitmap.Config.ARGB_4444);
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/ |
BitmapTest.kt | 30 assertEquals(Bitmap.Config.ARGB_8888, bitmap.config) 34 val bitmap = createBitmap(7, 9, config = Bitmap.Config.RGB_565) 35 assertEquals(Bitmap.Config.RGB_565, bitmap.config)
|
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/drawable/ |
Drawable.kt | 20 import android.graphics.Bitmap.Config 33 * If this instance is a [BitmapDrawable] and the [width], [height], and [config] match, the 39 * @param config Bitmap config of the desired bitmap. Null attempts to use the native config, if 40 * any. Defaults to [Config.ARGB_8888] otherwise. 45 config: Config? = null 48 if (config == null || bitmap.config == config) [all...] |
/frameworks/support/jetifier/jetifier/gradle-plugin/src/main/kotlin/com/android/tools/build/jetifier/plugin/gradle/ |
TasksCommon.kt | 19 import com.android.tools.build.jetifier.core.config.Config 35 config: Config, 47 val processor = Processor.createProcessor(config) 51 fun shouldSkipArtifact(artifactId: String, groupId: String?, config: Config): Boolean { 52 return config.pomRewriteRules.any {
|
/frameworks/support/jetifier/jetifier/preprocessor/src/main/kotlin/com/android/tools/build/jetifier/preprocessor/ |
ConfigGenerator.kt | 19 import com.android.tools.build.jetifier.core.config.Config 20 import com.android.tools.build.jetifier.core.config.ConfigParser 46 "# To make some changes in the configuration edit \"default.config\" and run\n" + 51 config: Config, 55 val mapper = LibraryMapGenerator(config) 68 val map = mapper.generateMap().mergeWith(config.typesMap) 70 val newConfig = config.setNewMap(map) 75 private fun saveConfigToFile(configToSave: Config, outputFile: File) [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
lower.go | 10 applyRewrite(f, f.Config.lowerBlock, f.Config.lowerValue) 27 if f.Config.hasGReg {
|