OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:alphaMod
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/core/java/android/content/res/
ColorStateList.java
275
final float
alphaMod
= a.getFloat(R.styleable.ColorStateListItem_alpha, 1.0f);
302
final int color = modulateColorAlpha(baseColor,
alphaMod
);
395
final float
alphaMod
= a.getFloat(
397
mColors[i] = modulateColorAlpha(baseColor,
alphaMod
);
445
private int modulateColorAlpha(int baseColor, float
alphaMod
) {
446
if (
alphaMod
== 1.0f) {
451
final int alpha = MathUtils.constrain((int) (baseAlpha *
alphaMod
+ 0.5f), 0, 255);
/frameworks/base/core/java/android/widget/
RadialTimePickerView.java
653
final float
alphaMod
= mInputEnabled ? 1 : mDisabledAlpha;
656
drawHours(canvas,
alphaMod
);
657
drawMinutes(canvas,
alphaMod
);
658
drawCenter(canvas,
alphaMod
);
665
private void drawHours(Canvas canvas, float
alphaMod
) {
666
final int hoursAlpha = (int) (mAlpha[HOURS].getValue() *
alphaMod
+ 0.5f);
669
drawSelector(canvas, mIsOnInnerCircle ? HOURS_INNER : HOURS, null,
alphaMod
);
685
private void drawMinutes(Canvas canvas, float
alphaMod
) {
686
final int minutesAlpha = (int) (mAlpha[MINUTES].getValue() *
alphaMod
+ 0.5f);
689
drawSelector(canvas, MINUTES, mSelectorPath,
alphaMod
);
[
all
...]
DatePickerCalendarDelegate.java
229
private int multiplyAlphaComponent(int color, float
alphaMod
) {
232
final int dstAlpha = (int) (srcAlpha *
alphaMod
+ 0.5f);
TimePickerClockDelegate.java
274
private int multiplyAlphaComponent(int color, float
alphaMod
) {
277
final int dstAlpha = (int) (srcAlpha *
alphaMod
+ 0.5f);
[
all
...]
Completed in 82 milliseconds