HomeSort by relevance Sort by last modified time
    Searched full:shadow (Results 26 - 50 of 1579) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/ui/views/corewm/
shadow_controller.cc 20 #include "ui/views/corewm/shadow.h"
54 // Returns the shadow style to be applied to |losing_active| when it is losing
57 Shadow::Style GetShadowStyleForWindowLosingActive(
66 return Shadow::STYLE_ACTIVE;
68 return Shadow::STYLE_INACTIVE;
104 typedef std::map<aura::Window*, linked_ptr<Shadow> > WindowShadowMap;
113 // Checks if |window| is visible and contains a property requesting a shadow.
116 // Returns |window|'s shadow from |window_shadows_|, or NULL if no shadow
118 Shadow* GetShadowForWindow(aura::Window* window)
170 Shadow* shadow = GetShadowForWindow(window); local
183 Shadow* shadow = GetShadowForWindow(gained_active); local
188 Shadow* shadow = GetShadowForWindow(lost_active); local
218 Shadow* shadow = GetShadowForWindow(window); local
    [all...]
shadow.cc 5 #include "ui/views/corewm/shadow.h"
14 // Shadow opacity for different styles.
27 float GetOpacityForStyle(views::corewm::Shadow::Style style) {
29 case views::corewm::Shadow::STYLE_ACTIVE:
31 case views::corewm::Shadow::STYLE_INACTIVE:
33 case views::corewm::Shadow::STYLE_SMALL:
39 int GetInteriorInsetForStyle(views::corewm::Shadow::Style style) {
41 case views::corewm::Shadow::STYLE_ACTIVE:
43 case views::corewm::Shadow::STYLE_INACTIVE:
45 case views::corewm::Shadow::STYLE_SMALL
    [all...]
shadow.h 23 // Simple class that draws a drop shadow around content at given bounds.
24 class VIEWS_EXPORT Shadow : public ui::ImplicitAnimationObserver {
39 Shadow();
40 virtual ~Shadow();
46 // should be used to adjust the shadow's size and position (rather than
56 // Sets the shadow's style, animating opacity as necessary.
75 // Bounds of the content that the shadow encloses.
78 // The interior inset of the shadow images. The content bounds of the image
82 DISALLOW_COPY_AND_ASSIGN(Shadow);
  /external/compiler-rt/lib/asan/lit_tests/TestCases/Linux/
time_null_regtest.cc 1 // RUN: %clangxx_asan -O0 %s -fsanitize-address-zero-base-shadow -pie -o %t && %t 2>&1 | FileCheck %s
3 // Zero-base shadow only works on x86_64 and i386.
7 // zero-based shadow mode on Linux.
9 // executable interleave with the zero-based shadow.
zero-base-shadow32.cc 1 // RUN: %clangxx_asan -O0 -fsanitize-address-zero-base-shadow -fPIE -pie %s -o %t
3 // RUN: %clangxx_asan -O1 -fsanitize-address-zero-base-shadow -fPIE -pie %s -o %t
5 // RUN: %clangxx_asan -O2 -fsanitize-address-zero-base-shadow -fPIE -pie %s -o %t
8 // Zero-base shadow only works on x86_64 and i386.
21 // Check that shadow for stack memory occupies lower part of address space.
zero-base-shadow64.cc 1 // RUN: %clangxx_asan -O0 -fsanitize-address-zero-base-shadow -fPIE -pie %s -o %t
3 // RUN: %clangxx_asan -O1 -fsanitize-address-zero-base-shadow -fPIE -pie %s -o %t
5 // RUN: %clangxx_asan -O2 -fsanitize-address-zero-base-shadow -fPIE -pie %s -o %t
8 // Zero-base shadow only works on x86_64 and i386.
21 // Check that shadow for stack memory occupies lower part of address space.
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
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));
PreferenceTest.java 32 private ShadowPreference shadow; field in class:PreferenceTest
44 shadow = Robolectric.shadowOf( preference );
52 shadow = Robolectric.shadowOf(preference);
53 assertThat(shadow.getContext(), sameInstance(context));
54 assertThat(shadow.getAttrs(), sameInstance((AttributeSet)attrs));
55 assertThat(shadow.getDefStyle(), equalTo(defStyle));
58 shadow = Robolectric.shadowOf(preference);
59 assertThat(shadow.getContext(), sameInstance( context ));
60 assertThat(shadow.getAttrs(), sameInstance((AttributeSet)attrs));
61 assertThat(shadow.getDefStyle(), equalTo(0));
    [all...]
PreferenceCategoryTest.java 20 private ShadowPreferenceCategory shadow; field in class:PreferenceCategoryTest
25 shadow = Robolectric.shadowOf(category);
30 assertThat(shadow, instanceOf(ShadowPreferenceGroup.class));
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); local
62 assertThat(shadow, instanceOf(ShadowAbsSeekBar.class));
  /external/chromium/chrome/browser/chromeos/login/
rounded_rect_painter.cc 81 int shadow,
88 shadow / 2, SkBlurMaskFilter::kNormal_BlurStyle);
92 SkIntToScalar(x + shadow / 2), SkIntToScalar(y + shadow / 2),
93 SkIntToScalar(x + w - shadow / 2), SkIntToScalar(y + h - shadow / 2));
107 int shadow = border->shadow; local
119 if (border->shadow > 0) {
125 shadow, shadow_color)
180 int shadow = border_->shadow; local
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPaint.java 11 * Shadow of {@code Paint} that has some extra accessors so that tests can tell whether a {@code Paint} object was
129 * @return shadow radius (Paint related shadow, not Robolectric Shadow)
138 * @return shadow Dx (Paint related shadow, not Robolectric Shadow)
147 * @return shadow Dx (Paint related shadow, not Robolectric Shadow)
    [all...]
