Home
last modified time | relevance | path

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

12345678910>>...16

/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/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DPreferenceTest.java32 private ShadowPreference shadow; field in PreferenceTest
44 shadow = Robolectric.shadowOf( preference ); in setup()
52 shadow = Robolectric.shadowOf(preference); in shouldConstruct()
53 assertThat(shadow.getContext(), sameInstance(context)); in shouldConstruct()
54 assertThat(shadow.getAttrs(), sameInstance((AttributeSet)attrs)); in shouldConstruct()
55 assertThat(shadow.getDefStyle(), equalTo(defStyle)); in shouldConstruct()
58 shadow = Robolectric.shadowOf(preference); in shouldConstruct()
59 assertThat(shadow.getContext(), sameInstance( context )); in shouldConstruct()
60 assertThat(shadow.getAttrs(), sameInstance((AttributeSet)attrs)); in shouldConstruct()
61 assertThat(shadow.getDefStyle(), equalTo(0)); in shouldConstruct()
[all …]
DPendingIntentTest.java39 ShadowPendingIntent shadow = shadowOf(pendingIntent); in getBroadcast__shouldCreateIntentForBroadcast() local
40 assertThat(shadow.isActivityIntent(), is(false)); in getBroadcast__shouldCreateIntentForBroadcast()
41 assertThat(shadow.isBroadcastIntent(), is(true)); in getBroadcast__shouldCreateIntentForBroadcast()
42 assertThat(shadow.isServiceIntent(), is(false)); in getBroadcast__shouldCreateIntentForBroadcast()
43 assertThat(intent, equalTo(shadow.getSavedIntent())); in getBroadcast__shouldCreateIntentForBroadcast()
44 assertThat(Robolectric.application, equalTo(shadow.getSavedContext())); in getBroadcast__shouldCreateIntentForBroadcast()
51 ShadowPendingIntent shadow = shadowOf(pendingIntent); in getActivity__shouldCreateIntentForBroadcast() local
52 assertThat(shadow.isActivityIntent(), is(true)); in getActivity__shouldCreateIntentForBroadcast()
53 assertThat(shadow.isBroadcastIntent(), is(false)); in getActivity__shouldCreateIntentForBroadcast()
54 assertThat(shadow.isServiceIntent(), is(false)); in getActivity__shouldCreateIntentForBroadcast()
[all …]
DTranslateAnimationTest.java18 private ShadowTranslateAnimation shadow; field in TranslateAnimationTest
23 shadow = shadowOf(animation); in setUp()
28 assertThat(shadow.getFromXType(), equalTo(1)); in animationParametersFromConstructor()
29 assertThat(shadow.getFromXValue(), equalTo(2f)); in animationParametersFromConstructor()
30 assertThat(shadow.getToXType(), equalTo(3)); in animationParametersFromConstructor()
31 assertThat(shadow.getToXValue(), equalTo(4f)); in animationParametersFromConstructor()
32 assertThat(shadow.getFromYType(), equalTo(5)); in animationParametersFromConstructor()
33 assertThat(shadow.getFromYValue(), equalTo(6f)); in animationParametersFromConstructor()
34 assertThat(shadow.getToYType(), equalTo(7)); in animationParametersFromConstructor()
35 assertThat(shadow.getToYValue(), equalTo(8f)); in animationParametersFromConstructor()
DDialogPreferenceTest.java26 private ShadowDialogPreference shadow; field in DialogPreferenceTest
38 shadow = Robolectric.shadowOf(preference); in setup()
46 shadow = Robolectric.shadowOf(preference); in testConstructors()
47 assertThat(shadow.getContext(), sameInstance(context)); in testConstructors()
48 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); in testConstructors()
49 assertThat(shadow.getDefStyle(), equalTo(defStyle)); in testConstructors()
52 shadow = Robolectric.shadowOf(preference); in testConstructors()
53 assertThat(shadow.getContext(), sameInstance(context)); in testConstructors()
54 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); in testConstructors()
55 assertThat(shadow.getDefStyle(), equalTo(0)); in testConstructors()
DDisplayTest.java18 ShadowDisplay shadow = Robolectric.shadowOf(display); in shouldProvideDisplayMetrics() local
20 shadow.setDensity(1.5f); in shouldProvideDisplayMetrics()
21 shadow.setDensityDpi(DisplayMetrics.DENSITY_MEDIUM); in shouldProvideDisplayMetrics()
22 shadow.setScaledDensity(1.6f); in shouldProvideDisplayMetrics()
23 shadow.setWidth(1024); in shouldProvideDisplayMetrics()
24 shadow.setHeight(600); in shouldProvideDisplayMetrics()
25 shadow.setXdpi(183.0f); in shouldProvideDisplayMetrics()
26 shadow.setYdpi(184.0f); in shouldProvideDisplayMetrics()
DSslErrorHandlerTest.java21 private ShadowSslErrorHandler shadow; field in SslErrorHandlerTest
26 shadow = Robolectric.shadowOf(handler); in setUp()
31 assertThat(shadow, instanceOf(ShadowHandler.class)); in shouldInheritFromShadowHandler()
36 assertThat(shadow.wasCancelCalled(), equalTo(false)); in shouldRecordCancel()
38 assertThat(shadow.wasCancelCalled(), equalTo(true)); in shouldRecordCancel()
43 assertThat(shadow.wasProceedCalled(), equalTo(false)); in shouldRecordProceed()
45 assertThat(shadow.wasProceedCalled(), equalTo(true)); in shouldRecordProceed()
DSensorManagerTest.java22 private ShadowSensorManager shadow; field in SensorManagerTest
27 shadow = shadowOf(sensorManager); in setup()
33 shadow = null; in tearDown()
40 assertTrue(shadow.hasListener(listener)); in shouldReturnHasListenerAfterRegisteringListener()
56 assertFalse(shadow.hasListener(listener)); in shouldReturnHasNoListenerAfterUnregisterListener()
63 assertFalse(shadow.hasListener(listener)); in shouldReturnHasNoListenerByDefault()
68 assertTrue(shadow.createSensorEvent() instanceof SensorEvent); in shouldCreateSensorEvent()
DPreferenceActivityTest.java25 private ShadowPreferenceActivity shadow; field in PreferenceActivityTest
30 shadow = Robolectric.shadowOf(activity); in setUp()
35 shadow.setListView( new ListView( new Activity() ) ); in shouldGetListView()
41 assertThat(shadow, instanceOf(ShadowListActivity.class)); in shouldInheritFromListActivity()
51 assertThat(shadow.getPreferencesResId(), equalTo(-1)); in shouldRecordPreferencesResourceId()
53 assertThat(shadow.getPreferencesResId(), equalTo(R.xml.preferences)); in shouldRecordPreferencesResourceId()
DRatingBarTest.java24 private ShadowRatingBar shadow; field in RatingBarTest
31 shadow = Robolectric.shadowOf(ratingBar); in setup()
39 assertThat(shadow.getOnRatingBarChangeListener(), sameInstance(listener)); in testOnSeekBarChangedListener()
41 assertThat(shadow.getOnRatingBarChangeListener(), nullValue()); in testOnSeekBarChangedListener()
61 ShadowRatingBar shadow = Robolectric.shadowOf(ratingBar); in testInheritance() local
62 assertThat(shadow, instanceOf(ShadowAbsSeekBar.class)); in testInheritance()
DInputMethodManagerTest.java20 private ShadowInputMethodManager shadow; field in InputMethodManagerTest
25 shadow = Robolectric.shadowOf(manager); in setUp()
30 assertThat(shadow.isSoftInputVisible(), equalTo(false)); in shouldRecordSoftInputVisibility()
33 assertThat(shadow.isSoftInputVisible(), equalTo(true)); in shouldRecordSoftInputVisibility()
36 assertThat(shadow.isSoftInputVisible(), equalTo(false)); in shouldRecordSoftInputVisibility()
DAnimationTest.java21 private ShadowAnimation shadow; field in AnimationTest
27 shadow = shadowOf(animation); in setUp()
53 shadow.invokeRepeat(); in invokeRepeatShouldInvokeRepeatCallback()
62 shadow.invokeEnd(); in invokeEndShouldInvokeEndCallback()
71 shadow.invokeEnd(); in simulateAnimationEndShouldInvokeApplyTransformationWith1()
122 shadow.getLoadedFromResourceId(); in testNotLoadedFromResourceId()
127 shadow.setLoadedFromResourceId(R.anim.fade_in); in testLoadedFromResourceId()
128 assertThat(shadow.getLoadedFromResourceId(), equalTo(R.anim.fade_in)); in testLoadedFromResourceId()
DPreferenceScreenTest.java21 private ShadowPreferenceScreen shadow; field in PreferenceScreenTest
26 shadow = Robolectric.shadowOf(screen); in setUp()
31 assertThat(shadow, instanceOf(ShadowPreferenceGroup.class)); in shouldInheritFromPreferenceGroup()
39 shadow.setDialog(dialog); in shouldSetDialog()
DSeekBarTest.java22 private ShadowSeekBar shadow; field in SeekBarTest
29 shadow = Robolectric.shadowOf(seekBar); in setup()
37 assertThat(shadow.getOnSeekBarChangeListener(), sameInstance(listener)); in testOnSeekBarChangedListener()
39 assertThat(shadow.getOnSeekBarChangeListener(), nullValue()); in testOnSeekBarChangedListener()
DStateListDrawableTest.java27 ShadowStateListDrawable shadow = shadowOf(stateListDrawable); in testAddStateWithDrawable() local
28 Drawable drawableForState = shadow.getDrawableForState(states); in testAddStateWithDrawable()
40 ShadowStateListDrawable shadow = shadowOf(stateListDrawable); in testAddDrawableWithWildCardState() local
41 Drawable drawableForState = shadow.getDrawableForState(StateSet.WILD_CARD); in testAddDrawableWithWildCardState()
/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/valgrind/helgrind/tests/
Dshmem_abits.c8 static unsigned char shadow[MAX]; variable
32 r = VALGRIND_HG_GET_ABITS (p, shadow, len); in check()
36 V(shadow[i] == access, testline); in check()
39 r = VALGRIND_HG_GET_ABITS (p-1, shadow, len+1); in check()
42 V (shadow[0] == 0x00, testline); in check()
44 V (shadow[i] == access, testline); in check()
47 r = VALGRIND_HG_GET_ABITS (p+1, shadow, len); in check()
54 V(shadow[i] == access, testline); in check()
56 V(shadow[len-1] == 0x00, testline); in check()
65 memcpy(s, shadow, MAX); in popped_stack_address()
/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/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
DShadowWrangler.java159 Object shadow = readField(instance, field); in shadowFor() local
161 if (shadow != null) { in shadowFor()
162 return shadow; in shadowFor()
173 shadow = constructor.newInstance(instance); in shadowFor()
175 shadow = shadowClass.newInstance(); in shadowFor()
177 field.set(instance, shadow); in shadowFor()
179 injectRealObjectOn(shadow, shadowClass, instance); in shadowFor()
181 return shadow; in shadowFor()
191 private void injectRealObjectOn(Object shadow, Class<?> shadowClass, Object instance) { in injectRealObjectOn() argument
194 writeField(shadow, instance, realObjectField); in injectRealObjectOn()
[all …]
/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/libbackup/
Dbuild.gradle7 shadow
14 java.excludes = ['com/google/android/libraries/backup/shadow/**']
17 shadow {
19 java.includes = ['com/google/android/libraries/backup/shadow/**']
/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/fmtlib/doc/bootstrap/mixins/
Dforms.less20 // Set the border and box shadow on specific inputs to match
23 .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
26 @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);
27 .box-shadow(@shadow);
53 // Example usage: change the default blue border and shadow to white for better
60 .box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}");

12345678910>>...16