OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:frand
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
voronoi.cc
53
inline float
frand
() {
function in namespace:__anon12934
160
const float x =
frand
();
161
const float y =
frand
();
165
const float u = (
frand
() * 2.0f - 1.0f) * speed;
166
const float v = (
frand
() * 2.0f - 1.0f) * speed;
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/
voronoi.cc
52
inline float
frand
() {
function in namespace:__anon12940
149
const float x =
frand
();
150
const float y =
frand
();
154
const float u = (
frand
() * 2.0f - 1.0f) * speed;
155
const float v = (
frand
() * 2.0f - 1.0f) * speed;
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
LLand.java
210
mFlipped =
frand
() > 0.5f;
228
boolean showingSun = (mTimeOfDay == DAY || mTimeOfDay == SUNSET) &&
frand
() > 0.25;
233
sun.setTranslationX(
frand
(w, mWidth-w));
method
235
sun.setTranslationY(
frand
(w, (mHeight * 0.66f)));
method
238
sun.setTranslationY(
frand
(mHeight * 0.66f, mHeight - w));
247
final float ff =
frand
();
252
moon.setScaleX(
frand
() > 0.5 ? -1 : 1);
253
moon.setRotation(moon.getScaleX() *
frand
(5, 30));
255
moon.setTranslationX(
frand
(w, mWidth - w));
method
256
moon.setTranslationY(
frand
(w, mHeight - w))
method
[
all
...]
Completed in 282 milliseconds