/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/webkit/Source/WebCore/rendering/ |
RenderMarquee.cpp | 93 result = (dir == LTR) ? MRIGHT : MLEFT; 95 result = (dir == LTR) ? MLEFT : MRIGHT; 117 bool ltr = s->isLeftToRightDirection(); local 119 int contentWidth = ltr ? box->maxXLayoutOverflow() : box->minXLayoutOverflow(); 120 if (ltr) 128 return max(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); 130 return ltr ? contentWidth : clientWidth; 134 return min(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); 136 return ltr ? -clientWidth : -contentWidth;
|
InlineFlowBox.cpp | 298 bool ltr = renderer()->style()->isLeftToRightDirection(); local 304 if (ltr && lineBoxList->firstLineBox() == this) 306 else if (!ltr && lineBoxList->lastLineBox() == this) 319 if (ltr) { [all...] |
InlineTextBox.cpp | 241 // For LTR this is the left edge of the box, for RTL, the right edge in parent coordinates. 245 // LTR: the left edge of the ellipsis is to the left of our text run. 264 bool ltr = isLeftToRightDirection(); local 265 if (ltr != flowIsLTR) { 268 ellipsisX = ltr ? m_x + visibleBoxWidth : m_x + m_logicalWidth - visibleBoxWidth; 289 // e.g. In the case of an LTR inline box truncated in an RTL flow then we can 499 // e.g. In the case of LTR text truncated in an RTL Context, the correct behavior is: [all...] |
RenderBlockLineLayout.cpp | 395 // So even if text-align is right, if direction is LTR, wide lines should overflow out of the right 697 bool shouldReorder = trailingSpaceRun != (direction == LTR ? bidiRuns.lastRun() : bidiRuns.firstRun()); 1394 bool ltr = style()->isLeftToRightDirection(); local 2450 bool ltr = style()->isLeftToRightDirection(); local [all...] |
RenderBox.cpp | 3134 bool ltr = box ? box->isLeftToRightDirection() : style()->isLeftToRightDirection(); local [all...] |
RenderBlock.cpp | 3073 bool ltr = style()->isLeftToRightDirection(); local 5105 bool ltr = containingBlock()->style()->isLeftToRightDirection(); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
TextRun.h | 104 bool ltr() const { return !m_rtl; } function in class:WebCore::TextRun
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
ComplexTextController.cpp | 78 unsigned expansionOpportunityCount = Font::expansionOpportunityCount(m_run.characters(), m_end, m_run.ltr() ? LTR : RTL, isAfterExpansion); 97 return m_run.ltr() ? m_end : 0; 101 return m_run.ltr() ? 0 : m_end; 115 if (m_run.ltr()) 123 CFIndex hitIndex = hitGlyphStart + (hitGlyphEnd - hitGlyphStart) * (m_run.ltr() ? x / adjustedAdvance : 1 - x / adjustedAdvance); 162 x -= clusterWidth * (m_run.ltr() ? hitIndex - hitGlyphStart : hitGlyphEnd - hitIndex - 1); 165 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterStart : clusterEnd); 167 return complexTextRun.stringLocation() + (m_run.ltr() ? clusterEnd : clusterStart); 198 if (m_run.ltr()) { 357 bool ltr = m_run.ltr(); 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/libsepol/src/ |
policydb.c | 1235 role_trans_t *tr, *ltr = NULL; local 1296 if (ltr) 1297 free(ltr); 1298 ltr = tr; 1300 if (ltr) 1301 free(ltr); 2285 role_trans_t *tr, *ltr; local 3136 role_trans_rule_t *tr, *ltr; local [all...] |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |