Home
last modified time | relevance | path

Searched refs:factor (Results 1 – 3 of 3) sorted by relevance

/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayoutActivity.java382 float factor; in onScroll() local
384 factor = Math.abs((float)(mTranslation) / (float)(mFoldLayout.getHeight())); in onScroll()
402 factor = Math.abs(((float)mTranslation) / ((float) mFoldLayout.getWidth())); in onScroll()
424 mFoldLayout.setFoldFactor(factor); in onScroll()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceRandom.java212 private static boolean validateKeyCategory(String catName, int[] keys, float factor) { in validateKeyCategory() argument
213 if (factor < 0.1f) { in validateKeyCategory()
221 … Logger.err.println("** " + catName + " has no physical keys but with factor " + factor + "%."); in validateKeyCategory()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java516 public void glPolygonOffset(float factor, float units) { in glPolygonOffset() argument
517 mgl.glPolygonOffset(factor, units); in glPolygonOffset()
520 public void glPolygonOffsetx(int factor, int units) { in glPolygonOffsetx() argument
521 mgl.glPolygonOffsetx(factor, units); in glPolygonOffsetx()