Skip to content

Instantly share code, notes, and snippets.

View HEZI0427's full-sized avatar

kiwimchen HEZI0427

  • Tencent
  • Shanghai
View GitHub Profile
@HEZI0427
HEZI0427 / art_9.0_oatdump_cdex.patch
Created November 15, 2018 12:40 — forked from anestisb/art_9.0_oatdump_cdex.patch
Patch for Android Pie ART oatdump to convert CompactDex to StandardDex before exporting
diff --git a/oatdump/Android.bp b/oatdump/Android.bp
index 71e276d..3d50229 100644
--- a/oatdump/Android.bp
+++ b/oatdump/Android.bp
@@ -35,6 +35,7 @@ art_cc_binary {
shared_libs: [
"libart",
"libart-compiler",
+ "libart-dexlayout",
"libart-disassembler",
@HEZI0427
HEZI0427 / art_9.0_compact_dex_converter.patch
Created November 15, 2018 12:34 — forked from anestisb/art_9.0_compact_dex_converter.patch
Cdex to Dex converter utility using AOSP ART libdexlayout
diff --git a/dexlayout/Android.bp b/dexlayout/Android.bp
index 33ba58f..f3b2a7e 100644
--- a/dexlayout/Android.bp
+++ b/dexlayout/Android.bp
@@ -74,6 +74,13 @@ cc_defaults {
],
}
+cc_defaults {
+ name: "compact_dex_converter_defaults",
@HEZI0427
HEZI0427 / CubicBezierInterpolator.java
Created November 16, 2016 05:36 — forked from chris95x8/CubicBezierInterpolator.java
Bunch of interpolators for awesome animations in Android!
import android.graphics.PointF;
import android.view.animation.Interpolator;
/**
* From https://github.com/codesoup/android-cubic-bezier-interpolator
* Derived from: https://github.com/rdallasgray/bez
*/
public class CubicBezierInterpolator implements Interpolator {