/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalScaleOperationsTest.java | 91 int newScale = 28; 93 BigDecimal bNumber = aNumber.setScale(newScale); 94 assertTrue("incorrect scale", bNumber.scale() == newScale); 99 * Set a less new scale; this.scale == 8; newScale == 5. 103 int newScale = 5; 105 BigDecimal bNumber = aNumber.setScale(newScale); 106 assertTrue("incorrect scale", bNumber.scale() == newScale); 116 int newScale = 18; 119 aNumber.setScale(newScale); 132 int newScale = 18 [all...] |
BigDecimalArithmeticTest.java | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGZoomEvent.idl | 30 readonly attribute float newScale;
|
SVGZoomEvent.h | 43 float newScale() const;
|
SVGDocument.h | 40 void dispatchZoomEvent(float prevScale, float newScale);
|
SVGZoomEvent.cpp | 56 float SVGZoomEvent::newScale() const
|
SVGDocument.cpp | 52 void SVGDocument::dispatchZoomEvent(float prevScale, float newScale) 57 event->setNewScale(newScale);
|
/libcore/luni/src/main/java/java/math/ |
BigDecimal.java | 270 long newScale; // the new scale 336 newScale = (long)scale - Integer.parseInt(scaleString); 337 scale = (int)newScale; 338 if (newScale != scale) { [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
SimpleBigDecimal.java | 72 public SimpleBigDecimal adjustScale(int newScale) 74 if (newScale < 0) 79 if (newScale == scale) 84 return new SimpleBigDecimal(bigInt.shiftLeft(newScale - scale), 85 newScale);
|
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
Matrix.h | 49 static Matrix* newScale(float x, float y, float z);
|
Matrix.cpp | 87 Matrix* m = newScale(x, y, z); 235 Matrix* Matrix::newScale(float x, float y, float z) {
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
TestAwContentsClient.java | 67 public void notifyCalled(float oldScale, float newScale) { 69 mCurrentScale = newScale; 153 public void onScaleChangedScaled(float oldScale, float newScale) { 154 mOnScaleChangedHelper.notifyCalled(oldScale, newScale);
|
/packages/apps/Browser/tests/src/com/android/browser/ |
TestWebViewClient.java | 124 public void onScaleChanged(WebView view, float oldScale, float newScale) { 125 mWrappedClient.onScaleChanged(view, oldScale, newScale);
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwContentsClientCallbackHelper.java | 138 float newScale = Float.intBitsToFloat(msg.arg2); 139 mContentsClient.onScaleChangedScaled(oldScale, newScale); 188 public void postOnScaleChangedScaled(float oldScale, float newScale) { 194 Float.floatToIntBits(oldScale), Float.floatToIntBits(newScale)));
|
AwContentsClient.java | 184 public abstract void onScaleChangedScaled(float oldScale, float newScale);
|
/frameworks/base/core/java/android/webkit/ |
WebViewClient.java | 263 * @param newScale The new scale factor 265 public void onScaleChanged(WebView view, float oldScale, float newScale) {
|
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/ |
FlockingScene.cpp | 146 Matrix* transformMatrix = Matrix::newScale(MAIN_SCALE * mDisplayRatio, MAIN_SCALE, 0.0f); 164 transformMatrix = Matrix::newScale(SCALE, SCALE, SCALE); 175 transformMatrix = Matrix::newScale(MAIN_SCALE * mDisplayRatio, MAIN_SCALE, 1.0f);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 334 float newScale = currentScale * detector.getScaleFactor(); 335 scale(newScale, detector.getFocusX(), detector.getFocusY()); 820 * @param newScale the new scale 824 private void scale(float newScale, float centerX, float centerY) { 828 // ensure that mMixScale <= newScale <= mMaxScale 829 newScale = Math.max(newScale, mMinScale); 830 newScale = Math.min(newScale, mMaxScale); 833 float factor = newScale / currentScale [all...] |
/cts/suite/cts/deviceTests/opengl/test/ |
MatrixTest.cpp | 94 Matrix* m2 = Matrix::newScale(10, 5, 6); 202 Matrix* m = Matrix::newScale(3, 7, 2);
|
/cts/suite/cts/deviceTests/opengl/jni/primitive/fullpipeline/ |
FullPipelineRenderer.cpp | 159 Matrix* transformMatrix = Matrix::newScale(scale, scale, scale);
|
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/ |
NullContentsClient.java | 187 public void onScaleChangedScaled(float oldScale, float newScale) {
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewClientTest.java | 390 public void onScaleChanged(WebView view, float oldScale, float newScale) { 391 super.onScaleChanged(view, oldScale, newScale);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
FilmStripView.java | [all...] |
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/glowing/ |
GlowingScene.cpp | 170 Matrix* transformMatrix = Matrix::newScale(mFboRatio, 1.0f, 1.0f);
|
/libcore/luni/src/test/java/libcore/java/math/ |
OldBigDecimalArithmeticTest.java | 620 int newScale = 7; 625 BigDecimal result = aNumber.divide(bNumber, newScale, rm); 627 assertEquals("incorrect scale", newScale, result.scale());
|