Searched defs:alpha (Results 76 - 83 of 83) sorted by relevance

1234

/packages/apps/Launcher3/src/com/android/launcher3/
H A DDragLayer.java55 // Scrim color without any alpha component.
572 public void animateViewIntoPosition(DragView dragView, final int[] pos, float alpha, argument
580 animateViewIntoPosition(dragView, fromX, fromY, pos[0], pos[1], alpha, 1, 1, scaleX, scaleY,
676 * @param finalAlpha The final alpha of the view, in case we want it to fade as it animates.
680 * @param alphaInterpolator The interpolator to use for the alpha of the view.
733 float alpha = finalAlpha * alphaPercent + initAlpha * (1 - alphaPercent);
751 mDropView.setAlpha(alpha);
904 int alpha = (int) (mBackgroundAlpha * 255);
905 canvas.drawColor((alpha << 24) | SCRIM_COLOR);
946 public void setBackgroundAlpha(float alpha) { argument
[all...]
H A DCellLayout.java448 final float alpha = mDragOutlineAlphas[i];
449 if (alpha > 0) {
454 paint.setAlpha((int)(alpha + .5f));
913 public void setBackgroundAlpha(float alpha) { argument
914 if (mBackgroundAlpha != alpha) {
915 mBackgroundAlpha = alpha;
925 public void setShortcutAndWidgetAlpha(float alpha) { argument
926 mShortcutsAndWidgets.setAlpha(alpha);
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DBlend.cpp1062 double alpha = x * m_wb.direction / m_wb.width; local
1063 double length = (y - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1064 double deltaTheta = m_wb.theta * alpha;
1072 double alpha = y * m_wb.direction / m_wb.width; local
1073 double length = (x - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1074 double deltaTheta = m_wb.theta * alpha;
1104 double alpha = deltaTheta / m_wb.theta; local
1105 wx = alpha * m_wb.width * m_wb.direction;
1106 wy = (length - m_wb.radius) * m_wb.direction + alpha * m_wb.correction;
1114 double alpha local
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKey.java813 public Drawable getIcon(final KeyboardIconsSet iconSet, final int alpha) { argument
819 icon.setAlpha(alpha);
/packages/apps/Camera2/src/com/android/camera/widget/
H A DFilmstripView.java289 public void setAlpha(float alpha) { argument
291 mView.setAlpha(alpha);
358 * Animates the alpha value of the view.
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayout.java450 final float alpha = mDragOutlineAlphas[i];
451 if (alpha > 0) {
455 paint.setAlpha((int)(alpha + .5f));
1070 public void setBackgroundAlpha(float alpha) { argument
1071 if (mBackgroundAlpha != alpha) {
1072 mBackgroundAlpha = alpha;
1077 public void setShortcutAndWidgetAlpha(float alpha) { argument
1080 getChildAt(i).setAlpha(alpha);
H A DWorkspace.java750 // If we are not fading in adjacent screens, we still need to restore the alpha in case the
1116 public void setChildrenOutlineAlpha(float alpha) { argument
1117 mChildrenOutlineAlpha = alpha;
1120 cl.setBackgroundAlpha(alpha);
1164 public void setBackgroundAlpha(float alpha) { argument
1165 if (alpha != mBackgroundAlpha) {
1166 mBackgroundAlpha = alpha;
1197 float alpha = 1 - Math.abs(scrollProgress);
1198 child.getShortcutsAndWidgets().setAlpha(alpha);
1297 int alpha
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java404 // More events text will transition between invisible and this alpha
2085 public void setEventsAlpha(int alpha) { argument
2086 mEventsAlpha = alpha;
2464 int alpha = p.getAlpha();
2482 p.setAlpha(alpha);
2915 int alpha = eventTextPaint.getAlpha();
2974 eventTextPaint.setAlpha(alpha);
2978 alpha = p.getAlpha();
2986 p.setAlpha(alpha);
3111 int alpha
3837 setMoreAllDayEventsTextAlpha(int alpha) argument
[all...]

Completed in 1216 milliseconds

1234