Lines Matching refs:phase
38 uint32_t phase = PlatformWheelEventPhaseNone;
42 phase |= PlatformWheelEventPhaseBegan;
44 phase |= PlatformWheelEventPhaseStationary;
46 phase |= PlatformWheelEventPhaseChanged;
48 phase |= PlatformWheelEventPhaseEnded;
50 phase |= PlatformWheelEventPhaseCancelled;
54 phase = PlatformWheelEventPhaseNone;
57 phase = PlatformWheelEventPhaseBegan;
60 phase = PlatformWheelEventPhaseChanged;
63 phase = PlatformWheelEventPhaseEnded;
68 return static_cast<PlatformWheelEventPhase>(phase);
74 uint32_t phase = PlatformWheelEventPhaseNone;
75 if ([event phase] & NSEventPhaseBegan)
76 phase |= PlatformWheelEventPhaseBegan;
77 if ([event phase] & NSEventPhaseStationary)
78 phase |= PlatformWheelEventPhaseStationary;
79 if ([event phase] & NSEventPhaseChanged)
80 phase |= PlatformWheelEventPhaseChanged;
81 if ([event phase] & NSEventPhaseEnded)
82 phase |= PlatformWheelEventPhaseEnded;
83 if ([event phase] & NSEventPhaseCancelled)
84 phase |= PlatformWheelEventPhaseCancelled;
85 return static_cast<PlatformWheelEventPhase>(phase);