/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
MosaicTypes.h | 37 left = right = top = bottom = 0.0; 42 return right - left; 53 int left, right, top, bottom; member in class:MosaicRect
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
EmojiCategoryPageIndicatorView.java | 64 final float left = unitWidth * mCurrentCategoryPageId + mOffset * unitWidth; local 66 final float right = left + unitWidth; 68 canvas.drawRect(left, top, right, bottom, mPaint);
|
/external/v8/src/compiler/mips64/ |
instruction-selector-mips64.cc | 104 inputs[input_count++] = g.UseRegister(m.left().node()); 272 if (m.left().IsWord32Shr() && CanCover(node, m.left().node()) && 283 Int32BinopMatcher mleft(m.left().node()); 295 g.UseRegister(mleft.left().node()), g.TempImmediate(lsb), 310 g.UseRegister(m.left().node()), g.TempImmediate(0), 322 if (m.left().IsWord64Shr() && CanCover(node, m.left().node()) && 333 Int64BinopMatcher mleft(m.left().node()); 345 g.UseRegister(mleft.left().node()), g.TempImmediate(lsb) 715 Node* left = node->InputAt(0); local 781 Node* left = node->InputAt(0); local 812 Node* left = node->InputAt(0); local 1552 Node* left = node->InputAt(0); local 1973 Node* left = node->InputAt(0); local 1982 Node* left = node->InputAt(0); local [all...] |
/external/pdfium/fpdfsdk/src/ |
fpdftext_embeddertest.cpp | 61 double left = 0.0; local 65 FPDFText_GetCharBox(textpage, 4, &left, &right, &bottom, &top); 66 EXPECT_NEAR(41.071, left, 0.001); 83 left = 0.0; 87 FPDFText_GetRect(textpage, 1, &left, &top, &right, &bottom); 88 EXPECT_NEAR(20.847, left, 0.001); 94 left = -1.0; 98 FPDFText_GetRect(textpage, -1, &left, &top, &right, &bottom); 99 EXPECT_EQ(0.0, left); 104 left = -2.0 335 double left = 0.0; local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
TreeMultiset.java | 179 return aggregateBelowRange(aggr, node.left); 183 return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left); 185 return aggr.treeAggregate(node.left); 190 return aggr.treeAggregate(node.left) + aggr.nodeAggregate(node) 213 + aggregateAboveRange(aggr, node.left); 528 private AvlNode<E> left; 540 this.left = null; 547 return (left == null) ? 0 : left.count(comparator, e); 565 left = new AvlNode<E>(e, count) [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
TreeMultiset.java | 175 return aggregateBelowRange(aggr, node.left); 179 return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left); 181 return aggr.treeAggregate(node.left); 186 return aggr.treeAggregate(node.left) + aggr.nodeAggregate(node) 209 + aggregateAboveRange(aggr, node.left); 524 private AvlNode<E> left; 536 this.left = null; 543 return (left == null) ? 0 : left.count(comparator, e); 561 left = new AvlNode<E>(e, count) [all...] |
/external/webrtc/webrtc/modules/desktop_capture/ |
desktop_region.cc | 19 DesktopRegion::RowSpan::RowSpan(int32_t left, int32_t right) 20 : left(left), right(right) { 131 AddSpanToRow(row->second, rect.left(), rect.right()); 236 // Arrange for |it1| to always be the left-most of the spans. 237 if (it2->left < it1->left) { 243 if (it1->right <= it2->left) { 248 int32_t left = it2->left; local [all...] |
desktop_region.h | 34 RowSpan(int32_t left, int32_t right); 38 return left == that.left && right == that.right; 41 int32_t left; member in struct:webrtc::DesktopRegion::RowSpan 135 // Comparison functions used for std::lower_bound(). Compare left or right 141 static void AddSpanToRow(Row* row, int32_t left, int32_t right);
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_utils.cpp | 373 int x = rect.left, y = rect.top; 374 int w = rect.right - rect.left; 427 rect.left = x; 429 rect.right = w + rect.left; 457 rect.left = x; 459 rect.right = srcWidth + rect.left; 485 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, 487 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Canvas.java | 429 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); 442 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, 444 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom, 450 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG}) 452 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { 453 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG); 488 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags); 501 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, 504 return native_saveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom, 509 * Helper for saveLayerAlpha(left, top, right, bottom, alpha, {@link #ALL_SAVE_FLAG} 1371 float left, top, right, bottom; local 1418 int left, top, right, bottom; local [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_utils.cpp | 236 ctx->mViewFrame[HWC_DISPLAY_PRIMARY].left = 0; 388 int x = rect.left, y = rect.top; 389 int w = rect.right - rect.left; 442 rect.left = x; 444 rect.right = w + rect.left; 472 Dim inPos(inRect.left, inRect.top, inRect.right - inRect.left, 474 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, 487 xPos = rect.left; [all...] |
/frameworks/native/libs/ui/ |
Region.cpp | 128 int left = current->left; local 137 // iterating over previous span RTL, quit if it's too far left 138 if (prev.right <= left) break; 140 if (prev.right > left && prev.right < right) { 145 if (prev.left > left && prev.left < right) { 146 dst.add(Rect(prev.left, top, right, bottom)); 147 right = prev.left; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropObject.java | 205 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left; 211 dx = Math.max(crop.right + dX, crop.left + minWidthHeight) 221 crop.left, crop.bottom 245 crop.left += dx; 267 float left = Math.abs(x - cropped.left); local 273 // Check left or right. 274 if ((left <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top) 275 && ((y - mTouchTolerance) <= cropped.bottom) && (left < right)) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
TransitionImageView.java | 99 // the scale and translation is based on left/up corner of the view 135 mSrcClipRect.offset(-mSrcRect.left, -mSrcRect.top); 139 mSrcUnclipRect.offset(-mSrcRect.left, -mSrcRect.top); 164 mTranslationXDiff = mDstRect.left - mSrcRect.left; 170 dstClipRect.offset(-mDstRect.left, -mDstRect.top); 172 dstClipRect.left /= mScaleX; 176 mClipLeftDiff = dstClipRect.left - mSrcClipRect.left; 184 dstUnclipRect.offset(-mDstRect.left, -mDstRect.top) [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/ |
find_step.py | 69 left, right = values[:step_index], values[step_index:] 70 step_size = abs(math_utils.Mean(left) - math_utils.Mean(right)) 87 left, right = values[:step_index], values[step_index:] 88 step_left = len(left) * [math_utils.Mean(left)]
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
ByteArrayAsListTest.java | 79 private static Byte[] concat(Byte[] left, Byte[] right) { 80 Byte[] result = new Byte[left.length + right.length]; 81 System.arraycopy(left, 0, result, 0, left.length); 82 System.arraycopy(right, 0, result, left.length, right.length);
|
CharArrayAsListTest.java | 79 private static Character[] concat(Character[] left, Character[] right) { 80 Character[] result = new Character[left.length + right.length]; 81 System.arraycopy(left, 0, result, 0, left.length); 82 System.arraycopy(right, 0, result, left.length, right.length);
|
DoubleArrayAsListTest.java | 79 private static Double[] concat(Double[] left, Double[] right) { 80 Double[] result = new Double[left.length + right.length]; 81 System.arraycopy(left, 0, result, 0, left.length); 82 System.arraycopy(right, 0, result, left.length, right.length);
|
FloatArrayAsListTest.java | 79 private static Float[] concat(Float[] left, Float[] right) { 80 Float[] result = new Float[left.length + right.length]; 81 System.arraycopy(left, 0, result, 0, left.length); 82 System.arraycopy(right, 0, result, left.length, right.length);
|
IntArrayAsListTest.java | 80 private static Integer[] concat(Integer[] left, Integer[] right) { 81 Integer[] result = new Integer[left.length + right.length]; 82 System.arraycopy(left, 0, result, 0, left.length); 83 System.arraycopy(right, 0, result, left.length, right.length);
|
LongArrayAsListTest.java | 79 private static Long[] concat(Long[] left, Long[] right) { 80 Long[] result = new Long[left.length + right.length]; 81 System.arraycopy(left, 0, result, 0, left.length); 82 System.arraycopy(right, 0, result, left.length, right.length);
|
ShortArrayAsListTest.java | 79 private static Short[] concat(Short[] left, Short[] right) { 80 Short[] result = new Short[left.length + right.length]; 81 System.arraycopy(left, 0, result, 0, left.length); 82 System.arraycopy(right, 0, result, left.length, right.length);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
MergeTagTest.java | 38 Map<Object, Object> left = (Map<Object, Object>) list.get(1); local 39 assertEquals(2, left.size()); 40 assertEquals(left.get("x").getClass().toString(), new Integer(0), left.get("x")); 41 assertEquals(new Integer(2), left.get("y"));
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pax_common.c | 39 size_t num_blocks, left; local 57 left = output_len; 59 size_t clen = left > EAP_PAX_MAC_LEN ? EAP_PAX_MAC_LEN : left; 64 left -= clen;
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
FocusStrategy.java | 118 } else if (firstRect.left < secondRect.left) { 120 } else if (firstRect.left > secondRect.left) { 191 * @param direction the direction (up, down, left, right) 254 // For example, for direction left, if rect1 is to the left of the 290 * (e.g. left of) from source. 299 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) 300 && srcRect.left > destRect.left [all...] |