OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MAX_ALPHA
(Results
1 - 11
of
11
) sorted by null
/packages/apps/Contacts/src/com/android/contacts/widget/
TextHighlightingAnimation.java
34
private static final int
MAX_ALPHA
= 255;
177
mDimmingSpan.setAlpha(
MAX_ALPHA
);
244
mDimmingSpan.setAlpha(mDimming ? MIN_ALPHA :
MAX_ALPHA
);
254
mDimmingSpan.setAlpha((int)(MIN_ALPHA + (
MAX_ALPHA
-MIN_ALPHA) * interpolatedTime));
257
mDimmingSpan.setAlpha((int)(MIN_ALPHA + (
MAX_ALPHA
-MIN_ALPHA) * (1-interpolatedTime)));
/external/chromium_org/third_party/libwebp/enc/
analysis.c
106
#define
MAX_ALPHA
255 // 8b of precision for susceptibilities.
107
#define ALPHA_SCALE (2 *
MAX_ALPHA
) // scaling factor for alpha.
112
alpha =
MAX_ALPHA
- alpha;
113
return clip(alpha, 0,
MAX_ALPHA
);
127
// 'alpha' will later be clipped to [0..
MAX_ALPHA
] range, clamping outer
146
const int alphas[
MAX_ALPHA
+ 1]) {
150
int map[
MAX_ALPHA
+ 1];
152
int min_a = 0, max_a =
MAX_ALPHA
, range_a;
157
for (n = 0; n <=
MAX_ALPHA
&& alphas[n] == 0; ++n) {}
159
for (n =
MAX_ALPHA
; n > min_a && alphas[n] == 0; --n) {
[
all
...]
quant.c
27
#define
MAX_ALPHA
100 // higher meaninful value for susceptibility
333
/ (
MAX_ALPHA
- MIN_ALPHA);
[
all
...]
/external/webp/src/enc/
analysis.c
106
#define
MAX_ALPHA
255 // 8b of precision for susceptibilities.
107
#define ALPHA_SCALE (2 *
MAX_ALPHA
) // scaling factor for alpha.
112
alpha =
MAX_ALPHA
- alpha;
113
return clip(alpha, 0,
MAX_ALPHA
);
127
// 'alpha' will later be clipped to [0..
MAX_ALPHA
] range, clamping outer
146
const int alphas[
MAX_ALPHA
+ 1]) {
150
int map[
MAX_ALPHA
+ 1];
152
int min_a = 0, max_a =
MAX_ALPHA
, range_a;
157
for (n = 0; n <=
MAX_ALPHA
&& alphas[n] == 0; ++n) {}
159
for (n =
MAX_ALPHA
; n > min_a && alphas[n] == 0; --n) {
[
all
...]
quant.c
27
#define
MAX_ALPHA
100 // higher meaninful value for susceptibility
333
/ (
MAX_ALPHA
- MIN_ALPHA);
[
all
...]
/frameworks/base/core/java/android/widget/
EdgeEffect.java
61
private static final float
MAX_ALPHA
= 1.f;
222
mEdgeAlpha = mEdgeAlphaStart = Math.max(PULL_EDGE_BEGIN, Math.min(distance,
MAX_ALPHA
));
226
mGlowAlpha = mGlowAlphaStart = Math.min(
MAX_ALPHA
,
316
mGlowAlphaStart, Math.min(velocity * VELOCITY_GLOW_FACTOR * .00001f,
MAX_ALPHA
));
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
EdgeEffect.java
68
private static final float
MAX_ALPHA
= 0.8f;
200
mEdgeAlpha = mEdgeAlphaStart = Math.max(PULL_EDGE_BEGIN, Math.min(distance,
MAX_ALPHA
));
204
mGlowAlpha = mGlowAlphaStart = Math.min(
MAX_ALPHA
,
294
mGlowAlphaStart, Math.min(velocity * VELOCITY_GLOW_FACTOR * .00001f,
MAX_ALPHA
));
/packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailTabCarousel.java
90
private static final float
MAX_ALPHA
= 0.5f;
340
float alpha = mLastScrollPosition *
MAX_ALPHA
/ mAllowedHorizontalScrollLength;
343
mUpdatesTab.setAlphaLayerValue(
MAX_ALPHA
- alpha);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PinnedHeaderListView.java
72
private static final int
MAX_ALPHA
= 255;
322
header.alpha =
MAX_ALPHA
;
332
header.alpha =
MAX_ALPHA
* (headerHeight + portion) / headerHeight;
/frameworks/base/services/java/com/android/server/wm/
DisplayMagnifier.java
478
private static final int
MAX_ALPHA
= 255;
524
MIN_ALPHA,
MAX_ALPHA
);
549
setAlpha(
MAX_ALPHA
);
/external/pixman/pixman/
pixman-private.h
353
#define
MAX_ALPHA
(n) ((1 << (n)) - 1)
[
all
...]
Completed in 172 milliseconds