Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/webkit/
DDeviceMotionAndOrientationManager.java46 double beta, boolean canProvideGamma, double gamma) { in setMockOrientation() argument
49 canProvideGamma, gamma); in setMockOrientation()
60 public void onOrientationChange(Double alpha, Double beta, Double gamma) { in onOrientationChange() argument
64 gamma != null, gamma != null ? gamma.doubleValue() : 0.0); in onOrientationChange()
71 boolean canProvideGamma, double gamma); in nativeSetMockOrientation() argument
77 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.java3067 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) { in setMockDeviceOrientation() argument
3069 canProvideBeta, beta, canProvideGamma, gamma); in setMockDeviceOrientation()
/frameworks/base/libs/hwui/
DGammaFontRenderer.cpp113 description.gamma = mGamma; in describe()
116 description.gamma = 1.0f / mGamma; in describe()
120 description.gamma = 1.0f / mGamma; in describe()
128 glUniform1f(program->getUniform("gamma"), description.gamma); in setupProgram()
140 const float gamma = 1.0f / mGamma; in LookupGammaFontRenderer() local
143 mGammaTable[i] = uint8_t((float)::floor(pow(i / 255.0f, gamma) * 255.0f + 0.5f)); in LookupGammaFontRenderer()
215 FontRenderer* Lookup3GammaFontRenderer::getRenderer(Gamma gamma) { in getRenderer() argument
216 FontRenderer* renderer = mRenderers[gamma]; in getRenderer()
219 mRenderers[gamma] = renderer; in getRenderer()
220 renderer->setGammaTable(&mGammaTable[gamma * 256]); in getRenderer()
[all …]
DProgram.h158 float gamma; member
198 gamma = 2.2f; in reset()
DGammaFontRenderer.h184 FontRenderer* getRenderer(Gamma 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/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/av/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/av/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/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DLayoutTestController.java99 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) { in setMockDeviceOrientation() argument
104 ", " + gamma + ")"); in setMockDeviceOrientation()
106 canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma); in setMockDeviceOrientation()
DLayoutTestsExecutor.java712 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) { in setMockDeviceOrientation() argument
715 ", " + gamma + ")"); in setMockDeviceOrientation()
717 alpha, canProvideBeta, beta, canProvideGamma, gamma); in setMockDeviceOrientation()
/frameworks/base/services/java/com/android/server/power/
DDisplayPowerController.java1045 float gamma = 1.0f; in updateAutoBrightness() local
1052 gamma *= adjGamma; in updateAutoBrightness()
1066 gamma *= earlyGamma * lateGamma; in updateAutoBrightness()
1074 if (gamma != 1.0f) { in updateAutoBrightness()
1076 value = FloatMath.pow(value, gamma); in updateAutoBrightness()
1078 Slog.d(TAG, "updateAutoBrightness: gamma=" + gamma in updateAutoBrightness()
1093 mLastScreenAutoBrightnessGamma = gamma; in updateAutoBrightness()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DLayoutTestController.java81 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma); in setMockDeviceOrientation() argument
DCallbackProxy.java512 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) { in setMockDeviceOrientation() argument
516 canProvideGamma, gamma); in setMockDeviceOrientation()
DTestShellActivity.java561 boolean canProvideBeta, double beta, boolean canProvideGamma, double gamma) { in setMockDeviceOrientation() argument
563 canProvideBeta, beta, canProvideGamma, gamma); in setMockDeviceOrientation()
/frameworks/rs/
DrsFont.cpp344 float gamma = DEFAULT_TEXT_GAMMA; in FontState() local
346 gamma = atof(property); in FontState()
364 mBlackGamma = gamma; in FontState()
365 mWhiteGamma = 1.0f / gamma; in FontState()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dacelp.h95 Word16 gamma, /* (i) Q15 : Spectral expansion factor. */
/frameworks/support/renderscript/v8/rs_support/scriptc/
Drs_cl.rsh496 * Return the log gamma
504 * Return the log gamma and sign
714 * Compute the gamma function of a value.
/frameworks/rs/scriptc/
Drs_cl.rsh496 * Return the log gamma
504 * Return the log gamma and sign
714 * Compute the gamma function of a value.
/frameworks/wilhelm/doc/
DDoxyfile828 # The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to
831 # the output darker. The value divided by 100 is the actual gamma applied,
832 # so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2,
833 # and 100 does not change the gamma.
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h973 XApermille gamma

12