package.html 7 Provides shadow implementations of classes in the Android SDK. All of the classes in this package ("Shadow" classes) are
10 Shadow class.
  /external/chromium/chrome/browser/chromeos/
drop_shadow_label.h 18 // A drop shadow label is a view subclass that can display a string
19 // with a drop shadow.
26 // Sets the size of the drop shadow drawn under the text.
28 // shadow -- it gets more expensive to draw the larger it gets,
34 // Return the size of the drop shadow in pixels.
  /external/chromium_org/ui/views/
shadow_border.h 14 // Creates a css box-shadow like border which fades into SK_ColorTRANSPARENT.
30 // Blur amount of the shadow in pixels. For details on how blur is defined see
34 // Shadow color.
37 // Number of pixels to shift shadow to bottom.
40 // Number of pixels to shift shadow to right.
  /external/chromium_org/chrome/browser/resources/local_ntp/
most_visited_thumbnail.css 27 .shadow {
33 .shadow {
34 box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.09);
  /external/chromium_org/ui/base/cocoa/controls/
blue_label_button.mm 88 // Draw the text with a drop shadow.
89 base::scoped_nsobject<NSShadow> shadow([[NSShadow alloc] init]);
91 [shadow setShadowOffset:NSMakeSize(0, -1)];
92 [shadow setShadowBlurRadius:0];
93 [shadow setShadowColor:gfx::SkColorToSRGBNSColor(kTextShadowColor)];
94 [shadow set];
122 base::scoped_nsobject<NSShadow> shadow([[NSShadow alloc] init]);
123 [shadow setShadowOffset:NSMakeSize(0, -1)];
124 [shadow setShadowBlurRadius:1.0];
125 [shadow setShadowColor:gfx::SkColorToSRGBNSColor(kShadowColor)]
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/tests/data/
touch-action-tests.js 5 // Create any shadow DOM nodes requested by the test.
6 var shadowTrees = document.querySelectorAll('[make-shadow-dom]');
8 document.body.innerHTML = 'ERROR: Shadow DOM not supported!';
14 if (!host.hasAttribute('shadow-host')) {
15 document.body.innerHTML = 'ERROR: make-shadow-dom node must follow a shadow-host node';
  /external/chromium_org/ui/gfx/
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/chrome/browser/ui/cocoa/constrained_window/
constrained_window_button.mm 59 NSShadow* shadow = [[[NSShadow alloc] init] autorelease];
60 [shadow setShadowColor:gfx::SkColorToCalibratedNSColor(color[button_state])];
61 [shadow setShadowOffset:NSMakeSize(0, -1)];
62 [shadow setShadowBlurRadius:2];
63 return shadow;
69 NSShadow* shadow = [[[NSShadow alloc] init] autorelease];
70 [shadow setShadowColor:gfx::SkColorToCalibratedNSColor(color[button_state])];
71 [shadow setShadowOffset:NSMakeSize(0, -1)];
72 [shadow setShadowBlurRadius:0];
73 return shadow;
    [all...]
  /external/compiler-rt/lib/asan/
asan_poisoning.h 12 // Shadow memory poisoning by ASan RTL and by user application.
21 // Poisons the shadow memory for "size" bytes starting from "addr".
24 // Poisons the shadow memory for "redzone_size" bytes starting from
46 u8 *shadow = (u8*)MEM_TO_SHADOW(aligned_addr); local
47 for (uptr i = 0; i < redzone_size; i += SHADOW_GRANULARITY, shadow++) {
49 *shadow = 0; // fully addressable
51 *shadow = (SHADOW_GRANULARITY == 128) ? 0xff : value; // unaddressable
54 *shadow = static_cast<u8>(size - i);
  /external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
Shadow.glsllib 45 float shadow = 0.0;
47 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2(-1.5, 1.5) + o);
48 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2( 0.5, 1.5) + o);
49 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2(-1.5, -0.5) + o);
50 shadow += Shadow_DoShadowCompareOffset(tex,projCoord,vec2( 0.5, -0.5) + o);
51 shadow *= 0.25 ;
52 return shadow;
88 float shadow = 0.0;
92 shadow += clamp(Shadow_DoShadowCompareOffset(tex,projCoord,vec2(x,y)) +
96 shadow /= 16.0 ;
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/
bluetooth_pair_device.css 11 box-shadow: none;
  /external/chromium_org/third_party/WebKit/PerformanceTests/ShadowDOM/
DistributionWithMultipleShadowRoots.html 28 var shadow = document.createElement('shadow');
30 shadow.appendChild(content);
32 shadowRoot.appendChild(shadow);
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ContainerNodeAlgorithms.cpp 30 #include "core/dom/shadow/ElementShadow.h"
31 #include "core/dom/shadow/ShadowRoot.h"
58 if (ElementShadow* shadow = toElement(node).shadow()) {
59 ShadowRootVector roots(shadow);
95 if (ElementShadow* shadow = toElement(node).shadow()) {
96 ShadowRootVector roots(shadow);
114 if (ElementShadow* shadow = toElement(node).shadow()) {
    [all...]

Completed in 235 milliseconds

12 3 4 5 6 7 8 91011>>