From 5d540391f0f1aab6eb664007f22a6389ab9469e5 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Tue, 10 Jul 2012 16:48:01 +0200 Subject: AriesParts: disabled TvOut (relies on a non-free library) Signed-off-by: Paul Kocialkowski --- AriesParts/src/android/hardware/TvOut.java | 70 ------------------------------ 1 file changed, 70 deletions(-) delete mode 100644 AriesParts/src/android/hardware/TvOut.java (limited to 'AriesParts/src/android/hardware/TvOut.java') diff --git a/AriesParts/src/android/hardware/TvOut.java b/AriesParts/src/android/hardware/TvOut.java deleted file mode 100644 index 6c0936e..0000000 --- a/AriesParts/src/android/hardware/TvOut.java +++ /dev/null @@ -1,70 +0,0 @@ -package android.hardware; - -import java.lang.ref.WeakReference; - -import android.graphics.Bitmap; -import android.util.Log; - -public class TvOut { - private static final String TAG = "TvOut"; - - private int mListenerContext; - private int mNativeContext; - - public native void _DisableTvOut(); - - public native void _EnableTvOut(); - - public native void _SetOrientation(int paramInt); - - public native void _SetTvScreenSize(int paramInt); - - public native void _SetTvSystem(int paramInt); - - public native void _TvOutResume(int paramInt); - - public native void _TvOutSetImageString(String paramString); - - public native void _TvOutSuspend(String paramString); - - public native boolean _TvoutSubtitleIsEnable(); - - public native boolean _TvoutSubtitlePostBitmap(Bitmap paramBitmap, int paramInt); - - public native boolean _TvoutSubtitleSetStatus(int paramInt); - - public native int _getSubtitleHDMIHeight(); - - public native int _getSubtitleHDMIWidth(); - - public native boolean _isEnabled(); - - public native boolean _isSuspended(); - - public native boolean _isTvoutCableConnected(); - - private final native void _native_setup(Object paramObject); - - private final native void _release(); - - public native void _setTvoutCableConnected(int paramInt); - - static { - System.loadLibrary("tvout_jni"); - } - - public TvOut() { - _native_setup(new WeakReference(this)); - } - - public void finalize() { - _release(); - } - - private static void postEventFromNative(Object tvOutRef, int what, int arg1, int arg2, Object obj) { - TvOut tvOut = (TvOut)((WeakReference)tvOutRef).get(); - - Log.d(TAG, "Native Event: " + what + " " + arg1 + " " + arg2); - } - -} \ No newline at end of file -- cgit v1.1