HomeSort by relevance Sort by last modified time
    Searched refs:alpha (Results 526 - 550 of 2399) sorted by null

<<21222324252627282930>>

  /frameworks/base/libs/hwui/
RenderProperties.h 55 // record time), this information is used when applying alpha.
88 bool setAlpha(uint8_t alpha) {
89 return RP_SET(mAlpha, alpha);
92 uint8_t alpha() const { function in class:android::uirenderer::LayerProperties
110 // Sets alpha, xfermode, and colorfilter from an SkPaint
115 return !opaque() || alpha() < 255;
128 // Whether or not that Layer's content is opaque, doesn't include alpha
211 bool setAlpha(float alpha) {
212 alpha = MathUtils::clampAlpha(alpha);
    [all...]
OpenGLRenderer.cpp 694 bool fboLayer, int alpha) {
700 mSnapshot->invisible = mSnapshot->invisible || (alpha <= 0 && fboLayer);
764 * Drawing layers with an alpha value requires an extra step before composition.
766 * is drawn with the rgba color (0,0,0,alpha). The alpha value offered by the
964 float alpha = getLayerAlpha(layer); local
1158 const float alpha = getLayerAlpha(layer); local
1826 const int alpha = SkColorGetA(color); local
2168 int alpha; local
2719 float alpha = (hasTextShadow(paint) ? 1.0f : paint->getAlpha()) * mSnapshot->alpha; local
2747 int alpha; local
2827 int alpha; local
2903 int alpha; local
3105 int alpha; local
3359 const float alpha = a \/ 255.0f; local
3386 const float alpha = a \/ 255.0f; local
3410 int alpha; local
3526 float alpha; local
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardWidgetFrame.java 85 // Multiple callers may try and adjust the alpha of the frame. When a caller shows
252 * layers on the content (child) so that updating the alpha of the outlines doesn't
264 * layers on the content (child) so that updating the alpha of the outlines doesn't
304 public void setBackgroundAlpha(float alpha) {
305 if (Float.compare(mBackgroundAlpha, alpha) != 0) {
306 mBackgroundAlpha = alpha;
315 public void setContentAlpha(float alpha) {
316 mContentAlpha = alpha;
319 content.setAlpha(alpha);
412 public void fadeFrame(Object caller, boolean takeControl, float alpha, int duration)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
BrightnessMirrorController.java 67 return a.alpha(0.0f)
72 return a.alpha(1.0f)
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
GLCanvas.java 45 // Sets and gets the current alpha, alpha must be in [0, 1].
46 public abstract void setAlpha(float alpha);
50 // (current alpha) = (current alpha) * alpha
51 public abstract void multiplyAlpha(float alpha);
64 // Pushes the configuration state (matrix, and alpha) onto
76 // alpha, and clip). This call balances a previous call to save(), and is
  /frameworks/native/libs/gui/
LayerState.cpp 35 output.writeFloat(alpha);
55 alpha = input.readFloat();
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
ExtendedBitmapDrawable.java 283 public void setAlpha(int alpha) {
285 super.setAlpha(alpha);
286 if (mPlaceholder != null) mPlaceholder.setAlpha(alpha);
287 if (mProgress != null) mProgress.setAlpha(alpha);
288 if (alpha != old) {
467 public void setInnerAlpha(final int alpha) {
468 super.setInnerAlpha((int) (alpha * mPulseAlphaFraction));
505 // one exception: if alpha is already zero, there is no fade-out, so stop now
555 // one exception: if alpha is already zero, there is no fade-out, so stop now
729 * animation (placeholder will be at maximum alpha always). Any value > 0 defines th
    [all...]
  /packages/apps/Camera2/src/com/android/camera/drawable/
TextDrawable.java 112 public void setAlpha(int alpha) {
113 mPaint.setAlpha(alpha);
  /packages/apps/Camera2/src/com/android/camera/ui/
AnimatedCircleDrawable.java 65 public void setAlpha(int alpha) {
66 mAlpha = alpha;
BottomBar.java 126 private void setPaintColor(int alpha, int color) {
129 mAnimatedCircleDrawable.setAlpha(alpha);
132 mColorDrawable.setAlpha(alpha);
139 intentBackground.setAlpha(alpha);
147 private void setCancelBackgroundColor(int alpha, int color) {
153 colorDrawable.setAlpha(alpha);
373 public void setBackgroundAlpha(int alpha) {
374 mBackgroundAlpha = alpha;
ModeTransitionView.java 138 int alpha = ((int) shadeHeight - mHeight / 2) * ALPHA_FULLY_OPAQUE local
140 mIconDrawable.setAlpha(alpha);
328 private void snapShadeTo(int scrollDistance, int alpha) {
329 snapShadeTo(scrollDistance, alpha, true);
333 * Snaps the shade to a given scroll distance and sets the icon alpha. If the shade
337 * @param alpha ending alpha of the icon drawable
340 private void snapShadeTo(final int scrollDistance, final int alpha,
354 mIconDrawable.setAlpha(alpha);
520 ObjectAnimator alphaAnimator = ObjectAnimator.ofFloat(this, "alpha", 1f, 0f)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorGridDialog.java 91 int alpha = (int) (hsvo[3] * 255);
92 c |= alpha << 24;
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
GLCanvas.java 47 // Sets and gets the current alpha, alpha must be in [0, 1].
48 public abstract void setAlpha(float alpha);
52 // (current alpha) = (current alpha) * alpha
53 public abstract void multiplyAlpha(float alpha);
66 // Pushes the configuration state (matrix, and alpha) onto
78 // alpha, and clip). This call balances a previous call to save(), and is
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
GLCanvas.java 45 // Sets and gets the current alpha, alpha must be in [0, 1].
46 public abstract void setAlpha(float alpha);
50 // (current alpha) = (current alpha) * alpha
51 public abstract void multiplyAlpha(float alpha);
64 // Pushes the configuration state (matrix, and alpha) onto
76 // alpha, and clip). This call balances a previous call to save(), and is
  /packages/apps/Settings/src/com/android/settings/drawable/
DrawableWrapper.java 74 public void setAlpha(int alpha) {
75 mDrawable.setAlpha(alpha);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
FrameLayoutWithShadows.java 85 public void setAlpha(float alpha) {
86 if (mAlpha != alpha) {
87 mAlpha = alpha;
89 int alphaMulitplied = (int)(alpha * 255);
107 protected boolean onSetAlpha(int alpha) {
189 public void setShadowsAlpha(float alpha) {
190 mShadowsAlpha = alpha;
194 shadow.setAlpha(alpha);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtils.java 116 * alpha adjustment during the conversion.
124 * @param transferAlpha If true, copy alpha data out of the source image
125 * @param globalAlpha If -1, do nothing, otherwise adjust the alpha of the final image
163 int alpha = awtImage.getRGB(x, y) >>> 24; local
165 // We have to multiply in the alpha now since if we
166 // set ImageData.alpha, it will ignore the alphaData.
168 alpha = alpha * globalAlpha >> 8;
171 alphaRow[x] = (byte) alpha;
178 imageData.alpha = globalAlpha
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtilsTest.java 43 // prevent the alpha from being pre-multiplied into the RGB when drawing the image.
53 // Convert the RGB image, effectively discarding the alpha channel entirely.
91 // for the content of the alpha channel.
115 assertEquals(128, outData.alpha);
179 // Expected alpha is 0xAA from the AWT input image pre-multiplied by 32 in convertToSwt.
233 byte alpha = 121;
240 scale, alpha);
263 assertEquals(alpha, actualAlpha);
271 byte alpha = 121;
279 scale, alpha);
    [all...]
  /external/opencv/cxcore/src/
cxmatmul.cpp 132 double alpha, double beta, int flags ) \
184 worktype al = worktype(a_data[i])*alpha; \
244 s0 = (s0+s1+s2+s3)*alpha; \
282 d_data[j] = arrtype(s0*alpha); \
283 d_data[j+1] = arrtype(s1*alpha); \
284 d_data[j+2] = arrtype(s2*alpha); \
285 d_data[j+3] = arrtype(s3*alpha); \
289 s0 = s0*alpha; s1 = s1*alpha; \
290 s2 = s2*alpha; s3 = s3*alpha;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FilterEffect.cpp 243 // Iterate over each pixel, checking alpha and adjusting color components if necessary
245 // Alpha is the 4th byte in a pixel
247 // Clamp each component to alpha, and increment the pixel location
253 // Increment for alpha
381 int alpha = sourceComponent[3]; local
382 if (alpha) {
383 destinationComponent[0] = static_cast<int>(sourceComponent[0]) * 255 / alpha;
384 destinationComponent[1] = static_cast<int>(sourceComponent[1]) * 255 / alpha;
385 destinationComponent[2] = static_cast<int>(sourceComponent[2]) * 255 / alpha;
391 destinationComponent[3] = alpha;
415 int alpha = sourceComponent[3]; local
    [all...]
  /external/opencv/cvaux/src/
enmin.cpp 96 // between two labels ( alpha and beta )
97 // alpha - label number one
99 inline int vFunc( int alpha, int beta )
101 if( alpha == beta )
171 // alpha - label number one for doing exchange
183 int alpha,
209 if( corr[i] == alpha || corr[i] == beta ) {
216 ( ( Vertex* )newVtxPtr ) -> coord = -2; /* adding alpha vertex */
231 /* adding edge oriented from alpha vertex to current vertex */
236 alpha,
    [all...]
  /external/libpng/
pngwrite.c 215 /* Invert the alpha channel (in tRNS) */
1771 const png_uint_16 alpha = in_ptr[aindex]; local
1922 png_uint_16 alpha = in_ptr[aindex]; local
2040 png_uint_16 alpha = entry[afirst ? 0 : channels-1]; local
2135 int alpha = !colormap && (format & PNG_FORMAT_FLAG_ALPHA) != 0; local
    [all...]
  /developers/build/prebuilts/gradle/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/
DrawableTintingFragment.java 62 * Seekbar for alpha component of tinting color.
79 * Text label for alpha component seekbar.
115 * Identifier for state of alpha seek bar in state bundle.
231 final int alpha = mAlphaBar.getProgress(); local
236 return Color.argb(alpha, red, green, blue);
251 * ARGB color. (Alpha, Red, Green, Blue.) Once a color has been computed using
265 Color.alpha(color), Color.red(color), Color.green(color), Color.blue(color),
272 mAlphaText.setText(getString(R.string.value_alpha, Color.alpha(color)));
  /developers/samples/android/ui/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/
DrawableTintingFragment.java 62 * Seekbar for alpha component of tinting color.
79 * Text label for alpha component seekbar.
115 * Identifier for state of alpha seek bar in state bundle.
231 final int alpha = mAlphaBar.getProgress(); local
236 return Color.argb(alpha, red, green, blue);
251 * ARGB color. (Alpha, Red, Green, Blue.) Once a color has been computed using
265 Color.alpha(color), Color.red(color), Color.green(color), Color.blue(color),
272 mAlphaText.setText(getString(R.string.value_alpha, Color.alpha(color)));
  /development/ndk/platforms/android-3/include/linux/
msm_mdp.h 73 uint32_t alpha; member in struct:mdp_blit_req

Completed in 814 milliseconds

<<21222324252627282930>>