This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
###################################################################### | |
# | |
# File : split_bootimg.pl | |
# Author(s) : William Enck <[email protected]> | |
# Description : Split appart an Android boot image created | |
# with mkbootimg. The format can be found in | |
# android-src/system/core/mkbootimg/bootimg.h | |
# | |
# Thanks to alansj on xda-developers.com for |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author HxBreak | |
* @sample DescentBasedImageSpan(Context.getDrawable(R.mimap.ic_new), ViewUtils.dpToPx(4)) | |
* An ImageSpannable BottomBased Line Descent Position And Horizontal Margin Supported | |
*/ | |
package com.example.myapplication | |
import android.content.Context | |
import android.graphics.* | |
import android.graphics.Paint.FontMetricsInt |