1 /*
2  * Copyright (C) 2013 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package android.support.rastermill;
18 
19 import java.nio.ByteBuffer;
20 
21 import java.io.InputStream;
22 
23 /**
24  * Entire class is a no-op, does nothing
25  */
26 @Deprecated
27 public class FrameSequence {
28     static {
29         System.loadLibrary("framesequence");
30     }
31 
getWidth()32     public int getWidth() { return 0; }
getHeight()33     public int getHeight() { return 0; }
isOpaque()34     public boolean isOpaque() { return true; }
getFrameCount()35     public int getFrameCount() { return 0; }
getDefaultLoopCount()36     public int getDefaultLoopCount() { return 0; }
37 
38     @SuppressWarnings("unused")
FrameSequence()39     private FrameSequence() {
40     }
41 
decodeByteArray(byte[] data)42     public static FrameSequence decodeByteArray(byte[] data) {
43         return null;
44     }
45 
decodeByteArray(byte[] data, int offset, int length)46     public static FrameSequence decodeByteArray(byte[] data, int offset, int length) {
47         return null;
48     }
49 
decodeByteBuffer(ByteBuffer buffer)50     public static FrameSequence decodeByteBuffer(ByteBuffer buffer) {
51         return null;
52     }
53 
decodeStream(InputStream stream)54     public static FrameSequence decodeStream(InputStream stream) {
55         return null;
56     }
57 }
58