Package jadx.core.utils.android
Class Res9patchStreamDecoder
java.lang.Object
jadx.core.utils.android.Res9patchStreamDecoder
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandecode(InputStream in, OutputStream out) private voiddrawHLine(BufferedImage im, int y, int x1, int x2) private voiddrawVLine(BufferedImage im, int x, int y1, int y2) private booleanprivate @Nullable Res9patchStreamDecoder.NinePatch
-
Field Details
-
NP_CHUNK_TYPE
private static final int NP_CHUNK_TYPE- See Also:
-
NP_COLOR
private static final int NP_COLOR- See Also:
-
-
Constructor Details
-
Res9patchStreamDecoder
public Res9patchStreamDecoder()
-
-
Method Details
-
decode
-
getNinePatch
@Nullable private @Nullable Res9patchStreamDecoder.NinePatch getNinePatch(InputStream in) throws IOException - Throws:
IOException
-
find9patchChunk
- Throws:
IOException
-
drawHLine
-
drawVLine
-