OSDN Git Service

ART: Add Math cutouts
authorAndreas Gampe <agampe@google.com>
Tue, 19 Apr 2016 03:51:13 +0000 (20:51 -0700)
committerAndreas Gampe <agampe@google.com>
Wed, 20 Apr 2016 17:21:11 +0000 (10:21 -0700)
commitb8a00f95e93eb0225e86dad582387f1cc69e7df6
treef01b6ca61a0f833b8275f480b06ba00bbb920756
parent715fdc2c99f688f97c684978632f311a284ba43c
ART: Add Math cutouts

Add sin, cos and pow to unstarted runtime. Add tests for some
very specific values that are seen.

Allows to compile-time initialize:
* android.graphics.drawable.RippleForeground
* android.widget.EdgeEffect

Bug: 27265238

(cherry picked from commit 8c5889a3bdefd7dc84494ec824d495913f2362a9)

Change-Id: I0360a078e7dc9d2a176ec1cf2d8dbb242da1c83e
runtime/interpreter/unstarted_runtime.cc
runtime/interpreter/unstarted_runtime_list.h
runtime/interpreter/unstarted_runtime_test.cc