/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | AnimationSetTest.java | 20 private ShadowAnimationSet shadow; field in class:AnimationSetTest 25 shadow = shadowOf(set); 38 List<Animation> list = shadow.getAnimations();
|
H A D | InputMethodManagerTest.java | 20 private ShadowInputMethodManager shadow; field in class:InputMethodManagerTest 25 shadow = Robolectric.shadowOf(manager); 30 assertThat(shadow.isSoftInputVisible(), equalTo(false)); 33 assertThat(shadow.isSoftInputVisible(), equalTo(true)); 36 assertThat(shadow.isSoftInputVisible(), equalTo(false));
|
H A D | PreferenceCategoryTest.java | 20 private ShadowPreferenceCategory shadow; field in class:PreferenceCategoryTest 25 shadow = Robolectric.shadowOf(category); 30 assertThat(shadow, instanceOf(ShadowPreferenceGroup.class));
|
H A D | PreferenceScreenTest.java | 21 private ShadowPreferenceScreen shadow; field in class:PreferenceScreenTest 26 shadow = Robolectric.shadowOf(screen); 31 assertThat(shadow, instanceOf(ShadowPreferenceGroup.class)); 39 shadow.setDialog(dialog);
|
H A D | TranslateAnimationTest.java | 18 private ShadowTranslateAnimation shadow; field in class:TranslateAnimationTest 23 shadow = shadowOf(animation); 28 assertThat(shadow.getFromXType(), equalTo(1)); 29 assertThat(shadow.getFromXValue(), equalTo(2f)); 30 assertThat(shadow.getToXType(), equalTo(3)); 31 assertThat(shadow.getToXValue(), equalTo(4f)); 32 assertThat(shadow.getFromYType(), equalTo(5)); 33 assertThat(shadow.getFromYValue(), equalTo(6f)); 34 assertThat(shadow.getToYType(), equalTo(7)); 35 assertThat(shadow [all...] |
H A D | DialogPreferenceTest.java | 26 private ShadowDialogPreference shadow; field in class:DialogPreferenceTest 38 shadow = Robolectric.shadowOf(preference); 46 shadow = Robolectric.shadowOf(preference); 47 assertThat(shadow.getContext(), sameInstance(context)); 48 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); 49 assertThat(shadow.getDefStyle(), equalTo(defStyle)); 52 shadow = Robolectric.shadowOf(preference); 53 assertThat(shadow.getContext(), sameInstance(context)); 54 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); 55 assertThat(shadow [all...] |
H A D | ListPreferenceTest.java | 23 private ShadowListPreference shadow; field in class:ListPreferenceTest 28 shadow = Robolectric.shadowOf(listPreference); 33 assertThat(shadow, instanceOf(ShadowDialogPreference.class));
|
H A D | PreferenceActivityTest.java | 25 private ShadowPreferenceActivity shadow; field in class:PreferenceActivityTest 30 shadow = Robolectric.shadowOf(activity); 35 shadow.setListView( new ListView( new Activity() ) ); 41 assertThat(shadow, instanceOf(ShadowListActivity.class)); 51 assertThat(shadow.getPreferencesResId(), equalTo(-1)); 53 assertThat(shadow.getPreferencesResId(), equalTo(R.xml.preferences));
|
H A D | SslErrorHandlerTest.java | 21 private ShadowSslErrorHandler shadow; field in class:SslErrorHandlerTest 26 shadow = Robolectric.shadowOf(handler); 31 assertThat(shadow, instanceOf(ShadowHandler.class)); 36 assertThat(shadow.wasCancelCalled(), equalTo(false)); 38 assertThat(shadow.wasCancelCalled(), equalTo(true)); 43 assertThat(shadow.wasProceedCalled(), equalTo(false)); 45 assertThat(shadow.wasProceedCalled(), equalTo(true));
|
H A D | RatingBarTest.java | 24 private ShadowRatingBar shadow; field in class:RatingBarTest 31 shadow = Robolectric.shadowOf(ratingBar); 39 assertThat(shadow.getOnRatingBarChangeListener(), sameInstance(listener)); 41 assertThat(shadow.getOnRatingBarChangeListener(), nullValue()); 61 ShadowRatingBar shadow = Robolectric.shadowOf(ratingBar); 62 assertThat(shadow, instanceOf(ShadowAbsSeekBar.class));
|
H A D | SeekBarTest.java | 22 private ShadowSeekBar shadow; field in class:SeekBarTest 29 shadow = Robolectric.shadowOf(seekBar); 37 assertThat(shadow.getOnSeekBarChangeListener(), sameInstance(listener)); 39 assertThat(shadow.getOnSeekBarChangeListener(), nullValue());
|
H A D | SensorManagerTest.java | 22 private ShadowSensorManager shadow; field in class:SensorManagerTest 27 shadow = shadowOf(sensorManager); 33 shadow = null; 40 assertTrue(shadow.hasListener(listener)); 56 assertFalse(shadow.hasListener(listener)); 63 assertFalse(shadow.hasListener(listener)); 68 assertTrue(shadow.createSensorEvent() instanceof SensorEvent);
|
/external/chromium_org/base/ |
H A D | at_exit.cc | 18 // statically linked version of this library). Testing may use the shadow 77 AtExitManager::AtExitManager(bool shadow) : next_manager_(g_top_manager) { argument 78 DCHECK(shadow || !g_top_manager);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | ChildFrameDisconnector.cpp | 8 #include "core/dom/shadow/ElementShadow.h" 9 #include "core/dom/shadow/ShadowRoot.h" 49 ElementShadow* shadow = root.isElementNode() ? toElement(root).shadow() : 0; local 50 if (shadow) 51 collectFrameOwners(*shadow); 69 void ChildFrameDisconnector::collectFrameOwners(ElementShadow& shadow) argument 71 for (ShadowRoot* root = shadow.youngestShadowRoot(); root; root = root->olderShadowRoot()) 84 if (ElementShadow* shadow = toElement(node).shadow()) { [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
H A D | compute_memory_pool.h | 56 uint32_t *shadow; ///host copy of the pool, used for defragmentation member in struct:compute_memory_pool
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | compute_memory_pool.h | 56 uint32_t *shadow; ///host copy of the pool, used for defragmentation member in struct:compute_memory_pool
|
/external/chromium_org/ash/wm/ |
H A D | resize_shadow_controller.cc | 25 ResizeShadow* shadow = GetShadowForWindow(window); local 26 if (!shadow) 27 shadow = CreateShadow(window); 28 shadow->ShowForHitTest(hit_test); 32 ResizeShadow* shadow = GetShadowForWindow(window); local 33 if (shadow) 34 shadow->Hide(); 46 ResizeShadow* shadow = GetShadowForWindow(window); local 47 if (shadow) 48 shadow [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/ |
H A D | ComposedTreeWalker.cpp | 29 #include "core/dom/shadow/ComposedTreeWalker.h" 32 #include "core/dom/shadow/ElementShadow.h" 40 return toElement(node)->shadow(); 47 ElementShadow* shadow = shadowFor(node); local 48 return shadow ? traverseLightChildren(shadow->youngestShadowRoot(), direction)
|
/external/chromium_org/ui/gfx/ |
H A D | shadow_value.cc | 56 const ShadowValue& shadow = shadows[i]; local 59 int blur = static_cast<int>(shadow.blur() / 2 + 0.5); 61 left = std::max(left, blur - shadow.x()); 62 top = std::max(top, blur - shadow.y()); 63 right = std::max(right, blur + shadow.x()); 64 bottom = std::max(bottom, blur + shadow.y());
|
/external/chromium_org/ui/wm/core/ |
H A D | shadow_controller_unittest.cc | 17 #include "ui/wm/core/shadow.h" 68 // We should create the shadow before the window is visible (the shadow's 71 const Shadow* shadow = api.GetShadowForWindow(window.get()); local 72 ASSERT_TRUE(shadow != NULL); 73 EXPECT_TRUE(shadow->layer()->visible()); 75 // The shadow should remain visible after window visibility changes. 77 EXPECT_TRUE(shadow->layer()->visible()); 79 EXPECT_TRUE(shadow->layer()->visible()); 81 // If the shadow i 112 const Shadow* shadow = api.GetShadowForWindow(window.get()); local [all...] |
H A D | shadow_unittest.cc | 5 #include "ui/wm/core/shadow.h" 128 Shadow shadow; local 130 shadow.Init(Shadow::STYLE_SMALL); 132 shadow.SetStyle(Shadow::STYLE_ACTIVE); 134 shadow.SetStyle(Shadow::STYLE_INACTIVE); 140 Shadow shadow; local 143 shadow.Init(Shadow::STYLE_ACTIVE); 145 shadow.SetContentBounds(content_bounds); 146 EXPECT_EQ(shadow.content_bounds(), content_bounds); 147 EXPECT_EQ(shadow [all...] |
/external/compiler-rt/lib/asan/ |
H A D | asan_poisoning.h | 22 // Poisons the shadow memory for "size" bytes starting from "addr". 25 // Poisons the shadow memory for "redzone_size" bytes starting from 43 // for mapping shadow and zeroing out pages doesn't "just work", so we should 73 u8 *shadow = (u8*)MEM_TO_SHADOW(aligned_addr); local 74 for (uptr i = 0; i < redzone_size; i += SHADOW_GRANULARITY, shadow++) { 76 *shadow = 0; // fully addressable 78 *shadow = (SHADOW_GRANULARITY == 128) ? 0xff : value; // unaddressable 81 *shadow = poison_partial ? static_cast<u8>(size - i) : 0;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | ShadowList.cpp | 44 const ShadowData& shadow = shadowList->shadows()[i]; local 45 if (shadow.style() == Inset) 47 float blurAndSpread = shadow.blur() + shadow.spread(); 48 shadowLeft = std::min(shadow.x() - blurAndSpread, shadowLeft); 49 shadowRight = std::max(shadow.x() + blurAndSpread, shadowRight); 50 shadowTop = std::min(shadow.y() - blurAndSpread, shadowTop); 51 shadowBottom = std::max(shadow.y() + blurAndSpread, shadowBottom); 105 const ShadowData& shadow = shadows()[i]; local 106 float shadowX = isHorizontal ? shadow [all...] |
/external/chromium_org/ui/views/bubble/ |
H A D | bubble_border.cc | 94 // Returns the cached BorderImages for the given |shadow| type. 95 BorderImages* GetBorderImages(BubbleBorder::Shadow shadow) { argument 99 CHECK_LT(shadow, BubbleBorder::SHADOW_COUNT); 100 struct BorderImages*& set = kBorderImages[shadow]; 104 switch (shadow) { 127 BubbleBorder::BubbleBorder(Arrow arrow, Shadow shadow, SkColor color) argument 132 shadow_(shadow), 135 DCHECK(shadow < SHADOW_COUNT); 136 images_ = GetBorderImages(shadow); 222 // The insets contain the stroke and shadow pixel [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform.h | 18 03c0 0000 0000 - 1000 0000 0000: shadow 29 0400 0000 0000 - 1000 0000 0000: shadow 46 1000 0000 0000 - 1380 0000 0000: shadow 58 0100 0000 0000 - 0560 0000 0000: shadow 145 static inline uptr ShadowToMem(uptr shadow) { argument 146 CHECK(IsShadowMem(shadow)); 148 return (shadow & ~kLinuxShadowMsk) / kShadowCnt; 150 return (shadow / kShadowCnt) | kLinuxAppMemMsk; 155 // that mapped to the same shadow address. 172 // The additional page is to catch shadow stac [all...] |