summaryrefslogtreecommitdiff
path: root/android/Bootstrap
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-12-17 00:19:36 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-17 10:53:29 +0100
commit8ecf956d79878c9b24f5ddc51d6b723a76d334f5 (patch)
treee5f608a4db81177436ec5c934190c3e76bba8b50 /android/Bootstrap
parent16e1f7196086e81c05588994f8e62833e94dbea8 (diff)
Remove the ThumbnailGenerator class
The only use of it is commented out. ThumbnailGenerator used the UNO-based XToolkitExperimental stuff that I want to get rid of. If/when we want thumbnails, we should use the existing thumbnails from document formats that have them, or generate them using LOKit. Also remove stuff from the Bootstrap class that was only used by ThumbnailGenerator. Conflicts: android/experimental/LOAndroid3/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java Reviewed on: https://gerrit.libreoffice.org/13503 Change-Id: Ia3a1a7f372a814359c5b496cdb17c35246e34817
Diffstat (limited to 'android/Bootstrap')
-rw-r--r--android/Bootstrap/src/org/libreoffice/android/Bootstrap.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
index 89766e62cf89..146ced09f4b0 100644
--- a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
+++ b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
@@ -13,10 +13,7 @@ import android.app.Activity;
import android.content.pm.ApplicationInfo;
import android.util.Log;
-import java.io.File;
import java.io.InputStream;
-import java.nio.ByteBuffer;
-import java.util.Arrays;
// final because subclassing would be meaningless.
public final class Bootstrap
@@ -59,21 +56,6 @@ public final class Bootstrap
// the Android logging mechanism, or stops the redirection.
public static native void redirect_stdio(boolean state);
- // The DIB returned by css.awt.XBitmap.getDIB is in BGR_888 form, at least
- // for Writer documents. We need it in Android's Bitmap.Config.ARGB_888
- // format, which actually is RGBA_888, whee... At least in Android 4.0.3,
- // at least on my device. No idea if it is always like that or not, the
- // documentation sucks.
- public static native void twiddle_BGR_to_RGBA(byte[] source, int offset, int width, int height, ByteBuffer destination);
-
- public static native void force_full_alpha_array(byte[] array, int offset, int length);
-
- public static native void force_full_alpha_bb(ByteBuffer buffer, int offset, int length);
-
- public static native long new_byte_buffer_wrapper(ByteBuffer bbuffer);
-
- public static native void delete_byte_buffer_wrapper(long bbw);
-
static boolean setup_done = false;
// This setup() method should be called from the upper Java level of