Home
last modified time | relevance | path

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

/development/tools/winscope/src/viewers/components/rects/
Drects_component.ts496 onSeparationSliderChange(factor: number) {
499 factor,
502 this.store?.add(this.storeKeyZSpacingFactor, `${factor}`);
503 this.mapper3d.setZSpacingFactor(factor);
507 onRotationSliderChange(factor: number) {
508 this.mapper3d.setCameraRotationFactor(factor);
Dmapper3d.ts66 setCameraRotationFactor(factor: number) {
67 this.cameraRotationFactor = Math.min(Math.max(factor, 0), 1);
74 setZSpacingFactor(factor: number) {
75 this.zSpacingFactor = Math.min(Math.max(factor, 0), 1);
/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.java213 private static boolean validateKeyCategory(String catName, int[] keys, float factor) { in validateKeyCategory() argument
214 if (factor < 0.1f) { in validateKeyCategory()
222 … 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()