/external/webkit/Source/WebCore/platform/graphics/filters/ |
DistantLightSource.cpp | 43 float elevation = deg2rad(m_elevation); local 44 paintingData.lightVector.setX(cosf(azimuth) * cosf(elevation)); 45 paintingData.lightVector.setY(sinf(azimuth) * cosf(elevation)); 46 paintingData.lightVector.setZ(sinf(elevation)); 62 bool DistantLightSource::setElevation(float elevation) 64 if (m_elevation == elevation) 66 m_elevation = elevation; 74 ts << "[elevation=\"" << elevation() << "\"]";
|
DistantLightSource.h | 33 static PassRefPtr<DistantLightSource> create(float azimuth, float elevation) 35 return adoptRef(new DistantLightSource(azimuth, elevation)); 40 float elevation() const { return m_elevation; } function in class:WebCore::DistantLightSource 49 DistantLightSource(float azimuth, float elevation) 52 , m_elevation(elevation)
|
/external/chromium/webkit/glue/ |
webkitclient_impl.cc | 308 // Extract the azimuth and elevation from the resource name. 310 int elevation = 0; local 312 sscanf(name, "IRC_Composite_C_R0195_T%3d_P%3d", &azimuth, &elevation); 320 // 0 <= elevation <= 90 (or 315 <= elevation <= 345) 323 elevation <= 90 ? elevation / kAngleSpacing : 324 7 + (elevation - 315) / kAngleSpacing;
|
/external/webkit/Source/WebCore/webaudio/ |
AudioPannerNode.cpp | 107 double elevation; local 108 getAzimuthElevation(&azimuth, &elevation); 109 m_panner->pan(azimuth, elevation, source, destination, framesToProcess); 163 // FIXME: we should cache azimuth and elevation (if possible), so we only re-calculate if a change has been made. 210 // Elevation 211 double elevation = 90.0 - 180.0 * acos(sourceListener.dot(up)) / piDouble; local 214 if (elevation > 90.0) 215 elevation = 180.0 - elevation; 216 else if (elevation < -90.0 [all...] |
/hardware/libhardware/include/hardware/ |
gps.h | 269 /** Elevation of SV in degrees. */ 270 float elevation; member in struct:__anon16014
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/inc-1240/ |
loc_api_common.h | 145 float elevation; member in struct:rpc_loc_sv_info_s_type [all...] |
/hardware/qcom/gps/loc_api/libloc_api-rpc/inc-3200/ |
loc_api_common.h | 139 float elevation; member in struct:rpc_loc_sv_info_s_type [all...] |