public class Log
extends java.lang.Object
Log parameters are associated with the MicroUI SystemView description file SYSVIEW_MicroUI.txt. If an
event is malformed, the log will not be correctly decoded.
| Modifier and Type | Field and Description |
|---|---|
static int |
BRS_FLUSH_MULTI_RECTS
Event identifier for "flush with several rectangles".
|
static int |
BRS_FLUSH_SINGLE_RECT
Event identifier for "flush with a single rectangle".
|
static int |
BRS_RESTORE_REGION
Event identifier for "restore Buffer Refresh Strategy region".
|
static int |
DRAW_CIRCLE
Event identifier for "draw a circle".
|
static int |
DRAW_CIRCLE_ARC
Event identifier for "draw a circle arc".
|
static int |
DRAW_ELLIPSE
Event identifier for "draw an ellipse".
|
static int |
DRAW_ELLIPSE_ARC
Event identifier for "draw an ellipse arc".
|
static int |
DRAW_FLIPPED_IMAGE
Event identifier for "draw a flipped image".
|
static int |
DRAW_HORIZONTAL_LINE
Event identifier for "draw an horizontal line".
|
static int |
DRAW_IMAGE
Event identifier for "draw an image".
|
static int |
DRAW_LINE
Event identifier for "draw a line".
|
static int |
DRAW_RECTANGLE
Event identifier for "draw a rectangle".
|
static int |
DRAW_RENDERABLE_STRING
Event identifier for "draw a renderable string".
|
static int |
DRAW_ROTATED_CHARACTER
Event identifier for "draw a rotated character".
|
static int |
DRAW_ROTATED_IMAGE
Event identifier for "draw a rotated image".
|
static int |
DRAW_ROUNDED_RECTANGLE
Event identifier for "draw a rounded rectangle".
|
static int |
DRAW_SCALED_IMAGE
Event identifier for "draw a scaled image".
|
static int |
DRAW_SCALED_RENDERABLE_STRING
Event identifier for "draw a scaled renderable string".
|
static int |
DRAW_SCALED_STRING
Event identifier for "draw a scaled string".
|
static int |
DRAW_STRING
Event identifier for "draw a string".
|
static int |
DRAW_THICK_CIRCLE
Event identifier for "draw a thick circle".
|
static int |
DRAW_THICK_CIRCLEARC
Event identifier for "draw a thick circle arc".
|
static int |
DRAW_THICK_ELLIPSE
Event identifier for "draw a thick ellipse".
|
static int |
DRAW_THICK_FADED_CIRCLE
Event identifier for "draw a thick faded circle".
|
static int |
DRAW_THICK_FADED_CIRCLE_ARC
Event identifier for "draw a thick faded circle arc".
|
static int |
DRAW_THICK_FADED_ELLIPSE
Event identifier for "draw a thick faded ellipse".
|
static int |
DRAW_THICK_FADED_LINE
Event identifier for "draw a thick faded line".
|
static int |
DRAW_THICK_FADED_POINT
Event identifier for "draw a thick faded point".
|
static int |
DRAW_THICK_LINE
Event identifier for "draw a thick line".
|
static int |
DRAW_VERTICAL_LINE
Event identifier for "draw a vertical line".
|
static int |
DRAWN_REGION
Event identifier for "drawing size".
|
static int |
FILL_CIRCLE
Event identifier for "fill a circle".
|
static int |
FILL_CIRCLE_ARC
Event identifier for "fill a circle arc".
|
static int |
FILL_ELLIPSE
Event identifier for "fill an ellipse".
|
static int |
FILL_ELLIPSE_ARC
Event identifier for "fill an ellipse arc".
|
static int |
FILL_RECTANGLE
Event identifier for "fill a rectangle".
|
static int |
FILL_ROUNDED_RECTANGLE
Event identifier for "fill a rounded rectangle".
|
static int |
FLUSH
Event identifier for "flush".
|
static int |
FLUSH_DONE
Event identifier for "flush done".
|
static int |
OUT_OF_CLIP
Event identifier for "drawing out of clip".
|
static int |
REMOVE_BACKGROUND_COLOR
Event identifier for "remove background color".
|
static int |
SET_BACKGROUND_COLOR
Event identifier for "set background color".
|
static int |
SET_CLIP
Event identifier for "set clip".
|
static int |
SET_FOREGROUND_COLOR
Event identifier for "set foreground color".
|
static int |
STRING_WIDTH
Event identifier for "string width".
|
static int |
WRITE_PIXEL
Event identifier for "draw a pixel".
|
| Modifier and Type | Method and Description |
|---|---|
static int |
mapApproximation(boolean bilinear)
Maps the approximation bilinear or nearest neighbor used by some
LLDWPainter
algorithms |
static int |
mapBoolean(boolean value)
Maps a boolean to an event parameter.
|
static int |
mapGraphicsContext(MicroUIGraphicsContext gc)
Maps a graphics context to an event parameter.
|
static int |
mapImage(MicroUIImage img)
Maps an image to an event parameter.
|
static void |
recordEvent(int eventId,
int... values)
Records a MicroUI event.
|
static void |
recordEventEnd(int eventId,
int... values)
Records the end of the execution of a MicroUI event.
|
public static final int FLUSH
public static final int FLUSH_DONE
public static final int BRS_FLUSH_SINGLE_RECT
public static final int BRS_FLUSH_MULTI_RECTS
public static final int BRS_RESTORE_REGION
public static final int STRING_WIDTH
public static final int SET_FOREGROUND_COLOR
public static final int SET_BACKGROUND_COLOR
public static final int REMOVE_BACKGROUND_COLOR
public static final int SET_CLIP
public static final int OUT_OF_CLIP
public static final int DRAWN_REGION
public static final int WRITE_PIXEL
public static final int DRAW_LINE
public static final int DRAW_HORIZONTAL_LINE
public static final int DRAW_VERTICAL_LINE
public static final int DRAW_RECTANGLE
public static final int FILL_RECTANGLE
public static final int DRAW_ROUNDED_RECTANGLE
public static final int FILL_ROUNDED_RECTANGLE
public static final int DRAW_CIRCLE_ARC
public static final int FILL_CIRCLE_ARC
public static final int DRAW_ELLIPSE_ARC
public static final int FILL_ELLIPSE_ARC
public static final int DRAW_ELLIPSE
public static final int FILL_ELLIPSE
public static final int DRAW_CIRCLE
public static final int FILL_CIRCLE
public static final int DRAW_IMAGE
public static final int DRAW_STRING
public static final int DRAW_RENDERABLE_STRING
public static final int DRAW_THICK_FADED_POINT
public static final int DRAW_THICK_FADED_LINE
public static final int DRAW_THICK_FADED_CIRCLE
public static final int DRAW_THICK_FADED_CIRCLE_ARC
public static final int DRAW_THICK_FADED_ELLIPSE
public static final int DRAW_THICK_LINE
public static final int DRAW_THICK_CIRCLE
public static final int DRAW_THICK_ELLIPSE
public static final int DRAW_THICK_CIRCLEARC
public static final int DRAW_FLIPPED_IMAGE
public static final int DRAW_ROTATED_IMAGE
public static final int DRAW_SCALED_IMAGE
public static final int DRAW_SCALED_STRING
public static final int DRAW_SCALED_RENDERABLE_STRING
public static final int DRAW_ROTATED_CHARACTER
public static void recordEvent(int eventId,
int... values)
BRS_FLUSH_SINGLE_RECT and DRAW_ROTATED_CHARACTER).eventId - the event identifiervalues - the event parameterspublic static void recordEventEnd(int eventId,
int... values)
recordEventEnd(int, int...) method. This method should not be called
for instantaneous events.eventId - the "end" event identifiervalues - the "end" event parameterspublic static int mapGraphicsContext(MicroUIGraphicsContext gc)
gc - the graphics context to logpublic static int mapImage(MicroUIImage img)
img - the image to logpublic static int mapBoolean(boolean value)
value - the boolean to log1 for true, 0 for falsepublic static int mapApproximation(boolean bilinear)
LLDWPainter
algorithmsbilinear - true for bilinear or false for nearest neighbor1 for nearest neighbor, 0 for bilinearDRAW_ROTATED_IMAGE,
DRAW_SCALED_IMAGE,
DRAW_ROTATED_CHARACTER,
DRAW_SCALED_STRING,
DRAW_SCALED_RENDERABLE_STRING