Home
last modified time | relevance | path

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

12345678910>>...29

/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()
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 …]
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()
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 …]
DShadowLinearLayoutTest.java18 private ShadowLinearLayout shadow; field in ShadowLinearLayoutTest
23 shadow = shadowOf(linearLayout); in setup()
45 assertThat(shadow.getGravity()).isEqualTo(Gravity.TOP | Gravity.START); in canAnswerGravity()
47 assertThat(shadow.getGravity()).isEqualTo(Gravity.CENTER_VERTICAL | Gravity.START); in canAnswerGravity()
49 assertThat(shadow.getGravity()).isEqualTo(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in canAnswerGravity()
DShadowLayoutAnimationControllerTest.java15 private ShadowLayoutAnimationController shadow; field in ShadowLayoutAnimationControllerTest
21 shadow = Shadows.shadowOf(controller); in setup()
27 shadow.setLoadedFromResourceId(1); in testResourceId()
28 assertThat(shadow.getLoadedFromResourceId()).isEqualTo(id); in testResourceId()
/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/u-boot/drivers/net/fsl-mc/dpio/
Dqbman_sys.h151 void *shadow = s->cena + offset; in qbman_cena_write_start() local
155 s->addr_cena, offset, shadow); in qbman_cena_write_start()
158 dcbz(shadow); in qbman_cena_write_start()
159 return shadow; in qbman_cena_write_start()
165 const uint32_t *shadow = cmd; in qbman_cena_write_complete() local
170 s->addr_cena, offset, shadow); in qbman_cena_write_complete()
175 __raw_writel(shadow[loop], s->addr_cinh + in qbman_cena_write_complete()
178 __raw_writel(shadow[loop], s->addr_cena + in qbman_cena_write_complete()
185 uint32_t *shadow = s->cena + offset; in qbman_cena_read() local
190 s->addr_cena, offset, shadow); in qbman_cena_read()
[all …]
/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/libjpeg-turbo/doc/html/
Ddoxygen.css35 -webkit-transition: text-shadow 0.5s linear;
36 -moz-transition: text-shadow 0.5s linear;
37 -ms-transition: text-shadow 0.5s linear;
38 -o-transition: text-shadow 0.5s linear;
39 transition: text-shadow 0.5s linear;
44 text-shadow: 0 0 15px cyan;
192 -webkit-transition-property: background-color, box-shadow;
194 -moz-transition-property: background-color, box-shadow;
196 -ms-transition-property: background-color, box-shadow;
198 -o-transition-property: background-color, box-shadow;
[all …]
/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 …]
/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/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/chromium-trace/catapult/systrace/systrace/test_data/
Ddecompressed_atrace_data.txt50 … <...>-18989 (-----) [003] ...1 683202.136120: tracing_mark_write: B|18926|shadow tessellation
53 … <...>-18988 (-----) [002] ...1 683202.136156: tracing_mark_write: B|18926|shadow tessellation
66 … <...>-18988 (-----) [002] ...1 683202.136250: tracing_mark_write: B|18926|shadow tessellation
114 … <...>-18988 (-----) [001] ...1 683202.166296: tracing_mark_write: B|18926|shadow tessellation
126 … <...>-18988 (-----) [001] ...1 683202.167362: tracing_mark_write: B|18926|shadow tessellation
135 … <...>-18989 (-----) [001] ...1 683202.167469: tracing_mark_write: B|18926|shadow tessellation
173 … <...>-18988 (-----) [001] ...1 683202.172318: tracing_mark_write: B|18926|shadow tessellation
185 … <...>-18988 (-----) [001] ...1 683202.172593: tracing_mark_write: B|18926|shadow tessellation
196 … <...>-18989 (-----) [001] ...1 683202.172681: tracing_mark_write: B|18926|shadow tessellation
246 … <...>-18988 (-----) [003] ...1 683202.184400: tracing_mark_write: B|18926|shadow tessellation
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBitmapDrawable.java3 import static org.robolectric.shadow.api.Shadow.directlyOn;
14 import org.robolectric.shadow.api.Shadow;
43 ShadowBitmapDrawable shadow = Shadow.extract(real); in mutate() local
44 shadow.colorFilter = this.colorFilter; in mutate()
45 shadow.drawableCreateFromStreamSource = drawableCreateFromStreamSource; in mutate()
/external/compiler-rt/lib/asan/
Dasan_poisoning.h76 u8 *shadow = (u8*)MEM_TO_SHADOW(aligned_addr); in FastPoisonShadowPartialRightRedzone() local
77 for (uptr i = 0; i < redzone_size; i += SHADOW_GRANULARITY, shadow++) { in FastPoisonShadowPartialRightRedzone()
79 *shadow = 0; // fully addressable in FastPoisonShadowPartialRightRedzone()
81 *shadow = (SHADOW_GRANULARITY == 128) ? 0xff : value; // unaddressable in FastPoisonShadowPartialRightRedzone()
84 *shadow = poison_partial ? static_cast<u8>(size - i) : 0; in FastPoisonShadowPartialRightRedzone()
/external/tinyxml2/docs/
Ddoxygen.css40 -webkit-transition: text-shadow 0.5s linear;
41 -moz-transition: text-shadow 0.5s linear;
42 -ms-transition: text-shadow 0.5s linear;
43 -o-transition: text-shadow 0.5s linear;
44 transition: text-shadow 0.5s linear;
49 text-shadow: 0 0 15px cyan;
201 -webkit-transition-property: background-color, box-shadow;
203 -moz-transition-property: background-color, box-shadow;
205 -ms-transition-property: background-color, box-shadow;
207 -o-transition-property: background-color, box-shadow;
[all …]
/external/epid-sdk/doc/html/
Ddoxygen.css40 -webkit-transition: text-shadow 0.5s linear;
41 -moz-transition: text-shadow 0.5s linear;
42 -ms-transition: text-shadow 0.5s linear;
43 -o-transition: text-shadow 0.5s linear;
44 transition: text-shadow 0.5s linear;
49 text-shadow: 0 0 15px cyan;
201 -webkit-transition-property: background-color, box-shadow;
203 -moz-transition-property: background-color, box-shadow;
205 -ms-transition-property: background-color, box-shadow;
207 -o-transition-property: background-color, box-shadow;
[all …]
/external/libbackup/
Dbuild.gradle7 shadow
14 java.excludes = ['com/google/android/libraries/backup/shadow/**']
17 shadow {
19 java.includes = ['com/google/android/libraries/backup/shadow/**']

12345678910>>...29