Home
last modified time | relevance | path

Searched refs:Shadow (Results 1 – 25 of 70) sorted by relevance

123

/external/chromium_org/ui/wm/core/
Dshadow.cc35 float GetOpacityForStyle(wm::Shadow::Style style) { in GetOpacityForStyle()
37 case wm::Shadow::STYLE_ACTIVE: in GetOpacityForStyle()
39 case wm::Shadow::STYLE_INACTIVE: in GetOpacityForStyle()
41 case wm::Shadow::STYLE_SMALL: in GetOpacityForStyle()
47 int GetShadowApertureForStyle(wm::Shadow::Style style) { in GetShadowApertureForStyle()
49 case wm::Shadow::STYLE_ACTIVE: in GetShadowApertureForStyle()
51 case wm::Shadow::STYLE_INACTIVE: in GetShadowApertureForStyle()
53 case wm::Shadow::STYLE_SMALL: in GetShadowApertureForStyle()
59 int GetInteriorInsetForStyle(wm::Shadow::Style style) { in GetInteriorInsetForStyle()
61 case wm::Shadow::STYLE_ACTIVE: in GetInteriorInsetForStyle()
[all …]
Dshadow_controller_unittest.cc62 TEST_F(ShadowControllerTest, Shadow) { in TEST_F() argument
71 const Shadow* shadow = api.GetShadowForWindow(window.get()); in TEST_F()
112 const Shadow* shadow = api.GetShadowForWindow(window.get()); in TEST_F()
137 Shadow* shadow1 = api.GetShadowForWindow(window1.get()); in TEST_F()
139 EXPECT_EQ(Shadow::STYLE_ACTIVE, shadow1->style()); in TEST_F()
151 Shadow* shadow2 = api.GetShadowForWindow(window2.get()); in TEST_F()
153 EXPECT_EQ(Shadow::STYLE_INACTIVE, shadow1->style()); in TEST_F()
154 EXPECT_EQ(Shadow::STYLE_ACTIVE, shadow2->style()); in TEST_F()
168 Shadow* tooltip_shadow = api.GetShadowForWindow(tooltip_window.get()); in TEST_F()
170 EXPECT_EQ(Shadow::STYLE_SMALL, tooltip_shadow->style()); in TEST_F()
[all …]
Dshadow_controller.cc57 Shadow::Style GetShadowStyleForWindow(aura::Window* window) { in GetShadowStyleForWindow()
58 return ShouldUseSmallShadowForWindow(window) ? Shadow::STYLE_SMALL : in GetShadowStyleForWindow()
60 Shadow::STYLE_ACTIVE : Shadow::STYLE_INACTIVE); in GetShadowStyleForWindow()
66 Shadow::Style GetShadowStyleForWindowLosingActive( in GetShadowStyleForWindowLosingActive()
70 return Shadow::STYLE_ACTIVE; in GetShadowStyleForWindowLosingActive()
78 return Shadow::STYLE_ACTIVE; in GetShadowStyleForWindowLosingActive()
80 return Shadow::STYLE_INACTIVE; in GetShadowStyleForWindowLosingActive()
116 typedef std::map<aura::Window*, linked_ptr<Shadow> > WindowShadowMap;
130 Shadow* GetShadowForWindow(aura::Window* window);
182 Shadow* shadow = GetShadowForWindow(window); in OnWindowBoundsChanged()
[all …]
Dshadow_unittest.cc128 Shadow shadow; in TEST_F()
130 shadow.Init(Shadow::STYLE_SMALL); in TEST_F()
132 shadow.SetStyle(Shadow::STYLE_ACTIVE); in TEST_F()
134 shadow.SetStyle(Shadow::STYLE_INACTIVE); in TEST_F()
140 Shadow shadow; in TEST_F()
143 shadow.Init(Shadow::STYLE_ACTIVE); in TEST_F()
149 shadow.SetStyle(Shadow::STYLE_SMALL); in TEST_F()
Dshadow.h21 class WM_EXPORT Shadow : public ui::ImplicitAnimationObserver {
36 Shadow();
37 virtual ~Shadow();
87 DISALLOW_COPY_AND_ASSIGN(Shadow);
Dshadow_controller.h28 class Shadow; variable
42 Shadow* GetShadowForWindow(aura::Window* window);
/external/compiler-rt/lib/tsan/rtl/
Dtsan_update_shadow_word_inl.h30 if (Shadow::Addr0AndSizeAreEqual(cur, old)) {
33 if (Shadow::TidsAreEqual(old, cur)) {
49 if (Shadow::TwoRangesIntersect(old, cur, kAccessSize)) {
51 if (Shadow::TidsAreEqual(old, cur)) {
Dtsan_rtl.h152 friend class Shadow;
169 class Shadow : public FastState {
171 explicit Shadow(u64 x) in Shadow() function
175 explicit Shadow(const FastState &s) in Shadow() function
211 static inline bool TidsAreEqual(const Shadow s1, const Shadow s2) { in TidsAreEqual()
218 bool Addr0AndSizeAreEqual(const Shadow s1, const Shadow s2) { in Addr0AndSizeAreEqual()
223 static ALWAYS_INLINE bool TwoRangesIntersect(Shadow s1, Shadow s2, in TwoRangesIntersect()
300 static bool TwoRangesIntersectSlow(const Shadow s1, const Shadow s2) { in TwoRangesIntersectSlow()
501 void AddMemoryAccess(uptr addr, Shadow s, const StackTrace *stack,
589 u64 *shadow_mem, Shadow cur);
Dtsan_rtl.cc499 Shadow LoadShadow(u64 *p) { in LoadShadow()
501 return Shadow(raw); in LoadShadow()
517 Shadow cur, Shadow old) { in HandleRace()
528 static inline bool HappensBefore(Shadow old, ThreadState *thr) { in HappensBefore()
535 u64 *shadow_mem, Shadow cur) { in MemoryAccessImpl1()
554 Shadow old(0); in MemoryAccessImpl1()
629 Shadow cur(a); in ContainsSameAccessSlow()
631 Shadow old(LoadShadow(&s[i])); in ContainsSameAccessSlow()
632 if (Shadow::Addr0AndSizeAreEqual(cur, old) && in ContainsSameAccessSlow()
751 Shadow cur(fast_state); in MemoryAccess()
[all …]
Dtsan_rtl_report.cc171 void ScopedReport::AddMemoryAccess(uptr addr, Shadow s, in AddMemoryAccess()
618 Shadow s0(thr->racy_state[0]); in RaceBetweenAtomicAndFree()
619 Shadow s1(thr->racy_state[1]); in RaceBetweenAtomicAndFree()
644 Shadow s(thr->racy_state[1]); in ReportRace()
653 uptr a0 = addr + Shadow(thr->racy_state[0]).addr0(); in ReportRace()
654 uptr a1 = addr + Shadow(thr->racy_state[1]).addr0(); in ReportRace()
655 uptr e0 = a0 + Shadow(thr->racy_state[0]).size(); in ReportRace()
656 uptr e1 = a1 + Shadow(thr->racy_state[1]).size(); in ReportRace()
681 Shadow s2(thr->racy_state[1]); in ReportRace()
690 Shadow s(thr->racy_state[i]); in ReportRace()
[all …]
Dtsan_rtl_thread.cc369 Shadow cur(fast_state); in MemoryAccessRange()
380 Shadow cur(fast_state); in MemoryAccessRange()
390 Shadow cur(fast_state); in MemoryAccessRange()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_shadow_test.cc19 TEST(Shadow, FastState) { in TEST() argument
20 Shadow s(FastState(11, 22)); in TEST()
49 TEST(Shadow, Mapping) { in TEST() argument
64 TEST(Shadow, Celling) { in TEST() argument
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp288 void setShadow(Instruction *I, Value *Shadow);
292 void storeShadow(Value *Addr, uint64_t Size, uint64_t Align, Value *Shadow,
825 Value *&Shadow = ValShadowMap[V]; in getShadow() local
826 if (!Shadow) { in getShadow()
837 Shadow = IRB.CreateLoad(getArgTLS(A->getArgNo(), ArgTLSPos)); in getShadow()
845 Shadow = i; in getShadow()
846 assert(Shadow->getType() == DFS.ShadowTy); in getShadow()
850 NonZeroChecks.insert(Shadow); in getShadow()
852 Shadow = DFS.ZeroShadow; in getShadow()
855 return Shadow; in getShadow()
[all …]
DMemorySanitizer.cpp520 Value *Shadow; member
524 : Shadow(S), Origin(O), OrigIns(I) { } in ShadowOriginAndInsertPoint()
552 void storeOrigin(IRBuilder<> &IRB, Value *Addr, Value *Shadow, Value *Origin, in storeOrigin()
554 if (isa<StructType>(Shadow->getType())) { in storeOrigin()
558 Value *ConvertedShadow = convertToShadowTyNoVec(Shadow, IRB); in storeOrigin()
592 Value *Shadow = SI.isAtomic() ? getCleanShadow(Val) : getShadow(Val); in materializeStores() local
593 Value *ShadowPtr = getShadowPtr(Addr, Shadow->getType(), IRB); in materializeStores()
596 IRB.CreateAlignedStore(Shadow, ShadowPtr, SI.getAlignment()); in materializeStores()
606 storeOrigin(IRB, Addr, Shadow, getOrigin(Val), Alignment, in materializeStores()
612 void materializeOneCheck(Instruction *OrigIns, Value *Shadow, Value *Origin, in materializeOneCheck()
[all …]
/external/chromium_org/third_party/cython/src/Cython/
D__init__.py1 from Cython.Shadow import __version__
4 from Cython.Shadow import *
/external/chromium_org/ui/views/bubble/
Dbubble_border.h85 enum Shadow { enum
111 BubbleBorder(Arrow arrow, Shadow shadow, SkColor color);
161 Shadow shadow() const { return shadow_; } in shadow()
221 Shadow shadow_;
Dbubble_delegate.h67 BubbleBorder::Shadow shadow() const { return shadow_; } in shadow()
68 void set_shadow(BubbleBorder::Shadow shadow) { shadow_ = shadow; } in set_shadow()
170 BubbleBorder::Shadow shadow_;
/external/chromium_org/athena/wm/
Dtitle_drag_controller.h20 class Shadow; variable
56 scoped_ptr<wm::Shadow> shadow_;
Dtitle_drag_controller.cc108 shadow_.reset(new wm::Shadow()); in OnGestureEvent()
109 shadow_->Init(wm::Shadow::STYLE_ACTIVE); in OnGestureEvent()
/external/chromium_org/ui/keyboard/
Dkeyboard_controller_proxy.h29 class Shadow; variable
133 scoped_ptr<wm::Shadow> shadow_;
Dkeyboard_controller_proxy.cc193 shadow_.reset(new wm::Shadow()); in OnWindowBoundsChanged()
194 shadow_->Init(wm::Shadow::STYLE_ACTIVE); in OnWindowBoundsChanged()
/external/deqp/doc/testspecs/GLES3/
Dfunctional.texture.shadow.txt19 Shadow compare tests
34 Shadow compare tests render two adjecent quads. Left one has texture
/external/chromium_org/third_party/cython/src/
Dcython.py21 from Cython.Shadow import *
/external/chromium_org/third_party/cython/src/Cython/Build/Tests/
DTestInline.py2 from Cython.Shadow import inline
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprogram_parser.h207 unsigned Shadow:1; member

123