/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | Mandelbrot.java | 51 float scaleFactor = mScript.get_scaleFactor(); in onBar2Changed() local 53 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f); in onBar2Changed() 64 float scaleFactor = mScript.get_scaleFactor(); in onBar3Changed() local 66 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f); in onBar3Changed() 77 float scaleFactor = 4.f - (3.96f * (progress / 100.f)); in onBar4Changed() local 78 mScript.set_scaleFactor(scaleFactor); in onBar4Changed()
|
D | mandelbrot.rscript | 23 float scaleFactor = 4.f; 27 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor; 28 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor; 59 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor; 60 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor;
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | Mandelbrot.java | 51 float scaleFactor = mScript.get_scaleFactor(); in onBar2Changed() local 53 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f); in onBar2Changed() 64 float scaleFactor = mScript.get_scaleFactor(); in onBar3Changed() local 66 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f); in onBar3Changed() 77 float scaleFactor = 4.f - (3.96f * (progress / 100.f)); in onBar4Changed() local 78 mScript.set_scaleFactor(scaleFactor); in onBar4Changed()
|
D | mandelbrot.rscript | 23 float scaleFactor = 4.f; 27 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor; 28 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor; 59 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor; 60 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor;
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | Mandelbrot.java | 57 float scaleFactor = mScript.get_scaleFactor(); in onBar2Changed() local 59 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f); in onBar2Changed() 70 float scaleFactor = mScript.get_scaleFactor(); in onBar3Changed() local 72 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f); in onBar3Changed() 83 float scaleFactor = 4.f - (3.96f * (progress / 100.f)); in onBar4Changed() local 84 mScript.set_scaleFactor(scaleFactor); in onBar4Changed()
|
D | mandelbrot.rscript | 23 float scaleFactor = 4.f; 27 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor; 28 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor; 59 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor; 60 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor;
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | ex_ctrl.cpp | 161 Word16 testEnergy, scaleFactor, avgEnergy, prevEnergy; in Ex_ctrl() local 201 scaleFactor = extract_l(t0); in Ex_ctrl() 204 if (carefulFlag != 0 && (scaleFactor > 3072)) in Ex_ctrl() 206 scaleFactor = 3072; in Ex_ctrl() 212 t0 = L_mult(scaleFactor, excitation[i], pOverflow); in Ex_ctrl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ScalingDrawableWrapper.java | 29 public ScalingDrawableWrapper(Drawable drawable, float scaleFactor) { in ScalingDrawableWrapper() argument 31 mScaleFactor = scaleFactor; in ScalingDrawableWrapper()
|
D | StatusBarIconView.java | 411 float scaleFactor = typedValue.getFloat(); in getIcon() local 414 if (scaleFactor == 1.f) { in getIcon() 418 return new ScalingDrawableWrapper(icon, scaleFactor); in getIcon()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraView.java | 219 float scaleFactor = (float) Math.pow(2.f, yDistNorm * ACCELERATION_FACTOR); in touchScreen() local 223 long exp = (long) (mExposureDown * scaleFactor); in touchScreen() 229 float focusDist = mFocusDistDown * scaleFactor; in touchScreen() 237 scaleFactor = (float) Math.pow(2.f, yDistNorm * ACCELERATION_FACTOR); in touchScreen() 238 int iso = (int) (getIso() * scaleFactor); in touchScreen()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraView.java | 218 float scaleFactor = (float) Math.pow(2.f, yDistNorm * ACCELERATION_FACTOR); in touchScreen() local 222 long exp = (long) (mExposureDown * scaleFactor); in touchScreen() 228 float focusDist = mFocusDistDown * scaleFactor; in touchScreen() 236 scaleFactor = (float) Math.pow(2.f, yDistNorm * ACCELERATION_FACTOR); in touchScreen() 237 int iso = (int) (getIso() * scaleFactor); in touchScreen()
|
/frameworks/native/cmds/flatland/ |
D | Main.cpp | 390 float scaleFactor = float(mDesc.runHeights[mInstance]) / in setUp() local 392 uint32_t w = uint32_t(scaleFactor * float(mDesc.width)); in setUp() 411 ld.x = int32_t(scaleFactor * float(ld.x)); in setUp() 412 ld.y = int32_t(scaleFactor * float(ld.y)); in setUp() 413 ld.width = uint32_t(scaleFactor * float(ld.width)); in setUp() 414 ld.height = uint32_t(scaleFactor * float(ld.height)); in setUp()
|
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
D | TouchLatencyActivity.java | 109 float scaleFactor = (float) Math.sqrt(deltaX * deltaX + deltaY * deltaY) * 1.5f; in drawTouch() local 115 canvas.drawCircle(mTouchX, mTouchY, INNER_RADIUS + 3 * scaleFactor, mRedPaint); in drawTouch() 116 canvas.drawCircle(mTouchX, mTouchY, INNER_RADIUS + 2 * scaleFactor, mYellowPaint); in drawTouch() 117 canvas.drawCircle(mTouchX, mTouchY, INNER_RADIUS + scaleFactor, mGreenPaint); in drawTouch()
|
/frameworks/base/core/jni/ |
D | android_hardware_input_InputWindowHandle.cpp | 53 jfieldID scaleFactor; member 131 gInputWindowHandleClassInfo.scaleFactor); in updateInfo() 305 GET_FIELD_ID(gInputWindowHandleClassInfo.scaleFactor, clazz, in register_android_view_InputWindowHandle()
|
/frameworks/base/core/java/android/view/ |
D | InputWindowHandle.java | 67 public float scaleFactor; field in InputWindowHandle
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InputMonitor.java | 285 inputWindowHandle.scaleFactor = 1.0f/child.mGlobalScale; in populateInputWindowHandle() 287 inputWindowHandle.scaleFactor = 1; in populateInputWindowHandle()
|
D | InputConsumerImpl.java | 91 mWindowHandle.scaleFactor = 1.0f; in InputConsumerImpl()
|
D | Letterbox.java | 196 mWindowHandle.scaleFactor = 1.0f; in InputInterceptor()
|
D | TaskPositioner.java | 291 mDragWindowHandle.scaleFactor = 1.0f; in register()
|
D | DragState.java | 295 mDragWindowHandle.scaleFactor = 1.0f; in InputInterceptor()
|
D | ActivityTaskManagerService.java | 5482 final float scaleFactor = Settings.System.getFloatForUser(mContext.getContentResolver(), in updateFontScaleIfNeeded() local 5486 if (getGlobalConfiguration().fontScale == scaleFactor) { in updateFontScaleIfNeeded() 5492 configuration.fontScale = scaleFactor; in updateFontScaleIfNeeded()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 3043 final double scaleFactor = Math.min((double) (endTimeMillis - beginTimeMillis) in filter() local 3051 uidOp.filter(packageName, opNames, scaleFactor); in filter() 3621 private void filter(@Nullable String[] opNames, double scaleFactor) { in filter() argument 3628 op.filter(scaleFactor); in filter() 3821 private void filter(double scaleFactor) { in filter() argument 3822 scale(mAccessCount, scaleFactor); in filter() 3823 scale(mRejectCount, scaleFactor); in filter() 3824 scale(mAccessDuration, scaleFactor); in filter() 4169 private static void scale(@NonNull LongSparseLongArray data, double scaleFactor) { in scale() argument 4174 (double) data.valueAt(i) * scaleFactor)); in scale()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 138 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { in scaleAxisValue() argument 141 c.setAxisValue(axis, value * scaleFactor); in scaleAxisValue()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 653 float scaleFactor = (float)(newWidth - totalGap) / totalWidth; in resize() local 656 key.width *= scaleFactor; in resize()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2RecordingTest.java | 1087 float scaleFactor = sz.getHeight() * sz.getWidth() / (float)(1920 * 1080); 1088 rate = (int)(rate * scaleFactor);
|