Home
last modified time | relevance | path

Searched refs:CGFloat (Results 1 – 25 of 263) sorted by relevance

1234567891011

/external/chromium/chrome/browser/ui/cocoa/
Dbrowser_window_controller_private.h43 - (CGFloat)floatingBarHeight;
48 - (CGFloat)layoutTabStripAtMaxY:(CGFloat)maxY
49 width:(CGFloat)width
55 - (CGFloat)layoutToolbarAtMinX:(CGFloat)minX
56 maxY:(CGFloat)maxY
57 width:(CGFloat)width;
68 - (CGFloat)layoutBookmarkBarAtMinX:(CGFloat)minX
69 maxY:(CGFloat)maxY
70 width:(CGFloat)width;
80 - (CGFloat)layoutInfoBarAtMinX:(CGFloat)minX
[all …]
Danimatable_image.h32 CGFloat startOpacity_;
33 CGFloat endOpacity_;
36 CGFloat duration_;
41 @property(nonatomic) CGFloat startOpacity;
42 @property(nonatomic) CGFloat endOpacity;
43 @property(nonatomic) CGFloat duration;
Dpage_info_bubble_controller.mm34 - (CGFloat)addHeadlineViewForInfo:(const PageInfoModel::SectionInfo&)info
37 - (CGFloat)addDescriptionViewForInfo:(const PageInfoModel::SectionInfo&)info
40 - (CGFloat)addCertificateButtonToSubviews:(NSMutableArray*)subviews
41 atOffset:(CGFloat)offset; argument
44 atOffset:(CGFloat)offset; argument
45 - (CGFloat)addHelpButtonToSubviews:(NSMutableArray*)subviews
46 atOffset:(CGFloat)offset; argument
47 - (CGFloat)addSeparatorToSubviews:(NSMutableArray*)subviews
48 atOffset:(CGFloat)offset; argument
49 - (NSPoint)anchorPointForWindowWithHeight:(CGFloat)bubbleHeight
[all …]
Dbrowser_window_controller_private.mm54 const CGFloat kIncognitoBadgeOffset = 4;
59 const CGFloat kLocBarLeftRightInset = 1;
60 const CGFloat kLocBarTopInset = 0;
61 const CGFloat kLocBarBottomInset = 1;
177 CGFloat minX = NSMinX(contentBounds);
178 CGFloat minY = NSMinY(contentBounds);
179 CGFloat width = NSWidth(contentBounds);
186 CGFloat floatingBarHeight = [self floatingBarHeight];
189 CGFloat yOffset = isFullscreen ?
192 CGFloat maxY = NSMaxY(contentBounds) + yOffset;
[all …]
Dstyled_text_field_test_helper.h11 CGFloat leftMargin_;
12 CGFloat rightMargin_;
14 @property(nonatomic, assign) CGFloat leftMargin;
15 @property(nonatomic, assign) CGFloat rightMargin;
Dstyled_text_field_cell.mm20 const CGFloat inset,
21 const CGFloat outerRadius) {
25 CGFloat leftRadius = outerRadius - inset;
26 CGFloat rightRadius =
44 const CGFloat inset,
45 const CGFloat outerRadius,
59 const CGFloat inset,
60 const CGFloat outerRadius,
61 const CGFloat lineWidth,
63 const CGFloat finalInset = inset + (lineWidth / 2.0);
[all …]
Dinfo_bubble_view.h13 const CGFloat kBubbleArrowHeight = 8.0;
14 const CGFloat kBubbleArrowWidth = 15.0;
15 const CGFloat kBubbleCornerRadius = 8.0;
16 const CGFloat kBubbleArrowXOffset = kBubbleArrowWidth + kBubbleCornerRadius;
Dgradient_button_cell.h61 CGFloat hoverAlpha_; // 0-1. Controls the alpha during mouse hover
65 CGFloat pulseMultiplier_; // for selecting pulse direction when continuous.
66 CGFloat outerStrokeAlphaMult_; // For pulsing.
78 hoverAlpha:(CGFloat)hoverAlpha
110 @property(assign, nonatomic) CGFloat hoverAlpha;
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_controller.h41 const CGFloat kDefaultBookmarkWidth = 150.0;
44 const CGFloat kBookmarkHorizontalPadding = 1.0;
47 const CGFloat kBookmarkVerticalPadding = 2.0;
50 const CGFloat kBookmarkMenuButtonMinimumWidth = 100.0;
51 const CGFloat kBookmarkMenuButtonMaximumWidth = 485.0;
57 const CGFloat kBookmarkHorizontalScreenPadding = 8.0;
64 const CGFloat kScrollViewContentWidthMargin = 2;
68 const CGFloat kBookmarkMenuOverlap = 2.0;
74 const CGFloat kScrollWindowVerticalMargin = 6.0;
78 const CGFloat kBookmarkBarMenuOffset = 2.0;
[all …]
/external/chromium/chrome/browser/ui/cocoa/tab_contents/
Dsad_tab_view.mm15 static const CGFloat kSadTabOffset = -64;
17 static const CGFloat kIconTitleSpacing = 20;
19 static const CGFloat kTitleMessageSpacing = 15;
21 static const CGFloat kMessageLinkSpacing = 15;
23 static const CGFloat kTabHorzMargin = 13;
64 CGFloat maxWidth = NSWidth(newBounds) - (kTabHorzMargin * 2);
69 CGFloat iconX = (maxWidth - NSWidth(iconFrame)) / 2;
70 CGFloat iconY =
81 CGFloat titleX = (maxWidth - NSWidth(titleFrame)) / 2;
82 CGFloat titleY = iconY - kIconTitleSpacing - NSHeight(titleFrame);
[all …]
/external/clang/test/Sema/
Dinit-struct-qualified.c2 typedef float CGFloat; typedef
3 typedef struct _NSPoint { CGFloat x; CGFloat y; } NSPoint;
4 typedef struct _NSSize { CGFloat width; CGFloat height; } NSSize;
Dusual-float.c3 typedef float CGFloat; typedef
5 extern void func(CGFloat);
8 CGFloat cgf = 3.4; in foo()
11 func((CGFloat)cgf/65535.0f); in foo()
/external/clang/test/Analysis/
Ddefault-analyze.m24 typedef double CGFloat; typedef
27 CGFloat x;
28 CGFloat y;
33 CGFloat width;
34 CGFloat height;
47 static __inline__ __attribute__((always_inline)) CGFloat NSWidth(NSRect aRect) {
51 static __inline__ __attribute__((always_inline)) CGFloat NSHeight(NSRect aRect) {
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dimage_decoration.mm31 const CGFloat delta_height = NSHeight(frame) - [image size].height;
32 const CGFloat y_inset = std::floor(delta_height / 2.0);
33 const CGFloat delta_width = NSWidth(frame) - [image size].width;
34 const CGFloat x_inset = std::floor(delta_width / 2.0);
38 CGFloat ImageDecoration::GetWidthForSpace(CGFloat width) {
41 const CGFloat image_width = [image size].width;
Dbubble_decoration.mm15 const CGFloat kBubblePadding = 3.0;
22 const CGFloat kLeftSideOverdraw = 2.0;
25 const CGFloat kBubbleCornerRadius = 2.0;
32 const CGFloat kBubbleYInset = 4.0;
49 CGFloat BubbleDecoration::GetWidthForImageAndLabel(NSImage* image,
54 const CGFloat image_width = image ? [image size].width : 0.0;
61 const CGFloat label_width =
78 CGFloat BubbleDecoration::GetWidthForSpace(CGFloat width) {
79 const CGFloat all_width = GetWidthForImageAndLabel(image_, label_);
83 const CGFloat image_width = GetWidthForImageAndLabel(image_, nil);
Dinstant_opt_in_view.mm13 const CGFloat kPopupRoundingRadius = 3.5;
16 const CGFloat kHorizontalLineTopOffset = 2;
19 const CGFloat kHorizontalLineInset = 2;
42 CGFloat lineY = NSMaxY([self bounds]) - kHorizontalLineTopOffset;
43 CGFloat minX = std::min(NSMinX([self bounds]) + kHorizontalLineInset,
45 CGFloat maxX = std::max(NSMaxX([self bounds]) - kHorizontalLineInset,
Dkeyword_hint_decoration_unittest.mm28 const CGFloat kVeryWide = 1000.0;
29 const CGFloat kFairlyWide = 100.0; // Estimate for full hint space.
30 const CGFloat kEditingSpace = 50.0;
39 const CGFloat full_width = decoration_.GetWidthForSpace(kVeryWide);
40 const CGFloat not_wide_enough = full_width - 10.0;
53 const CGFloat image_width = decoration_.GetWidthForSpace(not_wide_enough);
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dchevron_menu_button_cell.mm10 const CGFloat kDividerWidth = 1.0;
13 const CGFloat kDividerInset = 3.0;
16 const CGFloat kDividerGrayscale = 0.5;
35 initWithColorsAndLocations:endPointColor, (CGFloat)0.0,
36 middleColor, (CGFloat)0.5,
37 endPointColor, (CGFloat)1.0,
Dbrowser_actions_container_view.h36 CGFloat lastXPos_;
39 CGFloat maxWidth_;
67 - (void)resizeToWidth:(CGFloat)width animate:(BOOL)animate;
72 - (CGFloat)resizeDeltaX;
79 @property(nonatomic) CGFloat maxWidth;
Dextension_view_mac.h60 static const CGFloat kMinWidth;
61 static const CGFloat kMinHeight;
62 static const CGFloat kMaxWidth;
63 static const CGFloat kMaxHeight;
/external/clang/test/CodeGenObjC/
Dsuper-dotsyntax-struct-property.m5 typedef double CGFloat; typedef
7 CGFloat x;
8 CGFloat y;
15 CGFloat width;
16 CGFloat height;
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_controller.h55 CGFloat iconTitleXOffset_; // between left edges of icon and title
79 + (CGFloat)minTabWidth;
80 + (CGFloat)maxTabWidth;
81 + (CGFloat)minSelectedTabWidth;
82 + (CGFloat)miniTabWidth;
83 + (CGFloat)appTabWidth;
/external/webkit/Source/WebCore/platform/mac/
DHTMLConverter.h42 CGFloat _textSizeMultiplier;
43 CGFloat _webViewTextSizeMultiplier;
44 CGFloat _defaultTabInterval;
45 CGFloat _defaultFontSize;
46 CGFloat _minimumFontSize;
/external/webkit/Source/WebKit/mac/WebView/
DWebVideoFullscreenHUDWindowController.mm38 static inline CGFloat webkit_CGFloor(CGFloat value)
141 static const CGFloat windowHeight = 59;
142 static const CGFloat windowWidth = 438;
338 static const CGFloat horizontalMargin = 10;
339 static const CGFloat playButtonWidth = 41;
340 static const CGFloat playButtonHeight = 35;
341 static const CGFloat playButtonTopMargin = 4;
342 static const CGFloat volumeSliderWidth = 50;
343 static const CGFloat volumeSliderHeight = 13;
344 static const CGFloat volumeButtonWidth = 18;
[all …]
/external/webkit/Source/WebCore/platform/graphics/cg/
DGradientCG.cpp47 static void gradientCallback(void* info, const CGFloat* in, CGFloat* out) in gradientCallback()
62 const CGFloat intervalRanges[2] = { 0, 1 }; in platformGradient()
63 const CGFloat colorComponentRanges[4 * 2] = { 0, 1, 0, 1, 0, 1, 0, 1 }; in platformGradient()
85 Vector<CGFloat, 4 * cReservedStops> colorComponents; in platformGradient()
88 Vector<CGFloat, cReservedStops> locations; in platformGradient()

1234567891011