Home
last modified time | relevance | path

Searched refs:segmentCount (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/third_party/skia/src/pathops/
DSkOpContour.h100 int segmentCount = fSegments.count(); in alignMultiples() local
101 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in alignMultiples()
121 int segmentCount = fSegments.count(); in checkDuplicates() local
122 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkDuplicates()
134 int segmentCount = fSegments.count(); in checkEnds() local
135 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkEnds()
148 int segmentCount = fSegments.count(); in checkMultiples() local
149 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkMultiples()
159 int segmentCount = fSegments.count(); in checkSmall() local
160 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkSmall()
[all …]
DSkOpContour.cpp43 int segmentCount = fSortedSegments.count(); in nonVerticalSegment() local
44 SkASSERT(segmentCount > 0); in nonVerticalSegment()
45 for (int sortedIndex = fFirstSorted; sortedIndex < segmentCount; ++sortedIndex) { in nonVerticalSegment()
253 int segmentCount = fSegments.count(); in calcAngles() local
254 for (int test = 0; test < segmentCount; ++test) { in calcAngles()
636 int segmentCount = fSegments.count(); in sortAngles() local
637 for (int test = 0; test < segmentCount; ++test) { in sortAngles()
643 int segmentCount = fSegments.count(); in sortSegments() local
644 fSortedSegments.push_back_n(segmentCount); in sortSegments()
645 for (int test = 0; test < segmentCount; ++test) { in sortSegments()
[all …]
DSkPathOpsCommon.cpp60 int segmentCount = contour->segments().count(); in contourRangeCheckY() local
61 for (int test = 0; test < segmentCount; ++test) { in contourRangeCheckY()
/external/skia/src/pathops/
DSkOpContour.h100 int segmentCount = fSegments.count(); in alignMultiples() local
101 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in alignMultiples()
121 int segmentCount = fSegments.count(); in checkDuplicates() local
122 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkDuplicates()
134 int segmentCount = fSegments.count(); in checkEnds() local
135 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkEnds()
148 int segmentCount = fSegments.count(); in checkMultiples() local
149 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkMultiples()
159 int segmentCount = fSegments.count(); in checkSmall() local
160 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkSmall()
[all …]
DSkOpContour.cpp43 int segmentCount = fSortedSegments.count(); in nonVerticalSegment() local
44 SkASSERT(segmentCount > 0); in nonVerticalSegment()
45 for (int sortedIndex = fFirstSorted; sortedIndex < segmentCount; ++sortedIndex) { in nonVerticalSegment()
253 int segmentCount = fSegments.count(); in calcAngles() local
254 for (int test = 0; test < segmentCount; ++test) { in calcAngles()
636 int segmentCount = fSegments.count(); in sortAngles() local
637 for (int test = 0; test < segmentCount; ++test) { in sortAngles()
643 int segmentCount = fSegments.count(); in sortSegments() local
644 fSortedSegments.push_back_n(segmentCount); in sortSegments()
645 for (int test = 0; test < segmentCount; ++test) { in sortSegments()
[all …]
DSkPathOpsCommon.cpp60 int segmentCount = contour->segments().count(); in contourRangeCheckY() local
61 for (int test = 0; test < segmentCount; ++test) { in contourRangeCheckY()
/external/chromium_org/chrome/browser/resources/chromeos/
Dmobile_setup_portal.js163 var segmentCount = Math.min(12, canvas.width / 1.6); // Number of segments
168 ctx.rotate(Math.PI * 2 / (segmentCount + rotation));
178 var oArc = Math.PI * 2 * (1 / segmentCount - oGap); // Angle of outer arcs
179 var iArc = Math.PI * 2 * (1 / segmentCount - iGap); // Angle of inner arcs
181 for (i = 0; i < segmentCount; i++) { // Draw each segment
182 var opacity = Math.pow(1.0 - i / segmentCount, 3.0);
184 var angle = - Math.PI * 2 * i / segmentCount;
Dmobile_setup.js312 var segmentCount = Math.min(12, canvas.width / 1.6); // Number of segments
317 ctx.rotate(Math.PI * 2 / (segmentCount + rotation));
327 var oArc = Math.PI * 2 * (1 / segmentCount - oGap); // Angle of outer arcs
328 var iArc = Math.PI * 2 * (1 / segmentCount - iGap); // Angle of inner arcs
330 for (i = 0; i < segmentCount; i++) { // Draw each segment
331 var opacity = Math.pow(1.0 - i / segmentCount, 3.0);
333 var angle = - Math.PI * 2 * i / segmentCount;
/external/chromium_org/ui/app_list/cocoa/
Dapp_list_view_controller_unittest.mm66 EXPECT_EQ(1, [pager segmentCount]);
69 EXPECT_EQ(2, [pager segmentCount]);
71 EXPECT_EQ(3, [pager segmentCount]);
74 EXPECT_EQ(1, [pager segmentCount]);
81 EXPECT_EQ(3, [pager segmentCount]);
102 EXPECT_EQ(1, [pager segmentCount]);
Dapp_list_pager_view.mm71 if ([self segmentCount] == 0)
79 CGFloat segmentWidth = [self bounds].size.width / [self segmentCount];
119 if ([self segmentCount] < 2)
122 cellFrame.size.width /= [self segmentCount];
123 for (NSInteger i = 0; i < [self segmentCount]; ++i) {
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/
Dbouncing_balls_draw_ball_as_filled_path.js7 var segmentCount = 20; variable
23 for (var i = 1; i < segmentCount; ++i) {
24 var angle = i * 2.0 * Math.PI / segmentCount;
/external/skia/tests/
DPathOpsDebug.cpp137 int segmentCount = fSegments.count(); in dump() local
139 for (int test = 0; test < segmentCount; ++test) { in dump()
146 int segmentCount = fSegments.count(); in dumpAngles() local
148 for (int test = 0; test < segmentCount; ++test) { in dumpAngles()
189 int segmentCount = fSegments.count(); in dumpPt() local
190 for (int test = 0; test < segmentCount; ++test) { in dumpPt()
199 int segmentCount = fSegments.count(); in dumpPts() local
201 for (int test = 0; test < segmentCount; ++test) { in dumpPts()
208 int segmentCount = fSegments.count(); in dumpSpan() local
209 for (int test = 0; test < segmentCount; ++test) { in dumpSpan()
[all …]
/external/chromium_org/third_party/skia/tests/
DPathOpsDebug.cpp137 int segmentCount = fSegments.count(); in dump() local
139 for (int test = 0; test < segmentCount; ++test) { in dump()
146 int segmentCount = fSegments.count(); in dumpAngles() local
148 for (int test = 0; test < segmentCount; ++test) { in dumpAngles()
189 int segmentCount = fSegments.count(); in dumpPt() local
190 for (int test = 0; test < segmentCount; ++test) { in dumpPt()
199 int segmentCount = fSegments.count(); in dumpPts() local
201 for (int test = 0; test < segmentCount; ++test) { in dumpPts()
208 int segmentCount = fSegments.count(); in dumpSpan() local
209 for (int test = 0; test < segmentCount; ++test) { in dumpSpan()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DCollisionSystem.java549 final int segmentCount = byteStream.read(); in loadCollisionTiles() local
551 if (mCollisionTiles[tileIndex] == null && segmentCount > 0) { in loadCollisionTiles()
552 mCollisionTiles[tileIndex] = new CollisionTile(segmentCount); in loadCollisionTiles()
555 for (int y = 0; y < segmentCount; y++) { in loadCollisionTiles()
/external/skia/experimental/Intersection/
DSimplify.cpp4603 int segmentCount = fSegments.count(); in findTooCloseToCall() local
4604 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in findTooCloseToCall()
4610 int segmentCount = fSegments.count(); in fixOtherTIndex() local
4611 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in fixOtherTIndex()
4617 int segmentCount = fSortedSegments.count(); in nonVerticalSegment() local
4618 SkASSERT(segmentCount > 0); in nonVerticalSegment()
4619 for (int sortedIndex = fFirstSorted; sortedIndex < segmentCount; ++sortedIndex) { in nonVerticalSegment()
4838 int segmentCount = fSegments.count(); in setOppXor() local
4839 for (int test = 0; test < segmentCount; ++test) { in setOppXor()
4849 int segmentCount = fSegments.count(); in sortSegments() local
[all …]
/external/chromium_org/third_party/skia/experimental/Intersection/
DSimplify.cpp4603 int segmentCount = fSegments.count(); in findTooCloseToCall() local
4604 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in findTooCloseToCall()
4610 int segmentCount = fSegments.count(); in fixOtherTIndex() local
4611 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in fixOtherTIndex()
4617 int segmentCount = fSortedSegments.count(); in nonVerticalSegment() local
4618 SkASSERT(segmentCount > 0); in nonVerticalSegment()
4619 for (int sortedIndex = fFirstSorted; sortedIndex < segmentCount; ++sortedIndex) { in nonVerticalSegment()
4838 int segmentCount = fSegments.count(); in setOppXor() local
4839 for (int test = 0; test < segmentCount; ++test) { in setOppXor()
4849 int segmentCount = fSegments.count(); in sortSegments() local
[all …]
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java226 int segmentCount = 1; in MapMakerInternalMap() local
227 while (segmentCount < concurrencyLevel in MapMakerInternalMap()
228 && (!evictsBySize() || segmentCount * 2 <= maximumSize)) { in MapMakerInternalMap()
230 segmentCount <<= 1; in MapMakerInternalMap()
233 segmentMask = segmentCount - 1; in MapMakerInternalMap()
235 this.segments = newSegmentArray(segmentCount); in MapMakerInternalMap()
237 int segmentCapacity = initialCapacity / segmentCount; in MapMakerInternalMap()
238 if (segmentCapacity * segmentCount < initialCapacity) { in MapMakerInternalMap()
249 int maximumSegmentSize = maximumSize / segmentCount + 1; in MapMakerInternalMap()
250 int remainder = maximumSize % segmentCount; in MapMakerInternalMap()
/external/chromium_org/chrome/browser/ui/cocoa/website_settings/
Dwebsite_settings_bubble_controller.mm160 keySegment_ = (keySegment_ + 1) % [self segmentCount];
167 keySegment_ += [self segmentCount];
264 NSInteger segmentCount = [self segmentCount];
265 for (NSInteger i = 0; i < segmentCount; ++i) {
440 DCHECK_EQ([segmentedControl_ segmentCount], WebsiteSettingsUI::NUM_TAB_IDS);
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java267 int segmentCount = 1; in LocalCache() local
268 while (segmentCount < concurrencyLevel in LocalCache()
269 && (!evictsBySize() || customWeigher() || segmentCount * 2 <= maxWeight)) { in LocalCache()
271 segmentCount <<= 1; in LocalCache()
274 segmentMask = segmentCount - 1; in LocalCache()
276 this.segments = newSegmentArray(segmentCount); in LocalCache()
278 int segmentCapacity = initialCapacity / segmentCount; in LocalCache()
279 if (segmentCapacity * segmentCount < initialCapacity) { in LocalCache()
290 long maxSegmentWeight = maxWeight / segmentCount + 1; in LocalCache()
291 long remainder = maxWeight % segmentCount; in LocalCache()
/external/skia/src/core/
DSkPath.cpp248 SkDEBUGCODE(int segmentCount = 0;) in conservativelyContainsRect()
255 SkASSERT(!segmentCount && !closeCount); in conservativelyContainsRect()
262 SkDEBUGCODE(++segmentCount); in conservativelyContainsRect()
267 SkDEBUGCODE(++segmentCount); in conservativelyContainsRect()
272 SkDEBUGCODE(++segmentCount); in conservativelyContainsRect()
/external/chromium_org/third_party/skia/src/core/
DSkPath.cpp248 SkDEBUGCODE(int segmentCount = 0;) in conservativelyContainsRect()
255 SkASSERT(!segmentCount && !closeCount); in conservativelyContainsRect()
262 SkDEBUGCODE(++segmentCount); in conservativelyContainsRect()
267 SkDEBUGCODE(++segmentCount); in conservativelyContainsRect()
272 SkDEBUGCODE(++segmentCount); in conservativelyContainsRect()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java157 private static void checkConcurrencyLevel(int concurrencyLevel, int segmentCount) { in checkConcurrencyLevel() argument
160 assertEquals(segmentCount, map.segments.length); in checkConcurrencyLevel()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java204 private static void checkConcurrencyLevel(int concurrencyLevel, int segmentCount) { in checkConcurrencyLevel() argument
207 assertEquals(segmentCount, map.segments.length); in checkConcurrencyLevel()