Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8918415f authored by Siyamed Sinir's avatar Siyamed Sinir
Browse files

Add new text layout classes to preload

Test: build the system, and installed
Test: frameworks/base/libs/hwui/tests/scripts/prep_marlfish.sh
Test: m CorePerfTests
Test: adb install -r $OUT/data/app/CorePerfTests/CorePerfTests.apk
Test: adb shell cmd package compile -m speed -f \
      com.android.perftests.core
Test: adb shell am instrument -w -e class \
      android.text.StaticLayoutPerfTest \
      com.android.perftests.core/android.support.test.runner.AndroidJUnitRunner
Bug: 117888473

Change-Id: I756dff7960db221b587535a7664913cc8bd4d0de
parent 367d14a1
Loading
Loading
Loading
Loading
+55 −3
Original line number Diff line number Diff line
@@ -2184,6 +2184,56 @@ HPLandroid/graphics/drawable/VectorDrawable$VPath$1;->set(Ljava/lang/Object;Ljav
HPLandroid/graphics/drawable/VectorDrawable$VPath;->setPathData(Landroid/util/PathParser$PathData;)V
HPLandroid/graphics/drawable/VectorDrawable$VectorDrawableState;->getProperty(Ljava/lang/String;)Landroid/util/Property;
HPLandroid/graphics/drawable/VectorDrawable;->getOpticalInsets()Landroid/graphics/Insets;
HPLandroid/graphics/text/LineBreaker;-><init>(III[ILandroid/graphics/text/LineBreaker$1;)V
HPLandroid/graphics/text/LineBreaker;->computeLineBreaks(Landroid/graphics/text/MeasuredText;Landroid/graphics/text/LineBreaker$ParagraphConstraints;I)Landroid/graphics/text/LineBreaker$Result;
HPLandroid/graphics/text/LineBreaker;->access$100()J
HPLandroid/graphics/text/LineBreaker;->access$200(J)I
HPLandroid/graphics/text/LineBreaker;->access$300(JI)I
HPLandroid/graphics/text/LineBreaker;->access$400(JI)F
HPLandroid/graphics/text/LineBreaker;->access$500(JI)F
HPLandroid/graphics/text/LineBreaker;->access$600(JI)F
HPLandroid/graphics/text/LineBreaker;->access$700(JI)I
HPLandroid/graphics/text/LineBreaker$Builder;-><init>()V
HPLandroid/graphics/text/LineBreaker$Builder;->setBreakStrategy(I)Landroid/graphics/text/LineBreaker$Builder;
HPLandroid/graphics/text/LineBreaker$Builder;->setHyphenationFrequency(I)Landroid/graphics/text/LineBreaker$Builder;
HPLandroid/graphics/text/LineBreaker$Builder;->setJustified(I)Landroid/graphics/text/LineBreaker$Builder;
HPLandroid/graphics/text/LineBreaker$Builder;->setIndents([I)Landroid/graphics/text/LineBreaker$Builder;
HPLandroid/graphics/text/LineBreaker$Builder;->build()Landroid/graphics/text/LineBreaker;
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;-><init>()V
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->setWidth(F)V
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->setIndent(FI)V
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->setTabStops([II)V
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->getWidth()F
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->getFirstWidth()F
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->getFirstWidthLineCount()I
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->getTabStops()[I
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->getDefaultTabStop()I
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->access$800(Landroid/graphics/text/LineBreaker$ParagraphConstraints;)F
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->access$900(Landroid/graphics/text/LineBreaker$ParagraphConstraints;)I
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->access$1000(Landroid/graphics/text/LineBreaker$ParagraphConstraints;)F
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->access$1100(Landroid/graphics/text/LineBreaker$ParagraphConstraints;)[I
HPLandroid/graphics/text/LineBreaker$ParagraphConstraints;->access$1200(Landroid/graphics/text/LineBreaker$ParagraphConstraints;)I
HPLandroid/graphics/text/LineBreaker$Result;-><init>(JLandroid/graphics/text/LineBreaker$1;)V
HPLandroid/graphics/text/LineBreaker$Result;->getLineCount()I
HPLandroid/graphics/text/LineBreaker$Result;->getLineBreakOffset(I)I
HPLandroid/graphics/text/LineBreaker$Result;->getLineWidth(I)F
HPLandroid/graphics/text/LineBreaker$Result;->getLineAscent(I)F
HPLandroid/graphics/text/LineBreaker$Result;->getLineDescent(I)F
HPLandroid/graphics/text/LineBreaker$Result;->hasLineTab(I)Z
HPLandroid/graphics/text/LineBreaker$Result;->getLineHyphenEdit(I)I
HPLandroid/graphics/text/MeasuredText;-><init>(J[CLandroid/graphics/text/MeasuredText$1;)V
HPLandroid/graphics/text/MeasuredText;->getChars()[C
HPLandroid/graphics/text/MeasuredText;->getWidth(II)F
HPLandroid/graphics/text/MeasuredText;->getMemoryUsage()I
HPLandroid/graphics/text/MeasuredText;->getBounds(IILandroid/graphics/Rect;)V
HPLandroid/graphics/text/MeasuredText;->getCharWidthAt(I)F
HPLandroid/graphics/text/MeasuredText;->getNativePtr()J
HPLandroid/graphics/text/MeasuredText$Builder;-><init>([C)V
HPLandroid/graphics/text/MeasuredText$Builder;->appendStyleRun(Landroid/graphics/Paint;IZ)Landroid/graphics/text/MeasuredText$Builder;
HPLandroid/graphics/text/MeasuredText$Builder;->appendReplacementRun(Landroid/graphics/Paint;IF)Landroid/graphics/text/MeasuredText$Builder;
HPLandroid/graphics/text/MeasuredText$Builder;->setComputeHyphenation(Z)Landroid/graphics/text/MeasuredText$Builder;
HPLandroid/graphics/text/MeasuredText$Builder;->setComputeLayout(Z)Landroid/graphics/text/MeasuredText$Builder;
HPLandroid/graphics/text/MeasuredText$Builder;->build()Landroid/graphics/text/MeasuredText;
HPLandroid/hardware/Camera$AutoFocusCallback;->onAutoFocus(ZLandroid/hardware/Camera;)V
HPLandroid/hardware/Camera$EventHandler;->handleMessage(Landroid/os/Message;)V
HPLandroid/hardware/Camera$Parameters;->getFlashMode()Ljava/lang/String;
@@ -31250,9 +31300,10 @@ HSPLandroid/text/Layout;->replaceWith(Ljava/lang/CharSequence;Landroid/text/Text
HSPLandroid/text/Layout;->setJustificationMode(I)V
HSPLandroid/text/Layout;->shouldClampCursor(I)Z
HSPLandroid/text/MeasuredParagraph;-><init>()V
HSPLandroid/text/MeasuredParagraph;->applyMetricsAffectingSpan(Landroid/text/TextPaint;[Landroid/text/style/MetricAffectingSpan;IIJ)V
HSPLandroid/text/MeasuredParagraph;->applyReplacementRun(Landroid/text/style/ReplacementSpan;IIJ)V
HSPLandroid/text/MeasuredParagraph;->applyStyleRun(IIJ)V
HPLandroid/text/MeasuredParagraph;->getMeasuredText()Landroid/graphics/text/MeasuredText;
HSPLandroid/text/MeasuredParagraph;->applyMetricsAffectingSpan(Landroid/text/TextPaint;[Landroid/text/style/MetricAffectingSpan;IILandroid/graphics/text/MeasuredText$Builder;)V
HSPLandroid/text/MeasuredParagraph;->applyReplacementRun(Landroid/text/style/ReplacementSpan;IILandroid/graphics/text/MeasuredText$Builder;)V
HSPLandroid/text/MeasuredParagraph;->applyStyleRun(IILandroid/graphics/text/MeasuredText$Builder;)V
HSPLandroid/text/MeasuredParagraph;->breakText(IZF)I
HSPLandroid/text/MeasuredParagraph;->buildForBidi(Ljava/lang/CharSequence;IILandroid/text/TextDirectionHeuristic;Landroid/text/MeasuredParagraph;)Landroid/text/MeasuredParagraph;
HSPLandroid/text/MeasuredParagraph;->buildForMeasurement(Landroid/text/TextPaint;Ljava/lang/CharSequence;IILandroid/text/TextDirectionHeuristic;Landroid/text/MeasuredParagraph;)Landroid/text/MeasuredParagraph;
@@ -31287,6 +31338,7 @@ HSPLandroid/text/PackedObjectVector;->moveRowGapTo(I)V
HSPLandroid/text/PackedObjectVector;->setValue(IILjava/lang/Object;)V
HSPLandroid/text/PackedObjectVector;->size()I
HSPLandroid/text/PrecomputedText$Params;-><init>(Landroid/text/TextPaint;Landroid/text/TextDirectionHeuristic;II)V
HPLandroid/text/PrecomputedText;->getCharWidthAt(I)F
HSPLandroid/text/PrecomputedText;->createMeasuredParagraphs(Ljava/lang/CharSequence;Landroid/text/PrecomputedText$Params;IIZ)[Landroid/text/PrecomputedText$ParagraphInfo;
HSPLandroid/text/Selection$END;-><init>(Landroid/text/Selection$1;)V
HSPLandroid/text/Selection$MEMORY;-><init>(Landroid/text/Selection$1;)V
+6 −0
Original line number Diff line number Diff line
@@ -1240,6 +1240,12 @@ android.graphics.fonts.FontVariationAxis
android.graphics.pdf.PdfDocument
android.graphics.pdf.PdfEditor
android.graphics.pdf.PdfRenderer
android.graphics.text.LineBreaker
android.graphics.text.LineBreaker$Builder
android.graphics.text.LineBreaker$ParagraphConstraints
android.graphics.text.LineBreaker$Result
android.graphics.text.MeasuredText
android.graphics.text.MeasuredText$Builder
android.hardware.Camera
android.hardware.Camera$CameraInfo
android.hardware.Camera$Face