Searched refs:CGFloat (Results 1 - 25 of 47) sorted by relevance

12

/external/webkit/WebCore/platform/
H A DFloatConversion.h50 CGFloat narrowPrecisionToCGFloat(T);
53 inline CGFloat narrowPrecisionToCGFloat(double number)
55 return static_cast<CGFloat>(number);
/external/webkit/WebCore/platform/graphics/
H A DDashArray.h32 typedef Vector<CGFloat> DashArray;
/external/webkit/WebKit/mac/WebView/
H A DWebWindowAnimation.h48 CGFloat _initialAlpha, _finalAlpha;
53 - (id)initWithDuration:(NSTimeInterval)duration window:(NSWindow *)window initialAlpha:(CGFloat)initialAlpha finalAlpha:(CGFloat)finalAlpha;
55 - (CGFloat)currentAlpha;
H A DWebWindowAnimation.m30 static const CGFloat slowMotionFactor = 10.;
47 static CGFloat squaredDistance(NSPoint point1, NSPoint point2)
49 CGFloat deltaX = point1.x - point2.x;
50 CGFloat deltaY = point1.y - point2.y;
132 static const CGFloat maxAdditionalDuration = 1.0;
133 static const CGFloat speedFactor = 0.0001;
135 CGFloat maxDist = squaredDistance(_initialFrame.origin, _finalFrame.origin);
136 CGFloat dist;
185 - (id)initWithDuration:(NSTimeInterval)duration window:(NSWindow *)window initialAlpha:(CGFloat)initialAlpha finalAlpha:(CGFloat)finalAlph
[all...]
H A DWebVideoFullscreenHUDWindowController.mm38 static inline CGFloat webkit_CGFloor(CGFloat value)
142 static const CGFloat windowHeight = 59;
143 static const CGFloat windowWidth = 438;
339 static const CGFloat horizontalMargin = 10;
340 static const CGFloat playButtonWidth = 41;
341 static const CGFloat playButtonHeight = 35;
342 static const CGFloat playButtonTopMargin = 4;
343 static const CGFloat volumeSliderWidth = 50;
344 static const CGFloat volumeSliderHeigh
[all...]
/external/webkit/WebCore/platform/graphics/cg/
H A DColorCG.cpp46 const CGFloat* components = CGColorGetComponents(color);
82 CGFloat components[4] = { static_cast<CGFloat>(c.red()) / 255, static_cast<CGFloat>(c.green()) / 255,
83 static_cast<CGFloat>(c.blue()) / 255, static_cast<CGFloat>(c.alpha()) / 255 };
H A DGradientCG.cpp48 static void gradientCallback(void* info, const CGFloat* in, CGFloat* out)
63 const CGFloat intervalRanges[2] = { 0, 1 };
64 const CGFloat colorComponentRanges[4 * 2] = { 0, 1, 0, 1, 0, 1, 0, 1 };
88 Vector<CGFloat, 4 * cReservedStops> colorComponents;
91 Vector<CGFloat, cReservedStops> locations;
H A DPatternCG.cpp67 CGFloat xStep = m_repeatX ? tileRect.width() : (1 << 22);
68 CGFloat yStep = m_repeatY ? tileRect.height() : (1 << 22);
H A DGraphicsContextCG.cpp74 CGFloat components[4];
317 const CGFloat dottedLine[2] = { patWidth, patWidth };
434 const CGFloat dottedLine[2] = { patWidth, patWidth };
479 const CGFloat patternAlpha = 1;
494 const CGFloat patternAlpha = 1;
771 CGFloat xOffset = offset.width();
772 CGFloat yOffset = offset.height();
773 CGFloat blurRadius = blur;
779 CGFloat A = userToBaseCTM.a * userToBaseCTM.a + userToBaseCTM.b * userToBaseCTM.b;
780 CGFloat
[all...]
H A DImageCG.cpp88 CGFloat width = CGImageGetWidth(cgImage);
89 CGFloat height = CGImageGetHeight(cgImage);
325 CGFloat alpha = 1;
/external/webkit/WebCore/platform/graphics/mac/
H A DColorMac.mm55 CGFloat redComponent;
56 CGFloat greenComponent;
57 CGFloat blueComponent;
58 CGFloat alpha;
95 NSColor *result = [NSColor colorWithDeviceRed:static_cast<CGFloat>(color.red()) / 255
96 green:static_cast<CGFloat>(color.green()) / 255
97 blue:static_cast<CGFloat>(color.blue()) / 255
98 alpha:static_cast<CGFloat>(color.alpha()) /255];
114 CGFloat components[4];
H A DComplexTextController.cpp43 static inline CGFloat roundCGFloat(CGFloat f)
45 if (sizeof(CGFloat) == sizeof(float))
47 return static_cast<CGFloat>(round(f));
50 static inline CGFloat ceilCGFloat(CGFloat f)
52 if (sizeof(CGFloat) == sizeof(float))
54 return static_cast<CGFloat>(ceil(f));
99 CGFloat x = h;
107 CGFloat adjustedAdvanc
[all...]
/external/webkit/WebKitExamplePlugins/NetscapeCoreAnimationMoviePlugin/
H A DMovieControllerLayer.h66 CGFloat _mouseDownXDelta;
H A DMovieControllerLayer.m120 CGFloat sliderYPosition = (self.bounds.size.height - CGImageGetHeight(_sliderTrackLeft)) / 2.0;
121 CGFloat playPauseButtonWidth = [self _playPauseButtonRect].size.width;
131 CGFloat fraction = 0.0;
135 CGFloat x = fraction * (CGRectGetWidth(sliderRect) - CGImageGetWidth(_thumb));
284 - (void)_setNewTimeForThumbCenterX:(CGFloat)centerX
288 CGFloat fraction = (centerX - CGRectGetMinX(innerRect)) / CGRectGetWidth(innerRect);
/external/webkit/WebKit/mac/
H A DWebKitPrefix.h62 typedef double CGFloat; typedef
64 typedef float CGFloat; typedef
/external/webkit/WebKitLibraries/win/include/WebKitSystemInterface/
H A DWebKitSystemInterface.h54 void wkSetFontSmoothingContrast(CGFloat);
55 CGFloat wkGetFontSmoothingContrast();
/external/webkit/WebCore/platform/graphics/win/
H A DWKCACFLayer.h101 CGFloat v[4] = { CGRectGetMinX(r), CGRectGetMinY(r), CGRectGetMaxX(r), CGRectGetMaxY(r) };
126 void setAnchorPointZ(CGFloat z) { CACFLayerSetAnchorPointZ(layer(), z); setNeedsCommit(); }
127 CGFloat anchorPointZ() const { return CACFLayerGetAnchorPointZ(layer()); }
135 void setBorderWidth(CGFloat width) { CACFLayerSetBorderWidth(layer(), width); setNeedsCommit(); }
136 CGFloat borderWidth() const { return CACFLayerGetBorderWidth(layer()); }
197 void setZPosition(CGFloat position) { CACFLayerSetZPosition(layer(), position); setNeedsCommit(); }
198 CGFloat zPosition() const { return CACFLayerGetZPosition(layer()); }
H A DFontCGWin.cpp45 static inline CGFloat toCGFloat(FIXED f)
47 return f.value + f.fract / CGFloat(65536.0);
86 CGFloat x = toCGFloat(segment->apfx[i].x);
87 CGFloat y = toCGFloat(segment->apfx[i].y);
88 CGFloat cpx;
89 CGFloat cpy;
106 CGFloat cp1x = toCGFloat(segment->apfx[i].x);
107 CGFloat cp1y = toCGFloat(segment->apfx[i].y);
108 CGFloat cp2x = toCGFloat(segment->apfx[i + 1].x);
109 CGFloat cp2
[all...]
/external/webkit/WebKit/mac/Panels/
H A DWebAuthenticationPanel.m183 CGFloat smallLabelMargin = NSMinY(realmFrame) - NSMaxY(smallLabelFrame);
184 CGFloat smallLabelToMainLabel = NSMinY(mainLabelFrame) - NSMaxY(smallLabelFrame);
185 CGFloat deltaMargin = smallLabelToMainLabel - smallLabelMargin;
/external/webkit/WebCore/
H A Dconfig.h313 typedef double CGFloat; typedef
315 typedef float CGFloat; typedef
/external/webkit/WebKit/chromium/src/mac/
H A DWebScreenInfoFactory.mm61 CGFloat scale = 1 / [destination userSpaceScaleFactor]; // scale down
/external/webkit/WebKit/mac/Misc/
H A DWebKitNSStringExtras.mm41 static inline CGFloat webkit_CGCeiling(CGFloat value)
91 CGFloat red;
92 CGFloat green;
93 CGFloat blue;
94 CGFloat alpha;
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
H A Dnon-kerned-drawing.cpp80 CGFloat red, green, blue, alpha;
/external/webkit/WebKitTools/DumpRenderTree/cg/
H A DImageDiffCG.cpp51 typedef double CGFloat; typedef
53 typedef float CGFloat; typedef
/external/webkit/WebCore/rendering/
H A DRenderThemeSafari.cpp107 const CGFloat* components = CGColorGetComponents(color);
705 static void TopGradientInterpolate(void* info, const CGFloat* inData, CGFloat* outData)
715 static void BottomGradientInterpolate(void* info, const CGFloat* inData, CGFloat* outData)
725 static void MainGradientInterpolate(void* info, const CGFloat* inData, CGFloat* outData)
735 static void TrackGradientInterpolate(void* info, const CGFloat* inData, CGFloat* outData)

Completed in 312 milliseconds

12