Debian Codegraph @

android/source/src/java/org/mozilla/gecko/gfx/PanZoomTarget.java

raw
1 /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 package org.mozilla.gecko.gfx;
7
8 import android.graphics.PointF;
9
10 import org.mozilla.gecko.ZoomConstraints;
11
12 public interface PanZoomTarget {
13 public ImmutableViewportMetrics getViewportMetrics();
14 public ZoomConstraints getZoomConstraints();
15
16 public void setAnimationTarget(ImmutableViewportMetrics viewport);
17 public void setViewportMetrics(ImmutableViewportMetrics viewport);
18 /** This triggers an (asynchronous) viewport update/redraw. */
19 public void forceRedraw();
20
21 public boolean post(Runnable action);
22 public Object getLock();
23 public PointF convertViewPointToLayerPoint(PointF viewPoint);
24
25 boolean isFullScreen();
26 }