Searched refs:MIN_WIDTH (Results 1 – 11 of 11) sorted by relevance
/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2Test.java | 234 new MetricBundle(S2Projections.MIN_WIDTH, S2Projections.MAX_WIDTH, S2Projections.AVG_WIDTH); 264 >= S2Projections.MIN_WIDTH.deriv() * S2Projections.MIN_EDGE.deriv() - 1e-15); 277 double dWidth = (2 * S2Projections.MIN_WIDTH.deriv()) * Math.pow(2, -level); 284 assertEquals(S2Projections.MIN_WIDTH.getMinLevel(dWidth), expectedLevel); 285 assertEquals(S2Projections.MIN_WIDTH.getMaxLevel(dWidth), expectedLevel); 286 assertEquals(S2Projections.MIN_WIDTH.getClosestLevel(dWidth), expectedLevel); 289 assertEquals(S2Projections.MIN_WIDTH.getMinLevel(1.2 * dWidth), expectedLevel); 290 assertEquals(S2Projections.MIN_WIDTH.getMaxLevel(0.8 * dWidth), expectedLevel); 291 assertEquals(S2Projections.MIN_WIDTH.getClosestLevel(1.2 * dWidth), expectedLevel); 292 assertEquals(S2Projections.MIN_WIDTH.getClosestLevel(0.8 * dWidth), expectedLevel);
|
D | S2CellUnionTest.java | 343 Math.min(minLevel + maxLevelDiff, S2Projections.MIN_WIDTH.getMaxLevel(radius)); in testExpand()
|
D | S2CellTest.java | 401 s.avgWidth, S2Projections.MIN_WIDTH, S2Projections.MAX_WIDTH, in testSubdivide()
|
/external/s2-geometry-library-java/src/com/google/common/geometry/ |
D | S2CellUnion.java | 399 int radiusLevel = S2Projections.MIN_WIDTH.getMaxLevel(minRadius.radians()); in expand() 400 if (radiusLevel == 0 && minRadius.radians() > S2Projections.MIN_WIDTH.getValue(0)) { in expand()
|
D | S2Projections.java | 144 public static final Metric MIN_WIDTH = new Metric(1, field in S2Projections
|
D | S2RegionCoverer.java | 447 int level = Math.min(S2Projections.MIN_WIDTH.getMaxLevel(2 * cap.angle().radians()), in getInitialCandidates()
|
D | S2EdgeIndex.java | 315 int idealLevel = S2Projections.MIN_WIDTH.getMaxLevel(edgeLength * (1 + 2 * THICKENING)); in getCovering()
|
D | S2PolygonBuilder.java | 644 Math.min(S2Projections.MIN_WIDTH.getMaxLevel(2 * searchRadius), S2CellId.MAX_LEVEL - 1); in PointIndex()
|
/external/libmpeg2/decoder/ |
D | impeg2d_structs.h | 34 #define MIN_WIDTH 16 macro
|
D | impeg2d_dec_hdr.c | 192 else if((ps_dec->u2_horizontal_size < MIN_WIDTH) in impeg2d_dec_seq_hdr() 214 if((ps_dec->u2_horizontal_size < MIN_WIDTH) in impeg2d_dec_seq_hdr()
|
D | impeg2d_api_main.c | 2414 if(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_max_frm_wd < MIN_WIDTH) in impeg2d_api_check_struct_sanity() 2498 if(ps_ip->s_ivd_init_ip_t.u4_frm_max_wd < MIN_WIDTH) in impeg2d_api_check_struct_sanity()
|