Package: trident / 1.3+dfsg-5

no-android.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
We don't want to use the android SDK right now, so we patch out these files. They
could potentially be re-added at a later date if required.

Index: trident-1.3+dfsg/src/org/pushingpixels/trident/android/AndroidPropertyInterpolators.java
===================================================================
--- trident-1.3+dfsg.orig/src/org/pushingpixels/trident/android/AndroidPropertyInterpolators.java	2010-03-11 09:26:30.000000000 +0000
+++ trident-1.3+dfsg/src/org/pushingpixels/trident/android/AndroidPropertyInterpolators.java	2011-03-29 18:12:18.026076573 +0100
@@ -27,7 +27,7 @@
  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
-package org.pushingpixels.trident.android;
+/*package org.pushingpixels.trident.android;
 
 import java.util.*;
 
@@ -35,13 +35,13 @@
 import org.pushingpixels.trident.interpolator.PropertyInterpolatorSource;
 
 import android.graphics.*;
-
+*/
 /**
  * Built-in interpolators for Android classes.
  * 
  * @author Kirill Grouchnikov
  */
-public class AndroidPropertyInterpolators implements PropertyInterpolatorSource {
+/*public class AndroidPropertyInterpolators implements PropertyInterpolatorSource {
 	private Set<PropertyInterpolator> interpolators;
 
 	public static final PropertyInterpolator<Integer> COLOR_INTERPOLATOR = new ColorInterpolator();
@@ -158,4 +158,4 @@
 			return RectF.class;
 		}
 	}
-}
+}*/
Index: trident-1.3+dfsg/src/org/pushingpixels/trident/android/AndroidRepaintCallback.java
===================================================================
--- trident-1.3+dfsg.orig/src/org/pushingpixels/trident/android/AndroidRepaintCallback.java	2010-03-11 09:26:30.000000000 +0000
+++ trident-1.3+dfsg/src/org/pushingpixels/trident/android/AndroidRepaintCallback.java	2011-03-29 18:12:18.026076573 +0100
@@ -27,7 +27,7 @@
  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
-package org.pushingpixels.trident.android;
+/*package org.pushingpixels.trident.android;
 
 import org.pushingpixels.trident.Timeline.TimelineState;
 import org.pushingpixels.trident.callback.RunOnUIThread;
@@ -73,4 +73,4 @@
 			this.view.invalidate(this.rect.left, this.rect.top,
 					this.rect.right, this.rect.bottom);
 	}
-}
+}*/
Index: trident-1.3+dfsg/src/org/pushingpixels/trident/android/AndroidRepaintTimeline.java
===================================================================
--- trident-1.3+dfsg.orig/src/org/pushingpixels/trident/android/AndroidRepaintTimeline.java	2010-03-11 09:26:30.000000000 +0000
+++ trident-1.3+dfsg/src/org/pushingpixels/trident/android/AndroidRepaintTimeline.java	2011-03-29 18:12:18.026076573 +0100
@@ -27,7 +27,7 @@
  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
-package org.pushingpixels.trident.android;
+/*package org.pushingpixels.trident.android;
 
 import org.pushingpixels.trident.Timeline;
 
@@ -78,4 +78,4 @@
 		}
 		super.playLoop(loopCount, repeatBehavior);
 	}
-}
\ No newline at end of file
+}*/
Index: trident-1.3+dfsg/src/org/pushingpixels/trident/android/AndroidToolkitHandler.java
===================================================================
--- trident-1.3+dfsg.orig/src/org/pushingpixels/trident/android/AndroidToolkitHandler.java	2010-03-11 09:26:30.000000000 +0000
+++ trident-1.3+dfsg/src/org/pushingpixels/trident/android/AndroidToolkitHandler.java	2011-03-29 18:12:18.026076573 +0100
@@ -27,7 +27,7 @@
  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
-package org.pushingpixels.trident.android;
+/*package org.pushingpixels.trident.android;
 
 import org.pushingpixels.trident.UIToolkitHandler;
 
@@ -48,4 +48,4 @@
 	public void runOnUIThread(Object mainTimelineObject, final Runnable runnable) {
 		((View) mainTimelineObject).post(runnable);
 	}
-}
+}*/
Index: trident-1.3+dfsg/src/org/pushingpixels/trident/android/TimelineAsyncTask.java
===================================================================
--- trident-1.3+dfsg.orig/src/org/pushingpixels/trident/android/TimelineAsyncTask.java	2010-03-11 09:26:30.000000000 +0000
+++ trident-1.3+dfsg/src/org/pushingpixels/trident/android/TimelineAsyncTask.java	2011-03-29 18:12:18.036076044 +0100
@@ -27,7 +27,7 @@
  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
-package org.pushingpixels.trident.android;
+/*package org.pushingpixels.trident.android;
 
 import org.pushingpixels.trident.TimelineScenario;
 
@@ -49,4 +49,4 @@
 	public void resetDoneFlag() {
 		throw new UnsupportedOperationException();
 	}
-}
+}*/
Index: trident-1.3+dfsg/src/META-INF/trident-plugin.properties
===================================================================
--- trident-1.3+dfsg.orig/src/META-INF/trident-plugin.properties	2011-03-29 18:12:25.107743296 +0100
+++ trident-1.3+dfsg/src/META-INF/trident-plugin.properties	2011-03-29 18:12:28.496075738 +0100
@@ -4,7 +4,4 @@
 UIToolkitHandler=org.pushingpixels.trident.swt.SWTToolkitHandler
 PropertyInterpolatorSource=org.pushingpixels.trident.swt.SWTPropertyInterpolators
 
-UIToolkitHandler=org.pushingpixels.trident.android.AndroidToolkitHandler
-PropertyInterpolatorSource=org.pushingpixels.trident.android.AndroidPropertyInterpolators
-
-PropertyInterpolatorSource=org.pushingpixels.trident.interpolator.CorePropertyInterpolators
\ No newline at end of file
+PropertyInterpolatorSource=org.pushingpixels.trident.interpolator.CorePropertyInterpolators