Home
last modified time | relevance | path

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

123

/external/clang/test/CodeGenObjC/Inputs/
Dnsvalue-boxed-expressions-support.h7 typedef double CGFloat; typedef
15 CGFloat x;
16 CGFloat y;
20 CGFloat width;
21 CGFloat height;
30 CGFloat x;
31 CGFloat y;
36 CGFloat width;
37 CGFloat height;
48 CGFloat top;
[all …]
/external/clang/test/CodeGenObjC/
Darc-linetable-autorelease.m16 typedef double CGFloat; typedef
20 NSRect NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h);
22 + (NSBezierPath *)bezierPathWithRoundedRect:(NSRect)rect xRadius:(CGFloat)xRadius yRadius:(CGFloat)… argument
25 …erPath *)_createBezierPathWithWidth:(CGFloat)width height:(CGFloat)height radius:(CGFloat)radius l…
29 CGFloat pattern[2]; argument
Dsuper-dotsyntax-struct-property.m5 typedef double CGFloat; typedef
7 CGFloat x;
8 CGFloat y;
15 CGFloat width;
16 CGFloat height;
/external/clang/test/Sema/
Dinit-struct-qualified.c3 typedef float CGFloat; typedef
4 typedef struct _NSPoint { CGFloat x; CGFloat y; } NSPoint;
5 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) {
DNSWindow.m19 typedef float CGFloat; typedef
21 NSRect NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h);
DNSPanel.m27 typedef float CGFloat; typedef
29 …line__ __attribute__((always_inline)) NSRect NSMakeRect(CGFloat x, CGFloat y, CGFloat w, CGFloat h…
Dlocalization-aggressive.m16 typedef CGFLOAT_TYPE CGFloat; typedef
18 CGFloat x;
19 CGFloat y;
56 CGPoint CGPointMake(CGFloat x, CGFloat y); category
/external/skia/src/utils/mac/
DSkCGGeometry.h31 static inline CGFloat SkCGRectGetMinX(const CGRect& rect) { in SkCGRectGetMinX()
35 static inline CGFloat SkCGRectGetMaxX(const CGRect& rect) { in SkCGRectGetMaxX()
39 static inline CGFloat SkCGRectGetMinY(const CGRect& rect) { in SkCGRectGetMinY()
43 static inline CGFloat SkCGRectGetMaxY(const CGRect& rect) { in SkCGRectGetMaxY()
47 static inline CGFloat SkCGRectGetWidth(const CGRect& rect) { in SkCGRectGetWidth()
DSkCTFont.cpp280 static constexpr CGFloat defaultNSFontWeights[] = in SkCTFontGetNSFontWeightMapping()
303 static CGFloat nsFontWeights[11]; in SkCTFontGetNSFontWeightMapping()
304 static const CGFloat (*selectedNSFontWeights)[11] = &defaultNSFontWeights; in SkCTFontGetNSFontWeightMapping()
312 nsFontWeights[i++] = *(static_cast<CGFloat*>(nsFontWeightValuePtr)); in SkCTFontGetNSFontWeightMapping()
326 static constexpr CGFloat defaultDataFontWeights[] = in SkCTFontGetDataFontWeightMapping()
329 static const CGFloat (*selectedDataFontWeights)[11] = &defaultDataFontWeights; in SkCTFontGetDataFontWeightMapping()
330 static CGFloat dataFontWeights[11]; in SkCTFontGetDataFontWeightMapping()
353 CGFloat previousWeight = -CGFLOAT_MAX; in SkCTFontGetDataFontWeightMapping()
402 CGFloat weight = 0; in SkCTFontGetDataFontWeightMapping()
DSkCGBase.h24 static inline CGFloat SkScalarToCGFloat(SkScalar scalar) { in SkScalarToCGFloat()
28 static inline SkScalar SkScalarFromCGFloat(CGFloat cgFloat) { in SkScalarFromCGFloat()
32 static inline float SkFloatFromCGFloat(CGFloat cgFloat) { in SkFloatFromCGFloat()
DSkCTFont.h30 using SkCTFontWeightMapping = const CGFloat[11];
/external/webrtc/examples/objc/AppRTCMobile/ios/
DARDMainView.m15 static CGFloat const kRoomTextFieldHeight = 40;
16 static CGFloat const kRoomTextFieldMargin = 8;
17 static CGFloat const kCallControlMargin = 8;
142 CGFloat roomTextWidth = bounds.size.width - 2 * kRoomTextFieldMargin;
143 CGFloat roomTextHeight = [_roomText sizeThatFits:bounds.size].height;
148 CGFloat buttonHeight =
151 CGFloat regularCallFrameTop = CGRectGetMaxY(_roomText.frame) + kCallControlMargin;
157 CGFloat loopbackCallFrameTop = CGRectGetMaxY(regularCallFrame) + kCallControlMargin;
163 CGFloat audioLoopTop = CGRectGetMaxY(loopbackCallFrame) + kCallControlMargin;
DARDVideoCallView.m19 static CGFloat const kButtonPadding = 16;
20 static CGFloat const kButtonSize = 48;
21 static CGFloat const kLocalVideoViewSize = 120;
22 static CGFloat const kLocalVideoViewPadding = 8;
23 static CGFloat const kStatusBarHeight = 20;
112 CGFloat scale = 1;
/external/skia/tools/skottie_ios_app/
Dmain.mm39 CGFloat screenWidth = [[UIScreen mainScreen] bounds].size.width;
48 constexpr CGFloat kSpacing = 2;
49 CGFloat totalHeight = kSpacing;
62 CGFloat height = animSize.width ? (screenWidth * animSize.height / animSize.width) : 0;
74 CGFloat statusBarHeight = [[UIApplication sharedApplication] statusBarFrame].size.height;
/external/google-breakpad/src/client/mac/sender/
Dcrash_report_sender.m54 - (void)breakpad_shiftVertically:(CGFloat)offset; argument
57 - (void)breakpad_shiftHorizontally:(CGFloat)offset; argument
61 - (void)breakpad_shiftVertically:(CGFloat)offset { argument
67 - (void)breakpad_shiftHorizontally:(CGFloat)offset { argument
77 - (void)breakpad_adjustHeight:(CGFloat)heightDelta; argument
81 - (void)breakpad_adjustHeight:(CGFloat)heightDelta { argument
99 - (CGFloat)breakpad_adjustHeightToFit;
104 - (CGFloat)breakpad_adjustWidthToFit;
108 - (CGFloat)breakpad_adjustHeightToFit {
123 - (CGFloat)breakpad_adjustWidthToFit {
[all …]
/external/clang/test/SemaObjC/
Dproperty-9-impl-method.m19 typedef float CGFloat; typedef
23 extern void NSDivideRect(NSRect inRect, NSRect * slice, NSRect * rem, CGFloat amount, NSRectEdge ed…
59 -(CGFloat) tabAreaThickness { return 0; }
Dprops-on-prots.m16 typedef float CGFloat; typedef
45 -(void) setHJustification:(CGFloat) hJust; argument
/external/skia/src/ports/
DSkTypeface_mac_ct.cpp180 SkUniqueCFRef<CTFontRef> SkCTFontCreateExactCopy(CTFontRef baseFont, CGFloat textSize, in SkCTFontCreateExactCopy()
276 static bool find_dict_CGFloat(CFDictionaryRef dict, CFStringRef name, CGFloat* value) { in find_dict_CGFloat()
321 int operator()(CGFloat s) { return s + 0.5; } in operator ()()
324 CGFloat operator()(CGFloat s) { return s; } in operator ()()
332 CGFloat SkCTFontCTWeightForCSSWeight(int fontstyleWeight) { in SkCTFontCTWeightForCSSWeight()
333 using Interpolator = LinearInterpolater<int, CGFloat, CGFloatIdentity>; in SkCTFontCTWeightForCSSWeight()
341 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping(); in SkCTFontCTWeightForCSSWeight()
358 static int ct_weight_to_fontstyle(CGFloat cgWeight, bool fromDataProvider) { in ct_weight_to_fontstyle()
359 using Interpolator = LinearInterpolater<CGFloat, int, RoundCGFloatToInt>; in ct_weight_to_fontstyle()
368 const CGFloat(&nsFontWeights)[11] = SkCTFontGetNSFontWeightMapping(); in ct_weight_to_fontstyle()
[all …]
DSkTypeface_mac_ct.h58 SkUniqueCFRef<CTFontRef> SkCTFontCreateExactCopy(CTFontRef baseFont, CGFloat textSize,
63 CGFloat SkCTFontCTWeightForCSSWeight(int fontstyleWeight);
64 CGFloat SkCTFontCTWidthForCSSWidth(int fontstyleWidth);
DSkScalerContext_mac_ct.cpp145 CGFloat textSize = SkScalarToCGFloat(scale.y()); in SkScalerContext_Mac()
156 CGFloat components[4]; in CGColorForSkColor()
157 components[0] = (CGFloat)SkColorGetR(bgra) * (1/255.0f); in CGColorForSkColor()
158 components[1] = (CGFloat)SkColorGetG(bgra) * (1/255.0f); in CGColorForSkColor()
159 components[2] = (CGFloat)SkColorGetB(bgra) * (1/255.0f); in CGColorForSkColor()
736 const CGFloat fontSize = CTFontGetSize(fCTFont.get()); in generateFontMetrics()
/external/clang/test/Parser/
Dcheck-syntax-1.m6 typedef float CGFloat; typedef
8 + (XNSNumber *) numberWithCGFloat : (CGFloat) float; // expected-error {{expected identifier}} \ argument
/external/harfbuzz_ng/src/
Dhb-coretext.cc147 create_ct_font (CGFontRef cg_font, CGFloat font_size) in create_ct_font()
326 CGFloat font_size = (CGFloat) (font->ptem <= 0.f ? HB_CORETEXT_DEFAULT_FONT_SIZE : font->ptem); in _hb_coretext_shaper_font_data_create()
493 CGFloat ct_font_size = CTFontGetSize (ct_font); in _hb_coretext_shape()
494 CGFloat x_mult = (CGFloat) font->x_scale / ct_font_size; in _hb_coretext_shape()
495 CGFloat y_mult = (CGFloat) font->y_scale / ct_font_size; in _hb_coretext_shape()
873 CGFloat advances_so_far = 0; in _hb_coretext_shape()
894 CGFloat run_advance = CTRunGetTypographicBounds (run, range_all, nullptr, nullptr, nullptr); in _hb_coretext_shape()
1076 CGFloat advance; in _hb_coretext_shape()
1093 CGFloat advance; in _hb_coretext_shape()
/external/skia/tools/sk_app/mac/
DGraphiteDawnMetalWindowContext_mac.mm46 CGFloat backingScaleFactor = sk_app::GetBackingScaleFactor(fMainView);
110 CGFloat backingScaleFactor = sk_app::GetBackingScaleFactor(fMainView);

123