Searched refs:newAlpha (Results 1 – 7 of 7) sorted by relevance
83 float newAlpha = getNonBatteryClockAlphaFor(mode); in applyMode() local91 animateTransitionTo(mLeftSide, newAlpha), in applyMode()92 animateTransitionTo(mStatusIcons, newAlpha), in applyMode()93 animateTransitionTo(mSignalCluster, newAlpha), in applyMode()103 mLeftSide.setAlpha(newAlpha); in applyMode()104 mStatusIcons.setAlpha(newAlpha); in applyMode()105 mSignalCluster.setAlpha(newAlpha); in applyMode()
92 int newAlpha = (mCurAlpha * mAlpha) / 256; in draw() local93 if (newAlpha == 0) { in draw()97 mPaint.setAlpha(newAlpha); in draw()
191 float newAlpha = state.alpha;194 boolean becomesInvisible = newAlpha == 0.0f || state.hidden;195 if (alpha != newAlpha && xTranslation == 0) {197 boolean becomesFullyVisible = newAlpha == 1.0f;209 view.setAlpha(newAlpha);
133 final float newAlpha = shown && visible ? 1 : 0; in setVisibility() local134 if (view.getAlpha() == newAlpha) return; in setVisibility()138 .alpha(newAlpha) in setVisibility()141 view.setAlpha(newAlpha); in setVisibility()
250 int newAlpha = (originalAlpha + 1) % 255; in testMutate() local255 d1.setAlpha(newAlpha); in testMutate()256 assertEquals(newAlpha, d1.getAlpha()); in testMutate()
284 protected void onAlphaChanged(int oldAlpha, int newAlpha) { in onAlphaChanged() argument369 protected void onAlphaChanged(int oldAlpha, int newAlpha) { in onAlphaChanged() argument370 if (newAlpha == FULL_ALPHA && oldAlpha < FULL_ALPHA) { in onAlphaChanged()
3604 final int newAlpha = (int) (Color.alpha(underlineColor) * BACKGROUND_TRANSPARENCY); in updateSuggestions() local3606 (underlineColor & 0x00FFFFFF) + (newAlpha << 24)); in updateSuggestions()