LibreOffice Module android (master) 1
PanZoomTarget.java
Go to the documentation of this file.
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
6package org.mozilla.gecko.gfx;
7
8import android.graphics.PointF;
9
11
12public interface PanZoomTarget {
15
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}
ImmutableViewportMetrics are used to store the viewport metrics in way that we can access a version o...
void forceRedraw()
This triggers an (asynchronous) viewport update/redraw.
void setViewportMetrics(ImmutableViewportMetrics viewport)
ZoomConstraints getZoomConstraints()
void setAnimationTarget(ImmutableViewportMetrics viewport)
boolean post(Runnable action)
PointF convertViewPointToLayerPoint(PointF viewPoint)
ImmutableViewportMetrics getViewportMetrics()