Kaydet (Commit) 8ecf956d authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Miklos Vajna

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
üst 16e1f719
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment