Optimizer


public class Optimizer


Implements direct resolution without using the solver

Constants

static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int

Public constructors

Public methods

static final boolean
enabled(int optimizationLevel, int optimization)

Constants

OPTIMIZATION_BARRIER

Added in 1.1.0
public static final int OPTIMIZATION_BARRIER = 2

OPTIMIZATION_CACHE_MEASURES

Added in 1.1.0
public static final int OPTIMIZATION_CACHE_MEASURES = 256

OPTIMIZATION_CHAIN

Added in 1.1.0
public static final int OPTIMIZATION_CHAIN = 4

OPTIMIZATION_DEPENDENCY_ORDERING

Added in 1.1.0
public static final int OPTIMIZATION_DEPENDENCY_ORDERING = 512

OPTIMIZATION_DIMENSIONS

Added in 1.1.0
public static final int OPTIMIZATION_DIMENSIONS = 8

OPTIMIZATION_DIRECT

Added in 1.1.0
public static final int OPTIMIZATION_DIRECT = 1

OPTIMIZATION_GRAPH

Added in 1.1.0
public static final int OPTIMIZATION_GRAPH = 64

OPTIMIZATION_GRAPH_WRAP

Added in 1.1.0
public static final int OPTIMIZATION_GRAPH_WRAP = 128

OPTIMIZATION_GROUPING

Added in 1.1.0
public static final int OPTIMIZATION_GROUPING = 1024

OPTIMIZATION_GROUPS

Added in 1.1.0
public static final int OPTIMIZATION_GROUPS = 32

OPTIMIZATION_NONE

Added in 1.1.0
public static final int OPTIMIZATION_NONE = 0

OPTIMIZATION_RATIO

Added in 1.1.0
public static final int OPTIMIZATION_RATIO = 16

OPTIMIZATION_STANDARD

Added in 1.1.0
public static final int OPTIMIZATION_STANDARD = 257

Public constructors

Optimizer

Added in 1.1.0
public Optimizer()

Public methods

enabled

Added in 1.1.0
public static final boolean enabled(int optimizationLevel, int optimization)

Parcelables and Bundles are intended to be used across process boundaries such as with IPC/Binder transactions, between activities with intents, and to store transient state across configuration changes.

Updated Jan 3, 2024

A name-value pair for an item of additional, arbitrary data that can be supplied to the parent component.

Updated Nov 21, 2022

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Dec 18, 2024