Searched refs:alpha (Results 1 - 25 of 82) sorted by path

1234

/packages/apps/Browser/src/com/android/browser/
H A DNavTabScroller.java312 ObjectAnimator alpha = ObjectAnimator.ofFloat(v, ALPHA, getAlpha(v,start),
315 set1.playTogether(trans, alpha);
H A DSnapshotBar.java146 .alpha(0f)
150 .alpha(1f)
157 .alpha(1f)
161 .alpha(0f)
H A DTabBar.java430 ObjectAnimator alpha = ObjectAnimator.ofFloat(tv, "alpha", 1.0f, 0.0f);
432 animator.playTogether(scalex, scaley, alpha);
/packages/apps/Browser/src/com/android/browser/view/
H A DPieItem.java73 public void setAlpha(float alpha) { argument
75 mView.setAlpha(alpha);
/packages/apps/Calendar/src/com/android/calendar/
H A DDayOfMonthDrawable.java59 public void setAlpha(int alpha) { argument
60 mPaint.setAlpha(alpha);
H A DDayView.java404 // More events text will transition between invisible and this alpha
2082 public void setEventsAlpha(int alpha) { argument
2083 mEventsAlpha = alpha;
2461 int alpha = p.getAlpha();
2479 p.setAlpha(alpha);
2912 int alpha = eventTextPaint.getAlpha();
2971 eventTextPaint.setAlpha(alpha);
2975 alpha = p.getAlpha();
2983 p.setAlpha(alpha);
3108 int alpha
3832 setMoreAllDayEventsTextAlpha(int alpha) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthWeekEventsView.java536 public void setAnimateTodayAlpha(int alpha) { argument
537 mAnimateTodayAlpha = alpha;
662 int alpha = p.getAlpha();
670 p.setAlpha(alpha);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DBlend.cpp1082 double alpha = x * m_wb.direction / m_wb.width; local
1083 double length = (y - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1084 double deltaTheta = m_wb.theta * alpha;
1092 double alpha = y * m_wb.direction / m_wb.width; local
1093 double length = (x - alpha * m_wb.correction) * m_wb.direction + m_wb.radius;
1094 double deltaTheta = m_wb.theta * alpha;
1124 double alpha = deltaTheta / m_wb.theta; local
1125 wx = alpha * m_wb.width * m_wb.direction;
1126 wy = (length - m_wb.radius) * m_wb.direction + alpha * m_wb.correction;
1134 double alpha local
[all...]
H A DDelaunay.cpp148 EdgePointer alpha, beta, temp; local
149 alpha = (EdgePointer) rot(onext(a));
151 temp = onext(alpha);
152 onext(alpha) = onext(beta);
/packages/apps/Camera/src/com/android/camera/
H A DCameraScreenNail.java438 public void setAlpha(float alpha) { argument
440 mAlpha = alpha;
H A DSwitchAnimManager.java108 float alpha = canvas.getAlpha();
117 canvas.setAlpha(alpha);
138 float alpha = canvas.getAlpha();
142 canvas.setAlpha(alpha);
/packages/apps/Camera/src/com/android/camera/drawable/
H A DTextDrawable.java75 public void setAlpha(int alpha) { argument
76 mPaint.setAlpha(alpha);
/packages/apps/Camera/src/com/android/camera/ui/
H A DCameraSwitcher.java251 .alpha(0f)
257 animate().alpha(1f).setDuration(SWITCHER_POPUP_ANIM_DURATION)
281 .alpha(1f)
287 animate().alpha(0f).setDuration(SWITCHER_POPUP_ANIM_DURATION)
H A DPieItem.java94 public void setAlpha(float alpha) { argument
95 mAlpha = alpha;
96 mDrawable.setAlpha((int) (255 * alpha));
H A DPieRenderer.java352 mOverlay.animate().alpha(0).setListener(new AnimatorListenerAdapter() {
369 float alpha = 1;
371 alpha = mXFade.getValue();
373 alpha = mFadeIn.getValue();
377 float sf = 0.9f + alpha * 0.1f;
388 drawItem(canvas, item, alpha);
393 drawItem(canvas, inner, (mXFade != null) ? (1 - 0.5f * alpha) : 1);
399 private void drawItem(Canvas canvas, PieItem item, float alpha) { argument
410 alpha = alpha * (ite
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DPhotoSelectionActivity.java219 final float alpha = Math.min((float) boundsHeight / (float) mExpandedPhotoSize,
221 if (alpha < 1.0f) {
223 return (int) (alpha * mExpandedPhotoSize);
420 mPhotoView, "alpha", 0f).setDuration(PHOTO_CONTRACT_DURATION);
447 ObjectAnimator.ofFloat(mBackdrop, "alpha", 0, 0.5f).setDuration(
452 ObjectAnimator.ofFloat(mBackdrop, "alpha", 0f).setDuration(
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DCarouselTab.java41 * This view adds an alpha layer over the entire tab (except for the label).
74 labelAnimator.alpha(1.0f);
81 backgroundAnimator.alpha(1.0f);
H A DContactDetailDisplayUtils.java516 * Sets an alpha value on the view.
518 public static void setAlphaOnViewBackground(View view, float alpha) { argument
520 // Convert alpha layer to a black background HEX color with an alpha value for better
522 view.setBackgroundColor((int) (MoreMath.clamp(alpha, 0.0f, 1.0f) * 255) << 24);
H A DContactDetailLayoutController.java300 animator.alpha(1.0f);
H A DContactDetailTabCarousel.java334 mShadow.animate().setStartDelay(TRANSITION_TIME).alpha(1.0f);
340 float alpha = mLastScrollPosition * MAX_ALPHA / mAllowedHorizontalScrollLength;
341 alpha = MoreMath.clamp(alpha, 0.0f, 1.0f);
342 mAboutTab.setAlphaLayerValue(alpha);
343 mUpdatesTab.setAlphaLayerValue(MAX_ALPHA - alpha);
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DFloatingChildLayout.java82 // Black, 50% alpha as per the system default.
183 public void setBackgroundColorAlpha(int alpha) { argument
184 setBackgroundColor(alpha << 24);
267 .alpha(isExitAnimation ? 0.0f : 1.0f)
/packages/apps/Contacts/src/com/android/contacts/voicemail/
H A DVoicemailPlaybackFragment.java451 mTemporaryTextView.animate().alpha(VISIBLE).setDuration(SHORT_ANIMATION_MS);
452 mPermanentTextView.animate().alpha(INVISIBLE).setDuration(SHORT_ANIMATION_MS);
463 .alpha(INVISIBLE).setDuration(LONG_ANIMATION_MS);
465 .alpha(VISIBLE).setDuration(LONG_ANIMATION_MS);
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DAlphaTouchInterceptorOverlay.java31 * Also supports an alpha layer to dim the content underneath. By default, the
32 * alpha layer is the same View as the touch-interceptor layer. However, for
34 * intercepted (for example, {@link CarouselTab}'s label appears above the alpha
35 * layer). In this case, you can specify the View to use as the alpha layer via
37 * the alpha-layer with respect to your other sub-views.
60 * Set the View that the overlay will use as its alpha-layer. If
62 * some child views need to appear above the alpha-layer but below
68 // We're no longer the alpha-layer, so make ourself invisible.
75 /** Sets the alpha value on the alpha laye
76 setAlphaLayerValue(float alpha) argument
[all...]
H A DFrameLayoutWithOverlay.java27 * If necessary, you can specify your own alpha-layer and manually manage its z-order.
49 * Delegate to overlay: set the View that it will use as its alpha-layer.
50 * If none is set, the overlay will use its own alpha layer. Only
52 * alpha-layer.
58 /** Delegate to overlay: set the alpha value on the alpha layer. */
59 public void setAlphaLayerValue(float alpha) { argument
60 mOverlay.setAlphaLayerValue(alpha);
H A DPinnedHeaderListView.java84 int alpha; field in class:PinnedHeaderListView.PinnedHeader
313 header.alpha = MAX_ALPHA;
323 header.alpha = MAX_ALPHA * (headerHeight + portion) / headerHeight;
516 canvas.saveLayerAlpha(mBounds, header.alpha, Canvas.ALL_SAVE_FLAG);

Completed in 249 milliseconds

1234