HomeSort by relevance Sort by last modified time
    Searched full:min_dim (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/tools/perf/page_sets/tough_canvas_cases/many_images/images/
generate_images.sh 8 MIN_DIM=75
15 # Generate a random number in the range [MIN_DIM, MAX_DIM].
16 rand_dim=$(( MIN_DIM + ($RANDOM % (MAX_DIM - MIN_DIM + 1)) ))
19 # and the other is a random number in the range [MIN_DIM, MAX_DIM].
  /external/chromium_org/native_client_sdk/src/examples/demo/earth/
earth.cc 389 float min_dim = width < height ? width : height; local
390 float offset_x = width < height ? 0 : (width - min_dim) * 0.5f;
391 float offset_y = width < height ? (height - min_dim) * 0.5f : 0;
394 float y1 = (static_cast<float>(y - offset_y) / min_dim) * 2.0f - 1.0f;
403 float oowidth = 1.0f / min_dim;
  /external/chromium_org/native_client_sdk/src/gonacl_appengine/src/
earth.cc 433 float min_dim = width_ < height_ ? width_ : height_; local
434 float offset_x = width_ < height_ ? 0 : (width_ - min_dim) * 0.5f;
435 float offset_y = width_ < height_ ? (height_ - min_dim) * 0.5f : 0;
438 float y1 = (static_cast<float>(y - offset_y) / min_dim) * 2.0f - 1.0f;
447 float oowidth = 1.0f / min_dim;

Completed in 98 milliseconds