HomeSort by relevance Sort by last modified time
    Searched refs:initialScale (Results 1 - 17 of 17) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/page/
PageScaleConstraints.cpp 39 : initialScale(-1), minimumScale(-1), maximumScale(-1) { }
42 : initialScale(initial), minimumScale(minimum), maximumScale(maximum) { }
46 if (other.initialScale != -1) {
47 initialScale = other.initialScale;
49 minimumScale = std::min(minimumScale, other.initialScale);
75 initialScale = clampToConstraints(initialScale);
89 if (initialScale == -1)
90 initialScale = minimumScale
    [all...]
PageScaleConstraints.h 41 float initialScale;
  /external/chromium_org/third_party/WebKit/Source/web/
PageScaleConstraintsSet.cpp 103 && computeConstraintsStack().initialScale < finalConstraints().minimumScale)
127 static float getLayoutWidthForNonWideViewport(const FloatSize& deviceSize, float initialScale)
129 return initialScale == -1 ? deviceSize.width() : deviceSize.width() / initialScale;
142 const float oldInitialScale = m_pageDefinedConstraints.initialScale;
152 m_pageDefinedConstraints.initialScale = 1.0f;
161 if (m_pageDefinedConstraints.initialScale != -1)
162 m_pageDefinedConstraints.initialScale *= targetDensityDPIFactor;
181 if (m_userAgentConstraints.initialScale != -1 && (description.maxWidth == Length(100, ViewportPercentageWidth) || ((description.maxWidth.isAuto() || description.maxWidth.type() == ExtendToZoom) && description.zoom == -1))) {
182 adjustedLayoutSizeWidth /= m_userAgentConstraints.initialScale;
    [all...]
WebViewImpl.cpp     [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/animation/
Bone.java 68 private Vector3f initialScale;
104 initialScale = new Vector3f(1, 1, 1);
132 initialScale = source.initialScale;
296 return initialScale;
370 initialScale.set(localScale);
400 localScale.set(initialScale);
444 localScale.set(initialScale);
521 localScale.set(initialScale).multLocal(scale);
547 tmpV2.set(initialScale).multLocal(scale)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/tests/
ViewportTest.cpp 151 EXPECT_NEAR(1.0f, constraints.initialScale, 0.01f);
170 EXPECT_NEAR(0.32f, constraints.initialScale, 0.01f);
189 EXPECT_NEAR(1.0f, constraints.initialScale, 0.01f);
208 EXPECT_NEAR(2.0f, constraints.initialScale, 0.01f);
227 EXPECT_NEAR(0.5f, constraints.initialScale, 0.01f);
246 EXPECT_NEAR(1.6f, constraints.initialScale, 0.01f);
265 EXPECT_NEAR(0.25f, constraints.initialScale, 0.01f);
284 EXPECT_NEAR(0.25f, constraints.initialScale, 0.01f);
303 EXPECT_NEAR(0.25f, constraints.initialScale, 0.01f);
322 EXPECT_NEAR(0.25f, constraints.initialScale, 0.01f)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
DragView.java 67 int left, int top, int width, int height, final float initialScale) {
70 mInitialScale = initialScale;
79 setScaleX(initialScale);
80 setScaleY(initialScale);
95 setScaleX(initialScale + (value * (scale - initialScale)));
96 setScaleY(initialScale + (value * (scale - initialScale)));
DeleteDropTarget.java 289 float initialScale = dragView.getInitialScale();
301 dragView.setScaleX(initialScale * (1f - tp));
302 dragView.setScaleY(initialScale * (1f - tp));
  /packages/apps/Launcher3/src/com/android/launcher3/
DragView.java 67 int left, int top, int width, int height, final float initialScale) {
70 mInitialScale = initialScale;
79 setScaleX(initialScale);
80 setScaleY(initialScale);
95 setScaleX(initialScale + (value * (scale - initialScale)));
96 setScaleY(initialScale + (value * (scale - initialScale)));
DeleteDropTarget.java 386 float initialScale = dragView.getInitialScale();
398 dragView.setScaleX(initialScale * (1f - tp));
399 dragView.setScaleY(initialScale * (1f - tp));
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
RagdollUtils.java 104 public static HullCollisionShape makeShapeFromPointMap(Map<Integer, List<Float>> pointsMap, List<Integer> boneIndices, Vector3f initialScale, Vector3f initialPosition) {
116 pos.subtractLocal(initialPosition).multLocal(initialScale);
156 public static HullCollisionShape makeShapeFromVerticeWeights(Spatial model, List<Integer> boneIndices, Vector3f initialScale, Vector3f initialPosition, float weightThreshold) {
162 points.addAll(getPoints(g.getMesh(), index, initialScale, initialPosition, weightThreshold));
170 points.addAll(getPoints(g.getMesh(), index, initialScale, initialPosition, weightThreshold));
193 private static List<Float> getPoints(Mesh mesh, int boneIndex, Vector3f initialScale, Vector3f offset, float weightThreshold) {
223 pos.subtractLocal(offset).multLocal(initialScale);
  /external/chromium_org/v8/test/mjsunit/regress/
regress-201590.js 32 function Foo(initialX, initialY, initialScale, initialMapHeight) {
34 this.scale = initialScale;
  /packages/apps/UnifiedEmail/assets/
script.js 747 var initialScale;
760 initialScale = msgBodyDiv.getAttribute("data-initial-scale") || 1.0;
765 // FIXME: wrong for initialScale > 1.0
766 scaledOriginX = focusX / initialScale;
767 scaledOriginY = (focusY - msgDivTop) / initialScale;
775 initialScale: initialScale,
784 currScale: initialScale,
792 msgBodyDiv.style.webkitTransform = "scale3d(" + initialScale + "," + initialScale
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ViewportDescription.cpp 166 // Only set initialScale to a value if it was explicitly set.
173 result.initialScale = resultZoom;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LayoutCanvas.java 279 double initialScale = Double.parseDouble(zoom);
280 if (initialScale > 0.1) {
281 mHScale.setScale(initialScale);
282 mVScale.setScale(initialScale);
    [all...]
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
AwSettingsTest.java     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/testing/
Internals.cpp     [all...]

Completed in 296 milliseconds