Home
last modified time | relevance | path

Searched refs:gamma (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/webkit/
DDeviceMotionAndOrientationManager.java47 double beta, boolean canProvideGamma, double gamma) { in setMockOrientation() argument
50 canProvideGamma, gamma); in setMockOrientation()
61 public void onOrientationChange(Double alpha, Double beta, Double gamma) { in onOrientationChange() argument
65 gamma != null, gamma != null ? gamma.doubleValue() : 0.0); in onOrientationChange()
72 boolean canProvideGamma, double gamma); in nativeSetMockOrientation() argument
78 boolean canProvideGamma, double gamma); in nativeOnOrientationChange() argument
DDeviceOrientationService.java130 double gamma = Math.toDegrees(rotationAngles[2]); in getOrientationUsingGetRotationMatrix() local
131 while (gamma < -90.0) { gamma += 360.0; } // [-90, 90) in getOrientationUsingGetRotationMatrix()
133 maybeSendChange(alpha, beta, gamma); in getOrientationUsingGetRotationMatrix()
168 private void maybeSendChange(double alpha, double beta, double gamma) { in maybeSendChange() argument
173 || Math.abs(gamma - mGamma) > DELTA_DEGRESS) { in maybeSendChange()
176 mGamma = gamma; in maybeSendChange()
DWebViewCore.java2809 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) { in setMockDeviceOrientation() argument
2811 canProvideBeta, beta, canProvideGamma, gamma); in setMockDeviceOrientation()
DWebView.java5003 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) {
5005 canProvideGamma, gamma);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTextGammaActivity.java40 final GammaTextView gamma = new GammaTextView(this); in onCreate() local
41 layout.addView(gamma, new LinearLayout.LayoutParams( in onCreate()
49 Bitmap b = Bitmap.createBitmap(gamma.getWidth(), gamma.getHeight(), in onCreate()
53 gamma.draw(c); in onCreate()
91 final GammaTextView gamma = new GammaTextView(this); in onCreate() local
96 layout.addView(gamma, lp); in onCreate()
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
Dweight_a.c31 Word16 gamma, /* (i) Q15 : Spectral expansion factor. */ in Weight_a() argument
37 fac = gamma; in Weight_a()
40 fac = (vo_L_mult(fac, gamma) + 0x8000) >> 16; in Weight_a()
/frameworks/base/graphics/java/android/graphics/
DTableMaskFilter.java39 public static TableMaskFilter CreateGammaTable(float gamma) { in CreateGammaTable() argument
40 return new TableMaskFilter(nativeNewGamma(gamma)); in CreateGammaTable()
45 private static native int nativeNewGamma(float gamma); in nativeNewGamma() argument
/frameworks/base/libs/hwui/
DGammaFontRenderer.cpp37 float gamma = DEFAULT_TEXT_GAMMA; in GammaFontRenderer() local
40 gamma = atof(property); in GammaFontRenderer()
66 const float blackGamma = gamma; in GammaFontRenderer()
67 const float whiteGamma = 1.0f / gamma; in GammaFontRenderer()
/frameworks/base/media/libstagefright/codecs/amrwb/src/
Dweight_amrwb_lpc.cpp119 int16 gamma, /* (i) Q15 : Spectral expansion factor. */ in weight_amrwb_lpc() argument
126 fac = gamma; in weight_amrwb_lpc()
130 fac = (int16)(fxp_mac_16by16(fac, gamma, roundFactor) >> 15); in weight_amrwb_lpc()
Dpvamrwbdecoder_acelp.h117 int16 gamma, /* (i) Q15 : Spectral expansion factor. */
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp152 static float pinGamma(float gamma) { in pinGamma() argument
153 if (gamma < MIN_GAMMA) { in pinGamma()
154 gamma = MIN_GAMMA; in pinGamma()
155 } else if (gamma > MAX_GAMMA) { in pinGamma()
156 gamma = MAX_GAMMA; in pinGamma()
158 return gamma; in pinGamma()
DMaskFilter.cpp53 static SkMaskFilter* createGammaTable(JNIEnv* env, jobject, float gamma) { in createGammaTable() argument
54 return SkTableMaskFilter::CreateGamma(gamma); in createGammaTable()
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
Dvertical_blur.rs9 static float3 gamma;
55 gamma = (float3)g;
79 if (gamma.x != 1.0f)
80 temp = pow(temp, (float3)gamma);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DLayoutTestController.java88 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) { in setMockDeviceOrientation() argument
93 ", " + gamma + ")"); in setMockDeviceOrientation()
95 canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma); in setMockDeviceOrientation()
DLayoutTestsExecutor.java727 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) { in setMockDeviceOrientation() argument
730 ", " + gamma + ")"); in setMockDeviceOrientation()
732 canProvideGamma, gamma); in setMockDeviceOrientation()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DLayoutTestController.java77 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma); in setMockDeviceOrientation() argument
DCallbackProxy.java514 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) { in setMockDeviceOrientation() argument
518 canProvideGamma, gamma); in setMockDeviceOrientation()
DTestShellActivity.java534 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) { in setMockDeviceOrientation() argument
536 canProvideGamma, gamma); in setMockDeviceOrientation()
/frameworks/base/libs/rs/
DrsFont.cpp343 float gamma = DEFAULT_TEXT_GAMMA; in FontState() local
345 gamma = atof(property); in FontState()
363 mBlackGamma = gamma; in FontState()
364 mWhiteGamma = 1.0f / gamma; in FontState()
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/
Dacelp.h95 Word16 gamma, /* (i) Q15 : Spectral expansion factor. */
/frameworks/base/libs/rs/scriptc/
Drs_cl.rsh429 * Return the log gamma
437 * Return the log gamma and sign
648 * Compute the gamma function of a value.