Lines Matching full:self
58 self = [super init];
59 if (!self)
62 [self setAnimationBlockingMode:NSAnimationNonblockingThreaded];
64 [self setFrameRate:60.];
65 return self;
70 self = [self init];
71 if (!self)
78 return self;
99 return 0.5 - 0.5 * cos(M_PI * (1 - [self currentProgress]));
104 return scaledRect(_finalFrame, _initialFrame, [self currentValue]);
114 NSRect currentRect = [self currentFrame];
157 [self setDuration:_hintedDuration + [self additionalDurationNeededToReachFinalFrame]];
174 self = [super init];
175 if (!self)
178 [self setAnimationBlockingMode:NSAnimationNonblockingThreaded];
180 [self setFrameRate:60];
181 [self setAnimationCurve:NSAnimationEaseInOut];
182 return self;
187 self = [self init];
188 if (!self)
193 return self;
203 return MAX(0.0, MIN(1.0, _initialAlpha + [self currentValue] * (_finalAlpha - _initialAlpha)));
215 WKWindowSetAlpha(_window, [self currentAlpha]);
217 [_window setAlphaValue:[self currentAlpha]];