Home
last modified time | relevance | path

Searched refs:coords (Results 1 – 25 of 94) sorted by relevance

1234

/external/webkit/LayoutTests/fast/dom/Geolocation/
Dmaximum-age-expected.txt7 PASS position.coords.latitude is mockLatitude
8 PASS position.coords.longitude is mockLongitude
9 PASS position.coords.accuracy is mockAccuracy
11 PASS position.coords.latitude is mockLatitude
12 PASS position.coords.longitude is mockLongitude
13 PASS position.coords.accuracy is mockAccuracy
15 PASS position.coords.latitude is mockLatitude
16 PASS position.coords.longitude is mockLongitude
17 PASS position.coords.accuracy is mockAccuracy
Dwatch-expected.txt6 PASS position.coords.latitude is mockLatitude
7 PASS position.coords.longitude is mockLongitude
8 PASS position.coords.accuracy is mockAccuracy
10 PASS position.coords.latitude is mockLatitude
11 PASS position.coords.longitude is mockLongitude
12 PASS position.coords.accuracy is mockAccuracy
17 PASS position.coords.latitude is mockLatitude
18 PASS position.coords.longitude is mockLongitude
19 PASS position.coords.accuracy is mockAccuracy
Dreentrant-success-expected.txt6 PASS position.coords.latitude is mockLatitude
7 PASS position.coords.longitude is mockLongitude
8 PASS position.coords.accuracy is mockAccuracy
10 PASS position.coords.latitude is mockLatitude
11 PASS position.coords.longitude is mockLongitude
12 PASS position.coords.accuracy is mockAccuracy
Dmultiple-requests-expected.txt7 PASS position.coords.latitude is mockLatitude
8 PASS position.coords.longitude is mockLongitude
9 PASS position.coords.accuracy is mockAccuracy
11 PASS position.coords.latitude is mockLatitude
12 PASS position.coords.longitude is mockLongitude
13 PASS position.coords.accuracy is mockAccuracy
Dposition-string-expected.txt6 PASS position.coords.latitude is mockLatitude
7 PASS position.coords.longitude is mockLongitude
8 PASS position.coords.accuracy is mockAccuracy
10 PASS position.coords.toString() is "[object Coordinates]"
Dsuccess-expected.txt6 PASS position.coords.latitude is mockLatitude
7 PASS position.coords.longitude is mockLongitude
8 PASS position.coords.accuracy is mockAccuracy
Dtimeout-expected.txt6 PASS position.coords.latitude is mockLatitude
7 PASS position.coords.longitude is mockLongitude
8 PASS position.coords.accuracy is mockAccuracy
Dcallback-exception-expected.txt7 PASS position.coords.latitude is mockLatitude
8 PASS position.coords.longitude is mockLongitude
9 PASS position.coords.accuracy is mockAccuracy
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/
DTerrain.frag30 // texture coords
31 vec4 coords = vVertex;
33 vec4 col1 = texture2D( m_Tex1, coords.yz * m_Tex1Scale );
34 vec4 col2 = texture2D( m_Tex1, coords.xz * m_Tex1Scale );
35 vec4 col3 = texture2D( m_Tex1, coords.xy * m_Tex1Scale );
39 col1 = texture2D( m_Tex2, coords.yz * m_Tex2Scale );
40 col2 = texture2D( m_Tex2, coords.xz * m_Tex2Scale );
41 col3 = texture2D( m_Tex2, coords.xy * m_Tex2Scale );
45 col1 = texture2D( m_Tex3, coords.yz * m_Tex3Scale );
46 col2 = texture2D( m_Tex3, coords.xz * m_Tex3Scale );
[all …]
DTerrainLighting.frag341 vec4 getTriPlanarBlend(in vec4 coords, in vec3 blending, in sampler2D map, in float scale) {
342 vec4 col1 = texture2D( map, coords.yz * scale);
343 vec4 col2 = texture2D( map, coords.xz * scale);
344 vec4 col3 = texture2D( map, coords.xy * scale);
358 // texture coords
359 vec4 coords = wVert;
362 vec4 tex0 = getTriPlanarBlend(coords, blending, m_DiffuseMap, m_DiffuseMap_0_scale);
366 vec4 tex1 = getTriPlanarBlend(coords, blending, m_DiffuseMap_1, m_DiffuseMap_1_scale);
370 vec4 tex2 = getTriPlanarBlend(coords, blending, m_DiffuseMap_2, m_DiffuseMap_2_scale);
374 vec4 tex3 = getTriPlanarBlend(coords, blending, m_DiffuseMap_3, m_DiffuseMap_3_scale);
[all …]
/external/skia/third_party/glu/libtess/
Dnormal.c92 c = v->coords[i]; in ComputeNormal()
116 d1[0] = v1->coords[0] - v2->coords[0]; in ComputeNormal()
117 d1[1] = v1->coords[1] - v2->coords[1]; in ComputeNormal()
118 d1[2] = v1->coords[2] - v2->coords[2]; in ComputeNormal()
120 d2[0] = v->coords[0] - v2->coords[0]; in ComputeNormal()
121 d2[1] = v->coords[1] - v2->coords[1]; in ComputeNormal()
122 d2[2] = v->coords[2] - v2->coords[2]; in ComputeNormal()
253 v->s = Dot( v->coords, sUnit ); in __gl_projectPolygon()
254 v->t = Dot( v->coords, tUnit ); in __gl_projectPolygon()
Dtess.c65 /*ARGSUSED*/ static void GLAPIENTRY noCombine( GLdouble coords[3], void *data[4], in noCombine()
79 /*ARGSUSED*/ void GLAPIENTRY __gl_noCombineData( GLdouble coords[3], in __gl_noCombineData()
349 static int AddVertex( GLUtesselator *tess, GLdouble coords[3], void *data ) in AddVertex()
370 e->Org->coords[0] = coords[0]; in AddVertex()
371 e->Org->coords[1] = coords[1]; in AddVertex()
372 e->Org->coords[2] = coords[2]; in AddVertex()
388 static void CacheVertex( GLUtesselator *tess, GLdouble coords[3], void *data ) in CacheVertex()
393 v->coords[0] = coords[0]; in CacheVertex()
394 v->coords[1] = coords[1]; in CacheVertex()
395 v->coords[2] = coords[2]; in CacheVertex()
[all …]
Drender.c399 xc = vc->coords[0] - v0->coords[0]; in ComputeNormal()
400 yc = vc->coords[1] - v0->coords[1]; in ComputeNormal()
401 zc = vc->coords[2] - v0->coords[2]; in ComputeNormal()
404 xc = vc->coords[0] - v0->coords[0]; in ComputeNormal()
405 yc = vc->coords[1] - v0->coords[1]; in ComputeNormal()
406 zc = vc->coords[2] - v0->coords[2]; in ComputeNormal()
Dtess.h62 GLdouble coords[3]; member
94 void (GLAPIENTRY *callCombine)( GLdouble coords[3], void *data[4],
124 void (GLAPIENTRY *callCombineData)( GLdouble coords[3], void *data[4],
138 void GLAPIENTRY __gl_noCombineData( GLdouble coords[3], void *data[4],
Dsweep.c416 GLdouble coords[3]; in CallCombine() local
419 coords[0] = isect->coords[0]; in CallCombine()
420 coords[1] = isect->coords[1]; in CallCombine()
421 coords[2] = isect->coords[2]; in CallCombine()
424 CALL_COMBINE_OR_COMBINE_DATA( coords, data, weights, &isect->data ); in CallCombine()
470 isect->coords[0] += weights[0]*org->coords[0] + weights[1]*dst->coords[0]; in VertexWeights()
471 isect->coords[1] += weights[0]*org->coords[1] + weights[1]*dst->coords[1]; in VertexWeights()
472 isect->coords[2] += weights[0]*org->coords[2] + weights[1]*dst->coords[2]; in VertexWeights()
493 isect->coords[0] = isect->coords[1] = isect->coords[2] = 0; in GetIntersectData()
/external/webkit/Source/WebCore/page/
DGeolocationPositionCache.cpp232 statement.bindDouble(1, cachedPosition->coords()->latitude()); in writeToDatabaseImpl()
233 statement.bindDouble(2, cachedPosition->coords()->longitude()); in writeToDatabaseImpl()
234 if (cachedPosition->coords()->canProvideAltitude()) in writeToDatabaseImpl()
235 statement.bindDouble(3, cachedPosition->coords()->altitude()); in writeToDatabaseImpl()
238 statement.bindDouble(4, cachedPosition->coords()->accuracy()); in writeToDatabaseImpl()
239 if (cachedPosition->coords()->canProvideAltitudeAccuracy()) in writeToDatabaseImpl()
240 statement.bindDouble(5, cachedPosition->coords()->altitudeAccuracy()); in writeToDatabaseImpl()
243 if (cachedPosition->coords()->canProvideHeading()) in writeToDatabaseImpl()
244 statement.bindDouble(6, cachedPosition->coords()->heading()); in writeToDatabaseImpl()
247 if (cachedPosition->coords()->canProvideSpeed()) in writeToDatabaseImpl()
[all …]
/external/freetype/src/base/
Dftmm.c112 FT_Long* coords ) in FT_Set_MM_Design_Coordinates() argument
123 error = service->set_mm_design( face, num_coords, coords ); in FT_Set_MM_Design_Coordinates()
135 FT_Fixed* coords ) in FT_Set_Var_Design_Coordinates() argument
146 error = service->set_var_design( face, num_coords, coords ); in FT_Set_Var_Design_Coordinates()
158 FT_Fixed* coords ) in FT_Set_MM_Blend_Coordinates() argument
169 error = service->set_mm_blend( face, num_coords, coords ); in FT_Set_MM_Blend_Coordinates()
184 FT_Fixed* coords ) in FT_Set_Var_Blend_Coordinates() argument
195 error = service->set_mm_blend( face, num_coords, coords ); in FT_Set_Var_Blend_Coordinates()
/external/webkit/Source/WebCore/platform/android/
DGeolocationServiceAndroid.cpp180 double delta = fabs(position1->coords()->latitude() - position2->coords()->latitude()) in isPositionMovement()
181 + fabs(position1->coords()->longitude() - position2->coords()->longitude()); in isPositionMovement()
186 int maxAccuracy = max(position1->coords()->accuracy(), position2->coords()->accuracy()); in isPositionMovement()
193 return position2->coords()->accuracy() < position1->coords()->accuracy(); in isPositionMoreAccurate()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DMidpointDisplacementHeightMap.java169 …protected int[] doSquareStep(float[][] tempBuffer, int[] coords, int stepSize, float offsetRange, … in doSquareStep() argument
171 int x = coords[0]; in doSquareStep()
172 int y = coords[1]; in doSquareStep()
178 float offset = getOffset(random, offsetRange, coords, cornerAverage); in doSquareStep()
201 …protected int[] doDiamondStep(float[][] tempBuffer, int[] coords, int stepSize, float offsetRange,… in doDiamondStep() argument
204 int x = coords[0]; in doDiamondStep()
205 int y = coords[1]; in doDiamondStep()
222 float offset = getOffset(random, offsetRange, coords, cornerAverage); in doDiamondStep()
246 protected float getOffset(Random random, float offsetRange, int[] coords, float average) { in getOffset() argument
/external/skia/tests/
DBitmapCopyTest.cpp215 Coordinates& coords, in reportCopyVerification() argument
221 for (int i = 0; i < coords.length; ++i) in reportCopyVerification()
223 (getPixel(coords[i]->fX, coords[i]->fY, bm1) == in reportCopyVerification()
224 getPixel(coords[i]->fX, coords[i]->fY, bm2)); in reportCopyVerification()
235 void writeCoordPixels(SkBitmap& bm, const Coordinates& coords) { in writeCoordPixels() argument
236 for (int i = 0; i < coords.length; ++i) in writeCoordPixels()
237 setPixel(coords[i]->fX, coords[i]->fY, i, bm); in writeCoordPixels()
483 Coordinates coords(subW * subH); in TestBitmapCopy() local
488 SkASSERT(index < coords.length); in TestBitmapCopy()
489 coords[index]->fX = x; in TestBitmapCopy()
[all …]
/external/freetype/include/freetype/
Dftmm.h172 FT_Fixed* coords; member
298 FT_Long* coords );
325 FT_Fixed* coords );
353 FT_Fixed* coords );
367 FT_Fixed* coords );
/external/webkit/LayoutTests/platform/android-v8/fast/dom/Geolocation/
Dcallback-exception-expected.txt7 PASS position.coords.latitude is mockLatitude
8 PASS position.coords.longitude is mockLongitude
9 PASS position.coords.accuracy is mockAccuracy
/external/freetype/include/freetype/internal/services/
Dsvmm.h49 FT_Long* coords );
54 FT_Fixed* coords );
59 FT_Long* coords );
/external/freetype/src/truetype/
Dttgxvar.c729 mmvar->namedstyle[i].coords = next_coords; in TT_Get_MM_Var()
776 ns->coords[j] = FT_GET_ULONG(); /* A Fixed */ in TT_Get_MM_Var()
800 mmvar->namedstyle[n].coords = next_coords; in TT_Get_MM_Var()
857 FT_Fixed* coords ) in TT_Set_MM_Blend() argument
892 if ( coords[i] < -0x00010000L || coords[i] > 0x00010000L ) in TT_Set_MM_Blend()
918 if ( blend->normalizedcoords[i] != coords[i] ) in TT_Set_MM_Blend()
933 coords, in TT_Set_MM_Blend()
993 FT_Fixed* coords ) in TT_Set_Var_Design() argument
1030 if ( coords[i] > a->maximum || coords[i] < a->minimum ) in TT_Set_Var_Design()
1036 if ( coords[i] < a->def ) in TT_Set_Var_Design()
[all …]
/external/skia/src/gpu/
DGrTesselatedPathRenderer.cpp97 virtual int combine(GLdouble coords[3], int vertexIndices[4],
111 static void combineCB(GLdouble coords[3], void* vertexData[4], in combineCB()
119 int outIndex = tess->combine(coords, vertexIndex, weight); in combineCB()
145 virtual int combine(GLdouble coords[3], int vertexIndices[4], in combine()
148 GrPoint p = GrPoint::Make(static_cast<float>(coords[0]), in combine()
149 static_cast<float>(coords[1])); in combine()
245 virtual int combine(GLdouble coords[3], int vertexIndices[4], in combine()
248 *fVertices.append() = GrPoint::Make(static_cast<float>(coords[0]), in combine()
249 static_cast<float>(coords[1])); in combine()

1234