/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
ContactSectionIndexer.java | 68 int right = mSectionStartingPositions.size() - 1; local 74 } else if (position >= mSectionStartingPositions.get(right)) { 75 return right; 78 while (left <= right) { 79 final int mid = (left + right) / 2; 85 right = mid - 1;
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
PercentageBarChart.java | 76 final int right = getWidth() - getPaddingRight(); local 80 final int width = right - left; 84 float nextX = right; 120 if (nextX > right) { 121 canvas.drawRect(lastX, top, right, bottom, e.paint); 130 canvas.drawRect(lastX, top, right, bottom, mEmptyPaint);
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
FixedTableModel.java | 82 return lastRect.right + model.getCellWidth() > tableRect.width();
127 lastRect.offsetTo(lastRect.right, tableRect.top);
133 lastRect.offsetTo(lastRect.right, lastRect.top);
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
util.py | 161 right = string2 164 invalid_bits += not compare_digest(left, right) 166 for a, b in zip(left, right):
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
shape-handler.js | 55 function mergeShapes(left, right) { 56 if (left[0] !== right[0]) 59 return scope.mergeList(left.slice(1), right.slice(1), [ 67 return scope.mergeList(left.slice(1), right.slice(1), [ 74 if (left[0] == 'polygon' && left[1] == right[1]) { 75 return scope.mergeList(left.slice(2), right.slice(2), [
|
/external/fio/lib/ |
prio_tree.h | 9 struct prio_tree_node *right; member in struct:prio_tree_node 48 (ptr)->left = (ptr)->right = (ptr)->parent = (ptr); \ 79 return node->right == node;
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
BinaryTreeTraverser.java | 42 * Returns the right child of the specified node, or {@link Optional#absent()} if the specified 43 * node has no right child. 48 * Returns the children of this node, in left-to-right order. 71 Optional<T> right = rightChild(root); local 72 if (right.isPresent()) { 73 return right.get();
|
/external/libcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/ |
fmtflags.pass.cpp | 21 // static const fmtflags right; 29 // static const fmtflags adjustfield = left | right | internal; 45 assert(std::ios_base::right); 63 & std::ios_base::right 74 | std::ios_base::right
|
/external/pdfium/fpdfsdk/src/ |
fpdftext.cpp | 79 double* right, 91 *right = charinfo.m_CharBox.right; 144 double* right, 150 textpage->GetRect(rect_index, rect.left, rect.top, rect.right, rect.bottom); 153 *right = rect.right; 160 double right, 167 CFX_FloatRect rect((FX_FLOAT)left, (FX_FLOAT)bottom, (FX_FLOAT)right, 282 double* right, [all...] |
/external/pdfium/fpdfsdk/src/pdfwindow/ |
PWL_Utils.cpp | 77 rcRet.right = PWL_MAX(rect1.right, rect2.right); 86 return CPDF_Rect(rect.left + x, rect.bottom + y, rect.right + x, 93 rcChild.right <= rcParent.right && rcChild.top <= rcParent.top; 99 FX_FLOAT right = rect1.right < rect2.right ? rect1.right : rect2.right local [all...] |
/external/pdfium/third_party/freetype/src/base/ |
ftpfr.c | 101 FT_UInt right, 116 error = service->get_kerning( face, left, right, avector ); 118 error = FT_Get_Kerning( face, left, right,
|
/external/pdfium/xfa/src/fwl/src/basewidget/include/ |
fwl_monthcalendarimp.h | 120 FX_BOOL operator<(const _DATE& right) {
121 if (iYear < right.iYear) {
123 } else if (iYear == right.iYear) {
124 if (iMonth < right.iMonth) {
126 } else if (iMonth == right.iMonth) {
127 return iDay < right.iDay;
132 FX_BOOL operator>(const _DATE& right) {
133 if (iYear > right.iYear) {
135 } else if (iYear == right.iYear) {
136 if (iMonth > right.iMonth) { [all...] |
/external/pdfium/xfa/src/fxbarcode/common/ |
BC_WhiteRectangleDetector.cpp | 63 int32_t right = m_rightInit;
local 72 while (rightBorderNotWhite && right < m_width) {
73 rightBorderNotWhite = ContainsBlackPoint(up, down, right, FALSE);
75 right++;
79 if (right >= m_width) {
85 bottomBorderNotWhite = ContainsBlackPoint(left, right, down, TRUE);
109 topBorderNotWhite = ContainsBlackPoint(left, right, up, TRUE);
124 int32_t maxSize = right - left;
154 GetBlackPointOnSegment((FX_FLOAT)right, (FX_FLOAT)(up + k),
155 (FX_FLOAT)(right - k), (FX_FLOAT)up)); [all...] |
/external/v8/src/compiler/ |
type-hints.h | 21 BinaryOperationHints(Hint left, Hint right, Hint result) 22 : bit_field_(LeftField::encode(left) | RightField::encode(right) | 30 Hint right() const { return RightField::decode(bit_field_); } function in class:v8::internal::compiler::final
|
/external/v8/src/crankshaft/ |
hydrogen-dehoist.cc | 21 subexpression = binary_operation->right(); 23 } else if (binary_operation->right()->IsConstant()) { 25 constant = HConstant::cast(binary_operation->right());
|
/external/webrtc/webrtc/modules/desktop_capture/ |
screen_capturer_helper.cc | 97 int right = UpToMultiple(it.rect().right(), grid_size, grid_size_mask); local 100 result->AddRect(DesktopRect::MakeLTRB(left, top, right, bottom));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
FixedSizeFrameLayout.java | 58 protected final void onLayout(boolean changed, int left, int top, int right, int bottom) { 59 mLayoutBounds.set(left, top, right, bottom); 90 super.onLayout(changed, bounds.left, bounds.top, bounds.right, bounds.bottom);
|
/frameworks/base/services/core/java/com/android/server/am/ |
LaunchingTaskPositioner.java | 129 if (horizontalGravity == Gravity.RIGHT) { 135 if (horizontalGravity == Gravity.RIGHT) { 180 mTmpProposal.set(mAvailableRect.right - width, mAvailableRect.bottom - height, 181 mAvailableRect.right, mAvailableRect.bottom); 194 mTmpProposal.set(mAvailableRect.right - width, mAvailableRect.top, 195 mAvailableRect.right, mAvailableRect.top + height); 245 return start.right > mAvailableRect.right; 247 return start.right > mAvailableRect.right || start.bottom > mAvailableRect.bottom [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios.base/ios.types/ios_fmtflags/ |
fmtflags.pass.cpp | 21 // static const fmtflags right; 29 // static const fmtflags adjustfield = left | right | internal; 45 assert(std::ios_base::right); 63 & std::ios_base::right 74 | std::ios_base::right
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
TinyPlanetPreview.java | 103 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { 104 super.onLayout(changed, left, top, right, bottom); 106 int width = right - left;
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/cr16/ |
ash_test.s | 5 # ASHUB cnt(left +)/cnt (right -), reg 22 # ASHUW cnt(left +)/cnt (right -), reg 40 # ASHUD cnt(left +)/cnt (right -), regp
|
lsh_test.s | 5 # LSHB cnt(right -), reg 22 # LSHW cnt (right -), reg 40 # LSHD cnt (right -), regp
|
/external/icu/icu4c/source/i18n/ |
rulebasedcollator.cpp | 698 RuleBasedCollator::compare(const UnicodeString &left, const UnicodeString &right, 702 right.getBuffer(), right.length(), errorCode); 706 RuleBasedCollator::compare(const UnicodeString &left, const UnicodeString &right, 714 int32_t rightLength = right.length(); 718 right.getBuffer(), rightLength, errorCode); 723 const UChar *right, int32_t rightLength, 726 if((left == NULL && leftLength != 0) || (right == NULL && rightLength != 0)) { 733 if(rightLength < 0) { rightLength = u_strlen(right); } 737 return doCompare(left, leftLength, right, rightLength, errorCode) [all...] |
/external/v8/src/compiler/x64/ |
instruction-selector-x64.cc | 276 if (mlength.HasValue() && moffset.right().HasValue() && 277 moffset.right().Value() >= 0 && 278 mlength.Value() >= moffset.right().Value()) { 281 g.UseImmediate(moffset.right().node()), g.UseImmediate(length)); 330 if (mlength.HasValue() && moffset.right().HasValue() && 331 moffset.right().Value() >= 0 && 332 mlength.Value() >= moffset.right().Value()) { 335 g.UseImmediate(moffset.right().node()), g.UseImmediate(length), 353 Node* right = m.right().node() local 470 Node* right = m.right().node(); local 489 Node* right = m.right().node(); local 715 Node* right = m.right().node(); local 733 Node* right = node->InputAt(1); local 1339 Node* const right = node->InputAt(1); local 1393 Node* const right = node->InputAt(1); local 1404 Node* const right = node->InputAt(1); local 1761 Node* right = node->InputAt(1); local 1775 Node* right = node->InputAt(1); local [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/decorator/ |
DividerItemDecoration.java | 68 final int right = parent.getWidth() - parent.getPaddingRight(); local 78 mDivider.setBounds(left, top, right, bottom); 94 final int right = left + mDivider.getIntrinsicHeight(); local 95 mDivider.setBounds(left, top, right, bottom);
|