/external/guava/guava-tests/test/com/google/common/primitives/ |
IntArrayAsListTest.java | 116 private static Integer[] concat(Integer[] left, Integer[] right) { 117 Integer[] result = new Integer[left.length + right.length]; 118 System.arraycopy(left, 0, result, 0, left.length); 119 System.arraycopy(right, 0, result, left.length, right.length);
|
LongArrayAsListTest.java | 115 private static Long[] concat(Long[] left, Long[] right) { 116 Long[] result = new Long[left.length + right.length]; 117 System.arraycopy(left, 0, result, 0, left.length); 118 System.arraycopy(right, 0, result, left.length, right.length);
|
ShortArrayAsListTest.java | 115 private static Short[] concat(Short[] left, Short[] right) { 116 Short[] result = new Short[left.length + right.length]; 117 System.arraycopy(left, 0, result, 0, left.length); 118 System.arraycopy(right, 0, result, left.length, right.length);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_string.h | 198 size_t left; member in struct:util_strbuf 208 sbuf->left = size; 215 if(sbuf->left > 1) { 219 written = util_vsnprintf(sbuf->ptr, sbuf->left, format, ap); 222 sbuf->left -= written;
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_psk.c | 219 size_t left, buflen; local 229 &left); 230 if (cpos == NULL || left < sizeof(*resp)) { 236 left -= sizeof(*resp); 239 data->id_p = os_malloc(left); 245 os_memcpy(data->id_p, cpos, left); 246 data->id_p_len = left; 335 size_t left; local 343 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_PSK, respData, &left); 344 if (pos == NULL || left < sizeof(*resp)) [all...] |
/frameworks/av/services/audioflinger/ |
AudioResamplerCubic.cpp | 31 memset(&left, 0, sizeof(state)); 81 out[outputIndex++] += vl * interp(&left, x); 107 advance(&left, in[inputIndex*2]); 147 sample = interp(&left, x); 173 advance(&left, in[inputIndex]);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
IndicatorControlWheelContainer.java | 101 boolean changed, int left, int top, int right, int bottom) { 106 mCenterX = right - left - Util.dpToPixel(FULL_WHEEL_RADIUS); 108 mShutterButton.layout(right - left - shutterButtonWidth, 110 right - left, 113 mIndicatorControlWheel.layout(0, 0, right - left, bottom - top);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartSweepView.java | 185 final float targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left 187 return mSweepPadding.left + (targetWidth / 2) + mSweepOffset.x; 449 mTrackingStart = getLeft() - mMargins.left; 491 final float currentTargetX = getLeft() - mMargins.left; 495 requestedTargetX, clampRect.left, clampRect.right); 498 value = mAxis.convertToValue(clampedTargetX - parentContent.left); 541 final float effectiveX = getX() - mMargins.left - parentContent.left; 613 if (beforeValid) clampRect.right = clampRect.left + (int) beforePoint; 614 if (afterValid) clampRect.left += afterPoint [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
bezier.c | 43 static INLINE void split_left(struct bezier *bez, VGfloat t, struct bezier* left) 45 left->x1 = bez->x1; 46 left->y1 = bez->y1; 48 left->x2 = bez->x1 + t * (bez->x2 - bez->x1); 49 left->y2 = bez->y1 + t * (bez->y2 - bez->y1); 51 left->x3 = bez->x2 + t * (bez->x3 - bez->x2); 52 left->y3 = bez->y2 + t * (bez->y3 - bez->y2); 57 bez->x2 = left->x3 + t * (bez->x3 - left->x3); 58 bez->y2 = left->y3 + t * (bez->y3 - left->y3) 136 struct bezier left, right; \/* bez poly splits *\/ local 660 struct bezier left; local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
bezier.c | 43 static INLINE void split_left(struct bezier *bez, VGfloat t, struct bezier* left) 45 left->x1 = bez->x1; 46 left->y1 = bez->y1; 48 left->x2 = bez->x1 + t * (bez->x2 - bez->x1); 49 left->y2 = bez->y1 + t * (bez->y2 - bez->y1); 51 left->x3 = bez->x2 + t * (bez->x3 - bez->x2); 52 left->y3 = bez->y2 + t * (bez->y3 - bez->y2); 57 bez->x2 = left->x3 + t * (bez->x3 - left->x3); 58 bez->y2 = left->y3 + t * (bez->y3 - left->y3) 136 struct bezier left, right; \/* bez poly splits *\/ local 660 struct bezier left; local [all...] |
/external/opencv/cxcore/include/ |
cxmisc.h | 445 T* left = stack[sp].lb; \ 450 int i, n = (int)(right - left) + 1, m; \ 457 for( ptr = left + 1; ptr <= right; ptr++ ) \ 459 for( ptr2 = ptr; ptr2 > left && LT(ptr2[0],ptr2[-1]); ptr2--) \ 476 left0 = left; \ 478 pivot = left + (n/2); \ 483 a = left, b = left + d, c = left + 2*d; \ 484 left = LT(*a, *b) ? (LT(*b, *c) ? b : (LT(*a, *c) ? c : a)) [all...] |
/external/chromium-trace/trace-viewer/third_party/gl-matrix/jsdoc-template/static/ |
default.css | 43 float: left; 46 left: 8px; 53 margin-left: 190px; 87 text-align: left; 101 border-left: 1px #7F8FB1 solid; 106 border-left: 1px #7F8FB1 solid; 121 text-align: left; 130 padding-left: 4px; 138 margin-left: 20px; 139 padding-left: 0 [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/css/ |
action_choice.css | 20 left: 0; 55 left: 44px; 56 margin-left: -10px; 98 -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0, 149 padding-left: 43px;
|
/external/chromium_org/chrome/browser/resources/options/ |
manage_profile_overlay.css | 28 margin-left: 10px; 42 margin-left: auto; 104 float: left; 110 margin-left: 10px; 128 left: 17px;
|
/external/chromium_org/chrome/browser/resources/ |
policy.css | 21 left: 23px; 68 float: left; 69 text-align: left; 73 float: left; 85 float: left;
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
FloatRect.cpp | 88 float left = std::max(x(), other.x()); local 94 if (left >= right || top >= bottom) { 95 left = 0; 101 setLocationAndSizeFromEdges(left, top, right, bottom); 171 float left = std::min(p0.x(), p1.x()); local 176 setLocationAndSizeFromEdges(left, top, right, bottom); 210 float left = min3(p0.x(), p1.x(), p2.x()); local 215 setLocationAndSizeFromEdges(left, top, right, bottom); 220 float left = min4(p0.x(), p1.x(), p2.x(), p3.x()); local 225 setLocationAndSizeFromEdges(left, top, right, bottom) [all...] |
/external/chromium_org/third_party/bintrees/bintrees/ |
avltree.py | 42 __slots__ = ['left', 'right', 'balance', 'key', 'value'] 45 self.left = None 52 """ x.__getitem__(key) <==> x[key], where key is 0 (left) or 1 (right) """ 53 return self.left if key == 0 else self.right 56 """ x.__setitem__(key, value) <==> x[key]=value, where key is 0 (left) or 1 (right) """ 58 self.left = value 64 self.left = None 79 rlh = height(root.left) 129 _clear(node.left) 238 if (node.left is None) or (node.right is None) [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
OverlayFrame.java | 358 int left, right, top, bottom; local 369 left = 0; 376 left = (overlayCanvas.getWidth() - newWidth) / 2; 378 right = left + newWidth; 382 destRect = new Rect(left, top, right, bottom); 389 int left, right, top, bottom; local 399 left = 0; 406 left = (overlayBitmap.getWidth() - newWidth) / 2; 408 right = left + newWidth; 412 srcRect = new Rect(left, top, right, bottom) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Ordering.java | 52 * public int compare(String left, String right) { 53 * return Ints.compare(left.length(), right.length()); 220 @Override public int compare(Object left, Object right) { 221 if (left == right) { 224 int leftCode = identityHashCode(left); 231 int result = uids.get(left).compareTo(uids.get(right)); 392 @Override public abstract int compare(@Nullable T left, @Nullable T right); 457 E[] values, int left, int right, int k) { 458 if (right > left) { 459 int pivotIndex = (left + right) >>> 1; // left + ((right - left) / 2 [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
LayerDrawableTest.java | 244 int left = 10; local 248 layerDrawable.setLayerInset(0, left, top, right, bottom); 249 assertEquals(layerDrawable.getDrawable(0).getIntrinsicWidth() + left + right, 255 left += 10; 259 layerDrawable.setLayerInset(1, left, top, right, bottom); 260 assertEquals(layerDrawable.getDrawable(1).getIntrinsicWidth() + left + right, 266 layerDrawable.setLayerInset(-1, left, top, right, bottom); 422 assertEquals(0, rc.left); 430 assertEquals(padding0.left, rc.left); [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkRect.h | 59 int left() const { return fLeft; } function in struct:SkIRect 64 /** return the left edge of the rect */ 70 * (i.e. left <= right) so the result may be negative. 82 * method is defined to return (right + left) >> 1. 85 * (right + left) / 2 when the sum is negative. 125 void set(int32_t left, int32_t top, int32_t right, int32_t bottom) { 126 fLeft = left; 132 void setLTRB(int32_t left, int32_t top, int32_t right, int32_t bottom) { 133 this->set(left, top, right, bottom); 160 /** Offset set the rectangle by adding dx to its left and right [all...] |
/external/javassist/src/main/javassist/compiler/ |
TypeChecker.java | 214 ASTree left = expr.oprand1(); local 216 if (left instanceof Variable) 217 atVariableAssign(expr, op, (Variable)left, 218 ((Variable)left).getDeclarator(), 221 if (left instanceof Expr) { 222 Expr e = (Expr)left; 224 atArrayAssign(expr, op, (Expr)left, right); 229 atFieldAssign(expr, op, left, right); 267 protected void atFieldAssign(Expr expr, int op, ASTree left, ASTree right) 270 CtField f = fieldAccess(left); 324 ASTree left = expr.oprand1(); local 345 ASTree left = expr.oprand1(); local [all...] |
/external/skia/include/core/ |
SkRect.h | 59 int left() const { return fLeft; } function in struct:SkIRect 64 /** return the left edge of the rect */ 70 * (i.e. left <= right) so the result may be negative. 82 * method is defined to return (right + left) >> 1. 85 * (right + left) / 2 when the sum is negative. 125 void set(int32_t left, int32_t top, int32_t right, int32_t bottom) { 126 fLeft = left; 132 void setLTRB(int32_t left, int32_t top, int32_t right, int32_t bottom) { 133 this->set(left, top, right, bottom); 160 /** Offset set the rectangle by adding dx to its left and right [all...] |
/external/v8/src/x64/ |
lithium-x64.cc | 831 ASSERT(instr->left()->representation().IsTagged()); 834 LOperand* left = UseFixed(instr->left(), rdx); local 836 LArithmeticT* result = new(zone()) LArithmeticT(op, left, right); 841 ASSERT(instr->left()->representation().IsInteger32()); 843 LOperand* left = UseRegisterAtStart(instr->left()); local 870 DefineSameAsFirst(new(zone()) LShiftI(op, left, right, does_deopt)); 878 ASSERT(instr->left()->representation().IsDouble()); 881 LOperand* left = UseRegisterAtStart(instr->left()) local 895 HValue* left = instr->left(); local 1079 LOperand* left = UseFixed(instr->left(), rax); local 1269 LOperand* left = UseRegisterAtStart(instr->LeastConstantOperand()); local 1277 LOperand* left = UseFixed(instr->left(), rdx); local 1345 LOperand* left = UseFixedDouble(instr->left(), xmm2); local 1357 LOperand* left = UseRegisterAtStart(instr->LeastConstantOperand()); local 1378 LOperand* left = UseRegisterAtStart(instr->left()); local 1399 LOperand* left = UseRegisterAtStart(instr->LeastConstantOperand()); local 1423 LOperand* left = UseFixedDouble(instr->left(), xmm2); local 1453 LOperand* left = UseFixed(instr->left(), rdx); local 1466 LOperand* left = UseRegisterOrConstantAtStart(instr->left()); local 1473 LOperand* left; local 1489 LOperand* left = UseRegisterAtStart(instr->left()); local 1543 LOperand* left = UseFixed(instr->left(), rdx); local 2084 LOperand* left = UseOrConstantAtStart(instr->left()); local [all...] |
/external/chromium/chrome/browser/resources/ |
keyboard_overlay_data.js | 112 "format": "left", 208 "format": "left", 211 "notes": "left ctrl", 298 "format": "left", 301 "notes": "left shift", 388 "format": "left", 391 "notes": "left alt", 493 "format": "left", 597 "format": "left", 693 "format": "left", [all...] |