summaryrefslogtreecommitdiffstats
path: root/core/jni/android/graphics/TextLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/jni/android/graphics/TextLayout.h')
-rw-r--r--core/jni/android/graphics/TextLayout.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/core/jni/android/graphics/TextLayout.h b/core/jni/android/graphics/TextLayout.h
index f203b75..9bb1b92 100644
--- a/core/jni/android/graphics/TextLayout.h
+++ b/core/jni/android/graphics/TextLayout.h
@@ -46,26 +46,26 @@ namespace android {
static TextLayoutCache gTextLayoutCache;
#endif
-class TextLayout {
-public:
-
- enum {
- kDirection_LTR = 0,
- kDirection_RTL = 1,
+enum {
+ kBidi_LTR = 0,
+ kBidi_RTL = 1,
+ kBidi_Default_LTR = 2,
+ kBidi_Default_RTL = 3,
+ kBidi_Force_LTR = 4,
+ kBidi_Force_RTL = 5,
+
+ kBidi_Mask = 0x7
+};
- kDirection_Mask = 0x1
- };
+enum {
+ kDirection_LTR = 0,
+ kDirection_RTL = 1,
- enum {
- kBidi_LTR = 0,
- kBidi_RTL = 1,
- kBidi_Default_LTR = 2,
- kBidi_Default_RTL = 3,
- kBidi_Force_LTR = 4,
- kBidi_Force_RTL = 5,
+ kDirection_Mask = 0x1
+};
- kBidi_Mask = 0x7
- };
+class TextLayout {
+public:
/*
* Draws a unidirectional run of text.