Constants | ||
---|---|---|
int | DISPLAY_WIDTH | |
int | DISPLAY_HEIGHT | |
int | CONFIRM_PADDING | |
int | CONFIRM_TEXT_X | |
int | CONFIRM_TEXT_Y |
Fields | ||
---|---|---|
public static final Bitmap.Config | BITMAP_CONFIG |
Public Constructors | |
---|---|
SmartWirelessHeadsetProUtil() |
Public Methods | |
---|---|
static TextPaint |
createTextPaint(Context context)
Create text paint for Smart Wireless Headset pro for current locale. |
static Bitmap |
getConfirmBitmap(Context context, java.lang.String text, boolean okInFocus, boolean hideCancel)
Generate bitmap with ok and cancel icons and a text. |
Constant Value: 128 (0x00000080)
Constant Value: 36 (0x00000024)
Constant Value: 1 (0x00000001)
Constant Value: 1 (0x00000001)
Constant Value: 22 (0x00000016)
Create text paint for Smart Wireless Headset pro for current locale.
context | The context. |
---|
The text paint.
Generate bitmap with ok and cancel icons and a text.
context | The context. |
---|---|
text | The text. |
okInFocus | true if ok icon should be focused else false. |
hideCancel | true if cancel icon should be hidden. |
The text paint.
This class contains Smart Wireless Headset pro specific utility functions and constants