Home
last modified time | relevance | path

Searched refs:shadow (Results 1 – 25 of 955) sorted by relevance

12345678910>>...39

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDisplayTest.java24 private ShadowDisplay shadow; field in ShadowDisplayTest
29 shadow = Shadows.shadowOf(display); in setUp()
34 shadow.setDensity(1.5f); in shouldProvideDisplayMetrics()
35 shadow.setDensityDpi(DisplayMetrics.DENSITY_HIGH); in shouldProvideDisplayMetrics()
36 shadow.setScaledDensity(1.6f); in shouldProvideDisplayMetrics()
37 shadow.setWidth(1024); in shouldProvideDisplayMetrics()
38 shadow.setHeight(600); in shouldProvideDisplayMetrics()
39 shadow.setRealWidth(1400); in shouldProvideDisplayMetrics()
40 shadow.setRealHeight(900); in shouldProvideDisplayMetrics()
41 shadow.setXdpi(183.0f); in shouldProvideDisplayMetrics()
[all …]
DShadowAccessibilityNodeInfoTest.java27 private ShadowAccessibilityNodeInfo shadow; field in ShadowAccessibilityNodeInfoTest
82 shadow = shadowOf(node); in shouldNotHaveInfiniteLoopWithDifferentLoopedChildren()
84 shadow.addChild(child1); in shouldNotHaveInfiniteLoopWithDifferentLoopedChildren()
102 shadow = shadowOf(node); in shouldRecordFlagsProperly()
103 shadow.setPasteable(false); in shouldRecordFlagsProperly()
104 assertThat(shadow.isClickable()).isEqualTo(false); in shouldRecordFlagsProperly()
105 assertThat(shadow.isPasteable()).isEqualTo(false); in shouldRecordFlagsProperly()
107 shadow.setTextSelectionSetable(true); in shouldRecordFlagsProperly()
108 shadow.addAction(AccessibilityNodeInfo.ACTION_SET_SELECTION); in shouldRecordFlagsProperly()
110 assertThat(shadow.getActions()).isEqualTo(AccessibilityNodeInfo.ACTION_SET_SELECTION); in shouldRecordFlagsProperly()
[all …]
DShadowContentProviderOperationTest.java28 ShadowContentProviderOperation shadow = Shadows.shadowOf(op); in reflectionShouldWork() local
29 assertThat(shadow.getType()).isEqualTo(ShadowContentProviderOperation.TYPE_INSERT); in reflectionShouldWork()
30 assertThat(shadow.getContentValues().getAsString("insertKey")).isEqualTo("insertValue"); in reflectionShouldWork()
31 assertThat(shadow.getValuesBackReferences().getAsInteger("backKey")).isEqualTo(2); in reflectionShouldWork()
40 shadow = Shadows.shadowOf(op); in reflectionShouldWork()
41 assertThat(shadow.getType()).isEqualTo(ShadowContentProviderOperation.TYPE_UPDATE); in reflectionShouldWork()
42 assertThat(shadow.getContentValues().getAsString("updateKey")).isEqualTo("updateValue"); in reflectionShouldWork()
43 assertThat(shadow.getSelection()).isEqualTo("a=? and b=?"); in reflectionShouldWork()
44 assertThat(shadow.getSelectionArgs()).asList().containsExactly("abc"); in reflectionShouldWork()
45 …assertThat(shadow.getSelectionArgsBackReferences()).isEqualTo(Collections.<Integer, Integer>single… in reflectionShouldWork()
[all …]
DShadowProgressDialogTest.java19 private ShadowProgressDialog shadow; field in ShadowProgressDialogTest
24 shadow = Shadows.shadowOf(dialog); in setUp()
29 assertThat(shadow).isInstanceOf(ShadowAlertDialog.class); in shouldExtendAlertDialog()
35 shadow.callOnCreate(null); in shouldPutTheMessageIntoTheView()
37 View dialogView = shadow.getView(); in shouldPutTheMessageIntoTheView()
40 assertThat(shadowOf(shadow.getView()).innerText()).contains(message); in shouldPutTheMessageIntoTheView()
72 assertThat(shadow.getProgressStyle()).isEqualTo(ProgressDialog.STYLE_SPINNER); in shouldGetProgressStyle()
75 assertThat(shadow.getProgressStyle()).isEqualTo(ProgressDialog.STYLE_HORIZONTAL); in shouldGetProgressStyle()
78 assertThat(shadow.getProgressStyle()).isEqualTo(ProgressDialog.STYLE_SPINNER); in shouldGetProgressStyle()
84 shadow.callOnCreate(null); in horizontalStyle_shouldGetMessage()
[all …]
DShadowSensorManagerTest.java28 private ShadowSensorManager shadow; field in ShadowSensorManagerTest
35 shadow = shadowOf(sensorManager); in setUp()
41 shadow = null; in tearDown()
58 assertThat(shadow.hasListener(listener)).isTrue(); in shouldReturnHasListenerAfterRegisteringListener()
74 assertThat(shadow.hasListener(listener)).isFalse(); in shouldReturnHasNoListenerAfterUnregisterListener()
82 assertThat(shadow.hasListener(listener)).isFalse(); in shouldReturnHasNoListenerAfterUnregisterListenerWithoutSpecificSensor()
89 assertThat(shadow.hasListener(listener)).isFalse(); in shouldReturnHasNoListenerByDefault()
97 SensorEvent event = shadow.createSensorEvent(); in shouldSendSensorEventToSingleRegisteredListener()
101 shadow.sendSensorEventToListeners(event); in shouldSendSensorEventToSingleRegisteredListener()
113 SensorEvent event = shadow.createSensorEvent(); in shouldSendSensorEventToMultipleRegisteredListeners()
[all …]
DShadowSslErrorHandlerTest.java11 import org.robolectric.shadow.api.Shadow;
17 private ShadowSslErrorHandler shadow; field in ShadowSslErrorHandlerTest
22 shadow = Shadows.shadowOf(handler); in setUp()
27 assertThat(shadow).isInstanceOf(ShadowHandler.class); in shouldInheritFromShadowHandler()
32 assertThat(shadow.wasCancelCalled()).isFalse(); in shouldRecordCancel()
34 assertThat(shadow.wasCancelCalled()).isTrue(); in shouldRecordCancel()
39 assertThat(shadow.wasProceedCalled()).isFalse(); in shouldRecordProceed()
41 assertThat(shadow.wasProceedCalled()).isTrue(); in shouldRecordProceed()
DShadowInputMethodManagerTest.java24 private ShadowInputMethodManager shadow; field in ShadowInputMethodManagerTest
32 shadow = Shadows.shadowOf(manager); in setUp()
37 assertThat(shadow.isSoftInputVisible()).isFalse(); in shouldRecordSoftInputVisibility()
40 assertThat(shadow.isSoftInputVisible()).isTrue(); in shouldRecordSoftInputVisibility()
43 assertThat(shadow.isSoftInputVisible()).isFalse(); in shouldRecordSoftInputVisibility()
66 assertThat(shadow.isSoftInputVisible()).isFalse(); in shouldToggleSoftInputVisibility()
69 assertThat(shadow.isSoftInputVisible()).isTrue(); in shouldToggleSoftInputVisibility()
72 assertThat(shadow.isSoftInputVisible()).isFalse(); in shouldToggleSoftInputVisibility()
79 shadow.setSoftInputVisibilityHandler(mockHandler); in shouldNotifyHandlerWhenVisibilityChanged()
80 assertThat(shadow.isSoftInputVisible()).isFalse(); in shouldNotifyHandlerWhenVisibilityChanged()
DShadowAccessibilityWindowInfoTest.java19 private ShadowAccessibilityWindowInfo shadow; field in ShadowAccessibilityWindowInfoTest
27 shadow = shadowOf(window); in setUp()
32 assertThat(shadow.getRoot() == null).isEqualTo(true); in shouldNotHaveRootNode()
38 shadow.setRoot(node); in shouldHaveAssignedRoot()
39 assertThat(shadow.getRoot()).isEqualTo(node); in shouldHaveAssignedRoot()
44 assertThat(shadow.getTitle()).isNull(); in testSetTitle()
46 shadow.setTitle(title); in testSetTitle()
47 assertThat(shadow.getTitle()).isEqualTo(title); in testSetTitle()
DShadowPendingIntentTest.java43 ShadowPendingIntent shadow = shadowOf(pendingIntent); in getBroadcast_shouldCreateIntentForBroadcast() local
44 assertThat(shadow.isActivityIntent()).isFalse(); in getBroadcast_shouldCreateIntentForBroadcast()
45 assertThat(shadow.isBroadcastIntent()).isTrue(); in getBroadcast_shouldCreateIntentForBroadcast()
46 assertThat(shadow.isServiceIntent()).isFalse(); in getBroadcast_shouldCreateIntentForBroadcast()
47 assertThat(shadow.isForegroundServiceIntent()).isFalse(); in getBroadcast_shouldCreateIntentForBroadcast()
48 assertThat(intent).isEqualTo(shadow.getSavedIntent()); in getBroadcast_shouldCreateIntentForBroadcast()
49 assertThat(context).isEqualTo(shadow.getSavedContext()); in getBroadcast_shouldCreateIntentForBroadcast()
50 assertThat(shadow.getRequestCode()).isEqualTo(99); in getBroadcast_shouldCreateIntentForBroadcast()
51 assertThat(shadow.getFlags()).isEqualTo(100); in getBroadcast_shouldCreateIntentForBroadcast()
59 ShadowPendingIntent shadow = shadowOf(pendingIntent); in getActivity_shouldCreateIntentForBroadcast() local
[all …]
DShadowDownloadManagerTest.java23 private final ShadowRequest shadow = shadowOf(request); field in ShadowDownloadManagerTest
27 assertThat(shadow.getUri().toString()).isEqualTo("http://example.com/foo.mp4"); in request_shouldGetUri()
33 assertThat(shadow.getDestination().toString()).isEqualTo("/storage/media/foo.mp4"); in request_shouldGetDestinationUri()
39 assertThat(shadow.getTitle()).isEqualTo("Title"); in request_shouldGetTitle()
45 assertThat(shadow.getDescription()).isEqualTo("Description"); in request_shouldGetDescription()
51 assertThat(shadow.getMimeType()).isEqualTo("application/json"); in request_shouldGetMimeType()
57 List<Pair<String, String>> headers = shadow.getRequestHeaders(); in request_shouldGetRequestHeaders()
66 assertThat(shadow.getNotificationVisibility()).isEqualTo(Request.VISIBILITY_VISIBLE); in request_shouldGetNotificationVisibility()
72 assertThat(shadow.getAllowedNetworkTypes()).isEqualTo(Request.NETWORK_BLUETOOTH); in request_shouldGetAllowedNetworkTypes()
78 assertThat(shadow.getAllowedOverRoaming()).isTrue(); in request_shouldGetAllowedOverRoaming()
[all …]
/external/igt-gpu-tools/tests/i915/
Dgem_cs_prefetch.c44 struct shadow { struct
49 static void setup(int fd, int gen, struct shadow *shadow) in setup() argument
54 shadow->handle = gem_create(fd, 4096); in setup()
70 gem_write(fd, shadow->handle, 0, buf, sizeof(buf)); in setup()
72 memset(&shadow->reloc, 0, sizeof(shadow->reloc)); in setup()
74 shadow->reloc.offset = sizeof(uint32_t); in setup()
76 shadow->reloc.offset = 2*sizeof(uint32_t); in setup()
77 shadow->reloc.delta = BATCH_SIZE - sizeof(uint32_t); in setup()
78 shadow->reloc.read_domains = I915_GEM_DOMAIN_INSTRUCTION; in setup()
79 shadow->reloc.write_domain = I915_GEM_DOMAIN_INSTRUCTION; in setup()
[all …]
/external/autotest/server/hosts/
Dshadowing_store_unittest.py23 shadow = _FakeRaisingStore()
24 store = shadowing_store.ShadowingStore(primary, shadow)
25 self.assertEqual(shadow.get(), info)
30 shadow = _FakeRaisingStore()
31 store = shadowing_store.ShadowingStore(primary, shadow)
35 self.assertEqual(shadow.get(), info)
41 shadow = _FakeRaisingStore(init_info, raise_on_commit=True)
42 store = shadowing_store.ShadowingStore(primary, shadow)
46 self.assertEqual(shadow.get(), init_info)
52 shadow = _FakeRaisingStore(init_info)
[all …]
/external/fmtlib/doc/bootstrap/
Dtheme.less21 text-shadow: 0 -1px 0 rgba(0,0,0,.2);
22 @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
23 .box-shadow(@shadow);
25 // Reset the shadow
28 .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
32 text-shadow: none;
73 .btn-default { .btn-styles(@btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }
87 .box-shadow(0 1px 2px rgba(0,0,0,.075));
117 @shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
118 .box-shadow(@shadow);
[all …]
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_dynamic_shadow.cpp49 const uptr shadow = reinterpret_cast<uptr>(&__hwasan_shadow); in IsPremapShadowAvailable() local
53 return shadow != 0 && shadow != resolver; in IsPremapShadowAvailable()
73 static __sanitizer::uptr shadow = 0; in __hwasan_premap_shadow() local
74 if (!shadow) in __hwasan_premap_shadow()
75 shadow = __hwasan::PremapShadow(); in __hwasan_premap_shadow()
76 return reinterpret_cast<decltype(__hwasan_shadow)*>(shadow); in __hwasan_premap_shadow()
/external/dokka/runners/maven-plugin/
Dbuild.gradle9 apply plugin: 'com.github.johnrengelman.shadow'
23 shadow project(":runners:fatjar")
24 shadow "org.apache.maven:maven-core:$maven_version"
25 shadow "org.apache.maven:maven-model:$maven_version"
26 shadow "org.apache.maven:maven-plugin-api:$maven_version"
27 shadow "org.apache.maven:maven-archiver:$maven_archiver_version"
28 shadow "org.codehaus.plexus:plexus-utils:$plexus_utils_version"
29 shadow "org.codehaus.plexus:plexus-archiver:$plexus_archiver_version"
30 shadow "org.apache.maven.plugin-tools:maven-plugin-annotations:$maven_plugin_tools_version"
31 shadow "com.github.olivergondza:maven-jdk-tools-wrapper:0.1"
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/
DShadowProviderGenerator.java80 final String shadow = shadowInfo.getShadowBinaryName(); in generate() local
83 writer.println(" SHADOW_MAP.put(\"" + actual + "\", \"" + shadow + "\");"); in generate()
88 final String shadow = entry.getKey(); in generate() local
90 writer.println(" SHADOW_MAP.put(\"" + actual + "\", \"" + shadow + "\");"); in generate()
109 final String shadow = shadowInfo.getShadowTypeWithParams(); in generate() local
110 writer.println(" public static " + (paramDefStr.isEmpty() ? "" : paramDefStr + " ") + shadow in generate()
112 writer.println(" return (" + shadow + ") Shadow.extract(actual);"); in generate()
129 final String shadow = shadowInfo.getShadowName(); in generate() local
130 writer.println(" public static " + (paramDefStr.isEmpty() ? "" : paramDefStr + " ") + shadow in generate()
132 writer.println(" return (" + shadow + ") Shadow.extract(actual);"); in generate()
/external/llvm-project/clang/test/Modules/
Dshadow.m2 …s -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/shadow/A1 -I %S/Inputs/shadow/A2 %s …
3 …les-cache-path=%t -fmodule-map-file=%S/Inputs/shadow/A1/module.modulemap -fmodule-map-file=%S/Inpu…
7 … -fmodules-cache-path=%t -fmodule-map-file=%S/Inputs/shadow/A1/module.modulemap -I %S/Inputs/shado…
/external/llvm-project/llvm/test/Instrumentation/AddressSanitizer/
Dforce-dynamic-shadow.ll1 ; Test -asan-force-dynamic-shadow flag.
3 ; RUN: opt -asan -asan-module -enable-new-pm=0 -S -asan-force-dynamic-shadow=1 < %s | FileCheck %s …
4 ; RUN: opt -passes='asan-pipeline' -S -asan-force-dynamic-shadow=1 < %s | FileCheck %s --check-pref…
5 ; RUN: opt -asan -asan-module -enable-new-pm=0 -S -asan-force-dynamic-shadow=0 < %s | FileCheck %s …
6 ; RUN: opt -passes='asan-pipeline' -S -asan-force-dynamic-shadow=0 < %s | FileCheck %s --check-pref…
11 ; First instrumentation in the function must be to load the dynamic shadow
/external/python/cpython2/Doc/library/
Dspwd.rst2 :mod:`spwd` --- The shadow password database
7 :synopsis: The shadow password database (getspnam() and friends).
12 This module provides access to the Unix shadow password database. It is
15 You must have enough privileges to access the shadow password database (this
20 below, see ``<shadow.h>``):
58 Return the shadow password database entry for the given user name.
63 Return a list of all available shadow password database entries, in arbitrary
/external/marisa-trie/docs/
Dstyle.css106 box-shadow: 1px 1px 5px gray;
107 -webkit-box-shadow: 1px 1px 5px gray;
108 -moz-box-shadow: 1px 1px 5px gray;
158 box-shadow: 1px 1px 5px gray;
159 -webkit-box-shadow: 1px 1px 5px gray;
160 -moz-box-shadow: 1px 1px 5px gray;
194 box-shadow: 1px 1px 3px gray;
195 -webkit-box-shadow: 1px 1px 3px gray;
196 -moz-box-shadow: 1px 1px 3px gray;
202 box-shadow: 1px 1px 2px gray;
[all …]
/external/python/cpython3/Doc/library/
Dspwd.rst1 :mod:`spwd` --- The shadow password database
6 :synopsis: The shadow password database (getspnam() and friends).
10 This module provides access to the Unix shadow password database. It is
13 You must have enough privileges to access the shadow password database (this
18 below, see ``<shadow.h>``):
56 Return the shadow password database entry for the given user name.
64 Return a list of all available shadow password database entries, in arbitrary
/external/llvm-project/llvm/test/Instrumentation/MemorySanitizer/
Dmsan_kernel_basic.ll49 ; Load the shadow of %p and check it
55 ; If the new shadow is non-zero, jump to __msan_chain_origin()
78 ; Load the shadow of %p and check it
86 ; If the new shadow is non-zero, jump to __msan_chain_origin()
110 ; Load the shadow of %p and check it
118 ; If the new shadow is non-zero, jump to __msan_chain_origin()
141 ; Load the shadow of %p and check it
149 ; If the new shadow is non-zero, jump to __msan_chain_origin()
172 ; Load the shadow of %p and check it
180 ; If the new shadow is non-zero, jump to __msan_chain_origin()
[all …]
Dmanual-shadow.ll3 ; RUN: opt < %s -msan-shadow-base 3735928559 -S -passes=msan 2>&1 | FileCheck \
5 ; RUN: opt < %s -msan -msan-shadow-base 3735928559 -S | FileCheck --check-prefix=CHECK-BASE %s
6 ; RUN: opt < %s -msan-shadow-base 3735928559 -msan-and-mask 4294901760 -S \
8 ; RUN: opt < %s -msan -msan-shadow-base 3735928559 -msan-and-mask 4294901760 -S | FileCheck --check…
9 ; RUN: opt < %s -msan-shadow-base 3735928559 -msan-xor-mask 48879 -S \
11 ; RUN: opt < %s -msan -msan-shadow-base 3735928559 -msan-xor-mask 48879 -S | FileCheck --check-pref…
12 ; RUN: opt < %s -msan-shadow-base 3735928559 -msan-xor-mask 48879 \
15 ; RUN: opt < %s -msan -msan-shadow-base 3735928559 -msan-xor-mask 48879 -msan-and-mask 4294901760 -…
/external/kotlinx.coroutines/kotlinx-coroutines-debug/
Dbuild.gradle5 apply plugin: "com.github.johnrengelman.shadow"
13 * It is possible to extend a particular configuration with shadow,
15 * (so it cannot be further modified). Otherwise, shadow just ignores all dependencies.
17 shadow.extendsFrom(api) // shadow - resulting configuration with shaded jar file
18 configureKotlinJvmPlatform(shadow)
/external/libnl/doc/
Dlibnl.css30 -webkit-transition: text-shadow 0.5s linear;
31 -moz-transition: text-shadow 0.5s linear;
32 -ms-transition: text-shadow 0.5s linear;
33 -o-transition: text-shadow 0.5s linear;
34 transition: text-shadow 0.5s linear;
39 text-shadow: 0 0 15px cyan;
187 -webkit-transition-property: background-color, box-shadow;
189 -moz-transition-property: background-color, box-shadow;
191 -ms-transition-property: background-color, box-shadow;
193 -o-transition-property: background-color, box-shadow;
[all …]

12345678910>>...39