OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MathUtils
(Results
1 - 15
of
15
) sorted by null
/libcore/luni/src/main/java/libcore/math/
MathUtils.java
19
public final class
MathUtils
{
20
private
MathUtils
() { }
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
PathDestructionActivity.java
25
import android.util.
MathUtils
;
60
left =
MathUtils
.random(getWidth() - MIN_SIZE);
61
top =
MathUtils
.random(getHeight() - MIN_SIZE);
62
right = left +
MathUtils
.random(getWidth() - left);
63
bottom = top +
MathUtils
.random(getHeight() - top);
74
int red =
MathUtils
.random(255);
75
int green =
MathUtils
.random(255);
76
int blue =
MathUtils
.random(255);
/frameworks/base/graphics/java/android/graphics/
Color.java
19
import android.util.
MathUtils
;
254
h =
MathUtils
.constrain(h, 0.0f, 1.0f);
255
s =
MathUtils
.constrain(s, 0.0f, 1.0f);
256
b =
MathUtils
.constrain(b, 0.0f, 1.0f);
/frameworks/base/core/java/android/util/
MathUtils.java
26
public final class
MathUtils
{
31
private
MathUtils
() {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
UserHistoryForgettingCurveUtils.java
133
return
MathUtils
.SCORE_TABLE[l - 1][et];
198
private static class
MathUtils
{
/libcore/luni/src/main/java/java/lang/
RealToString.java
20
import libcore.math.
MathUtils
;
272
S = S *
MathUtils
.LONG_POWERS_OF_TEN[k];
274
long scale =
MathUtils
.LONG_POWERS_OF_TEN[-k];
/libcore/luni/src/main/java/java/math/
BigDecimal.java
25
import libcore.math.
MathUtils
;
164
private static final int[] LONG_POWERS_OF_TEN_BIT_LENGTH = new int[
MathUtils
.LONG_POWERS_OF_TEN.length];
194
LONG_POWERS_OF_TEN_BIT_LENGTH[i] = bitLength(
MathUtils
.LONG_POWERS_OF_TEN[i]);
804
if(diffScale <
MathUtils
.LONG_POWERS_OF_TEN.length &&
806
return valueOf(thisValue.smallValue+augend.smallValue*
MathUtils
.LONG_POWERS_OF_TEN[diffScale],thisValue.scale);
[
all
...]
/frameworks/base/services/java/com/android/server/net/
NetworkStatsRecorder.java
31
import android.util.
MathUtils
;
104
mPersistThresholdBytes =
MathUtils
.constrain(
NetworkStatsService.java
108
import android.util.
MathUtils
;
661
mPersistThreshold =
MathUtils
.constrain(thresholdBytes, 128 * KB_IN_BYTES, 2 * MB_IN_BYTES);
[
all
...]
/packages/apps/Settings/src/com/android/settings/widget/
ChartSweepView.java
34
import android.util.
MathUtils
;
485
final float clampedTargetY =
MathUtils
.constrain(
494
final float clampedTargetX =
MathUtils
.constrain(
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
PolarClockWallpaper.java
36
import android.util.
MathUtils
;
486
c.translate(s +
MathUtils
.lerp(s, -s, mOffsetX), t);
/frameworks/base/core/java/android/net/
NetworkStatsHistory.java
33
import android.util.
MathUtils
;
241
return
MathUtils
.constrain(index, 0, bucketCount - 1);
255
return
MathUtils
.constrain(index, 0, bucketCount - 1);
/packages/apps/Contacts/src/com/android/contacts/voicemail/
VoicemailPlaybackPresenter.java
19
import static android.util.
MathUtils
.constrain;
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/
FallRS.java
33
import static android.util.
MathUtils
.*;
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/
GrassRS.java
25
import static android.util.
MathUtils
.*;
Completed in 6277 milliseconds