/external/chromium/chrome/browser/ui/gtk/ |
tab_contents_container_gtk.cc | 231 bool ltr = !base::i18n::IsRTL(); local 235 if (ltr ^ status->flip_horizontally()) // Is it on the left?
|
rounded_window.cc | 68 bool ltr = !base::i18n::IsRTL(); local 72 // right for ltr). 74 // We use this one for LTR. 75 int x_off_l = ltr ? y_off : 0; 77 int x_off_r = !ltr ? -y_off : 0; 96 height - (corner_size - y) + y_off, width, ltr)); 100 height - (corner_size - y) + y_off, width, ltr)); 104 corner_size + x_off_l, height + y_off, width, ltr)); 106 x_off_r, height - corner_size, width, ltr)); 109 points.push_back(MakeBidiGdkPoint(x_off_r, height + y_off, width, ltr)); [all...] |
status_bubble_gtk.cc | 184 bool ltr = !base::i18n::IsRTL(); 197 (ltr ? 0 : parent->allocation.width - requisition.width), 209 if (((ltr && location.x() < right_threshold) || 210 (!ltr && location.x() > left_threshold)) && 217 int distance = std::max(ltr ? 246 bool ltr = !base::i18n::IsRTL(); local 253 kInternalLeftRightPadding + (ltr ? 0 : kCornerSize), 254 kInternalLeftRightPadding + (ltr ? kCornerSize : 0)); 307 bool ltr = !base::i18n::IsRTL(); local 308 bool on_left = (ltr && !flip_horizontally) || (!ltr && flip_horizontally) [all...] |
find_bar_gtk.cc | 86 bool ltr = !base::i18n::IsRTL(); local 90 // right for ltr). 92 // We use this one for LTR. 93 int x_off_l = ltr ? y_off : 0; 95 int x_off_r = !ltr ? -y_off : 0; 98 points.push_back(MakeBidiGdkPoint(x_off_r, 0, width, ltr)); 100 kCornerSize + x_off_r, kCornerSize, width, ltr)); 104 kCornerSize + x_off_r, height - kCornerSize, width, ltr)); 107 width, ltr)); 112 width, ltr)); 421 bool ltr = !base::i18n::IsRTL(); local [all...] |
/external/chromium_org/chrome/browser/ui/gtk/ |
tab_contents_container_gtk.cc | 204 bool ltr = !base::i18n::IsRTL(); local 208 if (ltr ^ status->flip_horizontally()) // Is it on the left?
|
rounded_window.cc | 69 bool ltr = !base::i18n::IsRTL(); local 73 // right for ltr). 75 // We use this one for LTR. 76 int x_off_l = ltr ? y_off : 0; 78 int x_off_r = !ltr ? -y_off : 0; 97 height - (corner_size - y) + y_off, width, ltr)); 101 height - (corner_size - y) + y_off, width, ltr)); 105 corner_size + x_off_l, height + y_off, width, ltr)); 107 x_off_r, height - corner_size, width, ltr)); 110 points.push_back(MakeBidiGdkPoint(x_off_r, height + y_off, width, ltr)); [all...] |
status_bubble_gtk.cc | 192 bool ltr = !base::i18n::IsRTL(); 209 (ltr ? 0 : parent_allocation.width - requisition.width), 221 if (((ltr && location.x() < right_threshold) || 222 (!ltr && location.x() > left_threshold)) && 229 int distance = std::max(ltr ? 258 bool ltr = !base::i18n::IsRTL(); local 265 kInternalLeftRightPadding + (ltr ? 0 : kCornerSize), 266 kInternalLeftRightPadding + (ltr ? kCornerSize : 0)); 319 bool ltr = !base::i18n::IsRTL(); local 320 bool on_left = (ltr && !flip_horizontally) || (!ltr && flip_horizontally) [all...] |
find_bar_gtk.cc | 97 bool ltr = !base::i18n::IsRTL(); local 101 // right for ltr). 103 // We use this one for LTR. 104 int x_off_l = ltr ? y_off : 0; 106 int x_off_r = !ltr ? -y_off : 0; 109 points.push_back(MakeBidiGdkPoint(x_off_r, 0, width, ltr)); 111 kCornerSize + x_off_r, kCornerSize, width, ltr)); 115 kCornerSize + x_off_r, height - kCornerSize, width, ltr)); 118 width, ltr)); 123 width, ltr)); 429 bool ltr = !base::i18n::IsRTL(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMarquee.cpp | 102 result = (dir == LTR) ? MRIGHT : MLEFT; 104 result = (dir == LTR) ? MLEFT : MRIGHT; 123 bool ltr = style()->isLeftToRightDirection(); local 125 LayoutUnit contentWidth = ltr ? maxPreferredLogicalWidth() : minPreferredLogicalWidth(); 126 if (ltr) 134 return max<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); 136 return ltr ? contentWidth : clientWidth; 140 return min<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); 142 return ltr ? -clientWidth : -contentWidth;
|
InlineFlowBox.cpp | 311 bool ltr = renderer()->style()->isLeftToRightDirection(); local 319 else if (ltr && lineBoxList->firstLineBox() == this) 321 else if (!ltr && lineBoxList->lastLineBox() == this) 336 else if (ltr) { [all...] |
InlineTextBox.cpp | 262 // For LTR this is the left edge of the box, for RTL, the right edge in parent coordinates. 266 // LTR: the left edge of the ellipsis is to the left of our text run. 285 bool ltr = isLeftToRightDirection(); local 286 if (ltr != flowIsLTR) { 289 ellipsisX = ltr ? left() + visibleBoxWidth : right() - visibleBoxWidth; 311 // e.g. In the case of an LTR inline box truncated in an RTL flow then we can 508 // e.g. In the case of LTR text truncated in an RTL Context, the correct behavior is: [all...] |
RenderBlockLineLayout.cpp | 355 dir = LTR; 719 // So even if text-align is right, if direction is LTR, wide lines should overflow out of the right 3328 bool ltr = style()->isLeftToRightDirection(); local 3363 bool ltr = style()->isLeftToRightDirection(); local [all...] |
RenderBox.cpp | 128 if (currentBox->style()->direction() == LTR) 4063 bool ltr = box ? box->isLeftToRightDirection() : style()->isLeftToRightDirection(); local [all...] |
RenderBlock.cpp | 3682 bool ltr = style()->isLeftToRightDirection(); local 6335 bool ltr = containingBlock ? containingBlock->style()->isLeftToRightDirection() : styleToUse->isLeftToRightDirection(); local [all...] |
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_popup_view_gtk.cc | 189 // elided pure LTR text. 240 // Insert a left to right embedding to make sure that URLs are shown LTR. 574 bool ltr = !base::i18n::IsRTL(); local 622 int icon_start_x = ltr ? kIconLeftPadding : 638 // Note: We force to URL to LTR for all text directions. 660 ltr ? kIconAreaWidth : 681 gdk_draw_layout(drawable, gc, ltr ?
|
/external/chromium_org/chrome/browser/ui/gtk/omnibox/ |
omnibox_popup_view_gtk.cc | 186 // elided pure LTR text. 237 // Insert a left to right embedding to make sure that URLs are shown LTR. 592 bool ltr = !base::i18n::IsRTL(); local 640 int icon_start_x = ltr ? kIconLeftPadding : 657 // Note: We force to URL to LTR for all text directions. 680 ltr ? kIconAreaWidth : 705 cairo_move_to(cr, ltr ? 717 icon_start_x = ltr ? (line_rect.width() - kIconLeftPadding - kIconWidth) :
|
/external/chromium_org/ui/gfx/ |
render_text_unittest.cc | 33 // Various weak, LTR, RTL, and Bidi string cases with three characters each. 316 L"hop on pop", // Check LTR word boundaries. 513 // Blank strings and those with no/weak directionality default to LTR. 516 // Strings that begin with strong LTR characters. 562 // Pure LTR. 585 // LTR-RTL 613 // LTR-RTL-LTR. 658 // RTL-LTR 686 // RTL-LTR-RTL 862 bool ltr = (cases[i].expected_text_direction == base::i18n::LEFT_TO_RIGHT); local [all...] |
/external/libsepol/src/ |
policydb.c | 1277 role_trans_t *tr, *ltr = NULL; local 1338 if (ltr) 1339 free(ltr); 1340 ltr = tr; 1342 if (ltr) 1343 free(ltr); 2341 role_trans_t *tr, *ltr; local 3192 role_trans_rule_t *tr, *ltr; local [all...] |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |