/external/chromium_org/content/browser/device_orientation/ |
accelerometer_mac.cc | 38 // Note: only beta and gamma angles are provided. Alpha is set to zero. 60 // x_acc = sin(gamma) 61 // y_acc = - cos(gamma) * sin(beta) 62 // z_acc = cos(beta) * cos(gamma) 80 // this point, beta is [-180, 180] and gamma is [-90, 90], but the spec has 85 if (orientation->gamma() == 90.0) { 93 DCHECK_GE(orientation->gamma(), -90.0); 94 DCHECK_LT(orientation->gamma(), 90.0);
|
data_fetcher_impl_android.h | 41 double alpha, double beta, double gamma); 47 double alpha, double beta, double gamma);
|
orientation.cc | 30 params.gamma = gamma_; 54 old_orientation->gamma()) ||
|
data_fetcher_impl_android.cc | 68 JNIEnv*, jobject, double alpha, double beta, double gamma) { 74 orientation->set_gamma(gamma); 114 JNIEnv*, jobject, double alpha, double beta, double gamma) { 120 device_motion_buffer_->data.rotationRateGamma = gamma;
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebDeviceOrientation.h | 72 void setGamma(double gamma) 75 m_gamma = gamma; 78 double gamma() const { return m_gamma; } function in class:WebKit::WebDeviceOrientation
|
/frameworks/base/libs/hwui/ |
GammaFontRenderer.cpp | 62 // Get the gamma 65 INIT_LOGD(" Setting text gamma to %s", property); 68 INIT_LOGD(" Using default text gamma of %.2f", DEFAULT_TEXT_GAMMA); 71 // Get the black gamma threshold 74 INIT_LOGD(" Setting text black gamma threshold to %s", property); 77 INIT_LOGD(" Using default text black gamma threshold of %d", 81 // Get the white gamma threshold 84 INIT_LOGD(" Setting text white gamma threshold to %s", property); 87 INIT_LOGD(" Using default white black gamma threshold of %d", 100 INIT_LOGD("Creating shader gamma font renderer") 146 const float gamma = 1.0f \/ mGamma; local [all...] |
/external/chromium_org/content/renderer/ |
device_orientation_dispatcher.cc | 66 if (a.can_provide_gamma && a.gamma != b->gamma()) 88 last_orientation_.setGamma(p.gamma);
|
/external/chromium_org/third_party/WebKit/Source/modules/device_orientation/ |
DeviceMotionData.h | 67 static PassRefPtr<RotationRate> create(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma); 75 double gamma() const { return m_gamma; } function in class:WebCore::DeviceMotionData::RotationRate 78 RotationRate(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma);
|
DeviceMotionData.cpp | 52 bool canProvideGamma, double gamma) 54 return adoptRef(new DeviceMotionData::RotationRate(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma)); 57 DeviceMotionData::RotationRate::RotationRate(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma) 60 , m_gamma(gamma)
|
DeviceOrientationEvent.h | 53 double gamma(bool& isNull) const;
|
/external/chromium_org/third_party/skia/src/core/ |
SkMaskGamma.h | 28 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0; 30 virtual SkScalar fromLuma(SkScalar gamma, SkScalar luma) const = 0; 33 static U8CPU computeLuminance(SkScalar gamma, SkColor c) { 34 const SkColorSpaceLuminance& luminance = Fetch(gamma); 35 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); 36 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); 37 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); 42 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255); 45 /** Retrieves the SkColorSpaceLuminance for the given gamma. */ 46 static const SkColorSpaceLuminance& Fetch(SkScalar gamma); [all...] |
/external/skia/src/core/ |
SkMaskGamma.h | 28 virtual SkScalar toLuma(SkScalar gamma, SkScalar luminance) const = 0; 30 virtual SkScalar fromLuma(SkScalar gamma, SkScalar luma) const = 0; 33 static U8CPU computeLuminance(SkScalar gamma, SkColor c) { 34 const SkColorSpaceLuminance& luminance = Fetch(gamma); 35 SkScalar r = luminance.toLuma(gamma, SkIntToScalar(SkColorGetR(c)) / 255); 36 SkScalar g = luminance.toLuma(gamma, SkIntToScalar(SkColorGetG(c)) / 255); 37 SkScalar b = luminance.toLuma(gamma, SkIntToScalar(SkColorGetB(c)) / 255); 42 return SkScalarRoundToInt(luminance.fromLuma(gamma, luma) * 255); 45 /** Retrieves the SkColorSpaceLuminance for the given gamma. */ 46 static const SkColorSpaceLuminance& Fetch(SkScalar gamma); [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
DeviceMotionAndOrientation.java | 258 double gamma = Math.toDegrees(rotationAngles[2]); local 259 while (gamma < -90.0) { 260 gamma += 360.0; // [-90, 90) 263 gotOrientation(alpha, beta, gamma); 340 protected void gotOrientation(double alpha, double beta, double gamma) { 343 nativeGotOrientation(mNativePtr, alpha, beta, gamma); 364 protected void gotRotationRate(double alpha, double beta, double gamma) { 367 nativeGotRotationRate(mNativePtr, alpha, beta, gamma); 406 double alpha, double beta, double gamma); 427 double alpha, double beta, double gamma); [all...] |
/external/chromium_org/content/renderer/device_orientation/ |
device_orientation_event_pump_unittest.cc | 78 data.gamma = 3; 114 EXPECT_EQ(3, (double)received_data.gamma); 144 EXPECT_EQ(3, (double)received_data.gamma); 161 EXPECT_EQ(3, (double)received_data.gamma);
|
device_orientation_event_pump.cc | 69 data_.hasGamma, data_.gamma, data.hasGamma, data.gamma));
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebDeviceOrientation.cpp | 55 m_gamma = orientation->gamma();
|
/external/chromium_org/third_party/skia/include/core/ |
SkDeviceProperties.h | 99 static SkDeviceProperties Make(Geometry geometry, SkScalar gamma) { 100 SkDeviceProperties ret = { geometry, gamma };
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_pixels_c.h | 46 extern void SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output, int ncolors);
|
/external/skia/include/core/ |
SkDeviceProperties.h | 99 static SkDeviceProperties Make(Geometry geometry, SkScalar gamma) { 100 SkDeviceProperties ret = { geometry, gamma };
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
OverridesSupport.js | 256 * @param {number} gamma 258 WebInspector.OverridesSupport.DeviceOrientation = function(alpha, beta, gamma) 262 this.gamma = gamma; 282 return new WebInspector.OverridesSupport.DeviceOrientation(jsonObject.alpha, jsonObject.beta, jsonObject.gamma); 311 var gamma = isGammaValid ? parseFloat(gammaString) : -1; 313 return new WebInspector.OverridesSupport.DeviceOrientation(alpha, beta, gamma); 373 PageAgent.setDeviceOrientationOverride(deviceOrientation.alpha, deviceOrientation.beta, deviceOrientation.gamma);
|
/external/libpng/contrib/gregbook/ |
readpng.c | 208 double gamma; local 240 * this file may have come from--so if it doesn't have a file gamma, don't 243 if (png_get_gAMA(png_ptr, info_ptr, &gamma)) 244 png_set_gamma(png_ptr, display_exponent, gamma);
|
/external/chromium_org/third_party/qcms/src/ |
transform_util.c | 123 void compute_curve_gamma_table_type1(float gamma_table[256], double gamma) 127 gamma_table[i] = pow(i/255., gamma); 240 gamma table is within expected values. */ 245 // Note: we check that the gamma is not in range 428 static void compute_precache_pow(uint8_t *output, float gamma) 433 output[v] = 255. * pow(v/(double)PRECACHE_OUTPUT_MAX, gamma); 522 static uint16_t *build_pow_table(float gamma, int length) 532 x = pow(x, gamma); //XXX turn this conversion into a function 563 float gamma = 1./u8Fixed8Number_to_float(trc->data[0]); local 564 *output_gamma_lut = build_pow_table(gamma, 4096) [all...] |
/external/chromium_org/webkit/child/ |
touch_fling_gesture_curve.cc | 83 float gamma, 91 coefficients_[2] = gamma;
|
/frameworks/base/core/jni/android/graphics/ |
MaskFilter.cpp | 53 static SkMaskFilter* createGammaTable(JNIEnv* env, jobject, float gamma) { 54 return SkTableMaskFilter::CreateGamma(gamma);
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
ConstrainedConjGrad.h | 114 Scalar rho = 1.0, rho_1, lambda, gamma; local 163 if (transition || iter.first()) gamma = 0.0; 164 else gamma = (std::max)(0.0, (rho - old_z.dot(z)) / rho_1); 165 p = z + gamma*p;
|