Home
last modified time | relevance | path

Searched refs:MIN_WIDTH (Results 1 – 11 of 11) sorted by relevance

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2Test.java234 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);
DS2CellUnionTest.java343 Math.min(minLevel + maxLevelDiff, S2Projections.MIN_WIDTH.getMaxLevel(radius)); in testExpand()
DS2CellTest.java401 s.avgWidth, S2Projections.MIN_WIDTH, S2Projections.MAX_WIDTH, in testSubdivide()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2CellUnion.java399 int radiusLevel = S2Projections.MIN_WIDTH.getMaxLevel(minRadius.radians()); in expand()
400 if (radiusLevel == 0 && minRadius.radians() > S2Projections.MIN_WIDTH.getValue(0)) { in expand()
DS2Projections.java144 public static final Metric MIN_WIDTH = new Metric(1, field in S2Projections
DS2RegionCoverer.java447 int level = Math.min(S2Projections.MIN_WIDTH.getMaxLevel(2 * cap.angle().radians()), in getInitialCandidates()
DS2EdgeIndex.java315 int idealLevel = S2Projections.MIN_WIDTH.getMaxLevel(edgeLength * (1 + 2 * THICKENING)); in getCovering()
DS2PolygonBuilder.java644 Math.min(S2Projections.MIN_WIDTH.getMaxLevel(2 * searchRadius), S2CellId.MAX_LEVEL - 1); in PointIndex()
/external/libmpeg2/decoder/
Dimpeg2d_structs.h34 #define MIN_WIDTH 16 macro
Dimpeg2d_dec_hdr.c192 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()
Dimpeg2d_api_main.c2303 if(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_max_frm_wd < MIN_WIDTH) in impeg2d_api_check_struct_sanity()
2387 if(ps_ip->s_ivd_init_ip_t.u4_frm_max_wd < MIN_WIDTH) in impeg2d_api_check_struct_sanity()