OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:defaultScale
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/core/tests/coretests/src/android/webkit/
ZoomManagerTest.java
120
private void defaultScaleTest(float
defaultScale
) {
121
final float maxDefault = ZoomManager.DEFAULT_MAX_ZOOM_SCALE_FACTOR *
defaultScale
;
122
final float minDefault = ZoomManager.DEFAULT_MIN_ZOOM_SCALE_FACTOR *
defaultScale
;
123
assertEquals(
defaultScale
, zoomManager.getDefaultScale());
124
assertEquals(1 /
defaultScale
, zoomManager.getInvDefaultScale());
/frameworks/base/core/java/android/webkit/
ZoomManager.java
269
private void setDefaultZoomScale(float
defaultScale
) {
271
mDefaultScale =
defaultScale
;
272
mInvDefaultScale = 1 /
defaultScale
;
273
mDefaultMaxZoomScale =
defaultScale
* DEFAULT_MAX_ZOOM_SCALE_FACTOR;
274
mDefaultMinZoomScale =
defaultScale
* DEFAULT_MIN_ZOOM_SCALE_FACTOR;
277
mMaxZoomScale =
defaultScale
/ originalDefault * mMaxZoomScale;
283
mMinZoomScale =
defaultScale
/ originalDefault * mMinZoomScale;
[
all
...]
WebViewCore.java
[
all
...]
/cts/tests/tests/webkit/src/android/webkit/cts/
WebViewTest.java
[
all
...]
/external/robolectric/lib/main/
h2-1.2.147.jar
Completed in 311 milliseconds