/packages/apps/Camera2/src/com/android/camera/ui/ |
ProgressOverlay.java | 45 public void onLayout(boolean changed, int left, int top, int right, int bottom) { 46 super.onLayout(changed, left, top, right, bottom); 48 mCenterX = (right - left) / 2; 62 params.setMargins((int) area.left, (int) area.top, 0, 0);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
LinearColorBar.java | 192 int left = 0; local 194 int right = left + (int)(width*mRedRatio); 242 if (left < right) { 243 mRect.left = left; 247 width -= (right-left); 248 left = right; 256 if (left < right) { 257 mRect.left = left; [all...] |
/external/webrtc/webrtc/modules/video_render/android/ |
video_render_android_impl.h | 57 const float left, const float top, 66 float& left, float& top, 94 const float left, const float top, 101 const float left, const float top, 109 const float left, const float top, 114 const void* colorKey, const float left, 123 const float left,
|
/external/webrtc/webrtc/modules/video_render/external/ |
video_render_external_impl.cc | 44 const float left, 63 float& left, 71 left = 0; 135 const float left, 147 const float left, 169 const float left, 181 const float left,
|
/frameworks/base/core/java/com/android/internal/policy/ |
DockedDividerUtils.java | 45 outRect.left = position + dividerSize; 58 * @param topLeft Pass true if the bounds are at the top/left of the screen, false if they are 64 // If the bounds are either on the top or left of the screen, rather move it further to the 65 // left/top to make it more offscreen. If they are on the bottom or right, push them off the 68 if (bounds.left >= bounds.right) { 69 bounds.left = bounds.right - 1; 75 if (bounds.right <= bounds.left) { 76 bounds.right = bounds.left + 1; 91 return bounds.left - dividerSize; 101 int start = isHorizontalDivision ? insets.top : insets.left; [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); 468 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); 483 public void arcTo(float left, float top, float right, float bottom, float startAngle, 486 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 514 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { 522 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); 533 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); 539 * @param left The left side of a rectangle to add to the path 545 public void addRect(float left, float top, float right, float bottom, Direction dir) [all...] |
Region.java | 71 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 76 public Region(int left, int top, int right, int bottom) { 78 nativeSetRect(mNativeRegion, left, top, right, bottom); 97 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 102 public boolean set(int left, int top, int right, int bottom) { 103 return nativeSetRect(mNativeRegion, left, top, right, bottom); 182 return quickContains(r.left, r.top, r.right, r.bottom); 191 public native boolean quickContains(int left, int top, int right, 200 return quickReject(r.left, r.top, r.right, r.bottom); 208 public native boolean quickReject(int left, int top, int right, int bottom) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ThinPatchesActivity.java | 78 final int left = (getWidth() - width) / 2; local 84 mPatch3.setBounds(left, top, left + height, top + width); 89 mPatch1.setBounds(left, top, left + width, top + height); 95 mPatch2.setBounds(left, top, left + width, top + height);
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
StyledCornersBitmapDrawable.java | 249 float left = bounds.left + mBorderWidth / 2; local 258 flapCornerRectF.offsetTo(left, top); 273 flapCornerRectF.offsetTo(left, bottom - mCornerFlapSide); 304 float left = bounds.left; local 313 fakeCornerRectF.offsetTo(left, top); 315 mCompatibilityModePath.moveTo(left, top); 316 mCompatibilityModePath.lineTo(left + mCornerRoundRadius, top); 341 fakeCornerRectF.offsetTo(left, bottom - fakeCornerRectF.height()) 401 float left = bounds.left + mBorderWidth \/ 2; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/x86/ |
vp9_rtcd.h | 29 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 30 void vp9_d207_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 31 RTCD_EXTERN void (*vp9_d207_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 33 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 34 void vp9_d45_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 35 RTCD_EXTERN void (*vp9_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 37 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 38 void vp9_d63_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 39 RTCD_EXTERN void (*vp9_d63_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 41 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); [all...] |
/external/lzma/CPP/7zip/UI/FileManager/ |
SysIconUtils.cpp | 119 unsigned left = 0, right = vect.Size();
local 120 while (left != right)
122 unsigned mid = (left + right) / 2;
129 left = mid + 1;
131 insertPos = left;
137 unsigned left = 0, right = vect.Size();
local 138 while (left != right)
140 unsigned mid = (left + right) / 2;
147 left = mid + 1;
149 insertPos = left;
[all...] |
/external/opencv3/3rdparty/zlib/ |
inftrees.c | 46 int left; /* number of prefix codes available */ local 131 left = 1; 133 left <<= 1; 134 left -= count[len]; 135 if (left < 0) return -1; /* over-subscribed */ 137 if (left > 0 && (type == CODES || max != 1)) 270 left = (int)(1 << curr); 272 left -= count[curr + drop]; 273 if (left <= 0) break; 275 left <<= 1 [all...] |
/external/pdfium/third_party/zlib_v128/ |
inftrees.c | 46 int left; /* number of prefix codes available */ local 131 left = 1; 133 left <<= 1; 134 left -= count[len]; 135 if (left < 0) return -1; /* over-subscribed */ 137 if (left > 0 && (type == CODES || max != 1)) 270 left = (int)(1 << curr); 272 left -= count[curr + drop]; 273 if (left <= 0) break; 275 left <<= 1 [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
SelectionArea.java | 26 * left and right to keep it in the correct orientation. 31 private int left; field in class:SelectionArea 42 top = left = bottom = right = 0; 111 setLeft(left - 1); 118 setLeft(left + 1); 130 private void setLeft(int left) { 131 this.left = right = checkBounds(left, maxColumns); 135 return Math.min(left, right); 143 return Math.max(left, right) [all...] |
/external/zlib/src/contrib/infback9/ |
inftree9.c | 46 int left; /* number of prefix codes available */ local 125 left = 1; 127 left <<= 1; 128 left -= count[len]; 129 if (left < 0) return -1; /* over-subscribed */ 131 if (left > 0 && (type == CODES || max != 1)) 263 left = (int)(1 << curr); 265 left -= count[curr + drop]; 266 if (left <= 0) break; 268 left <<= 1 [all...] |
/external/zlib/src/ |
inftrees.c | 46 int left; /* number of prefix codes available */ local 131 left = 1; 133 left <<= 1; 134 left -= count[len]; 135 if (left < 0) return -1; /* over-subscribed */ 137 if (left > 0 && (type == CODES || max != 1)) 270 left = (int)(1 << curr); 272 left -= count[curr + drop]; 273 if (left <= 0) break; 275 left <<= 1 [all...] |
/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]) 58 if (left[0] == 'circle') { 59 return scope.mergeList(left.slice(1), right.slice(1), [ 66 if (left[0] == 'ellipse') { 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), [ 77 left[1] [all...] |
/external/libvncserver/webclients/novnc/include/ |
black.css | 16 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c4c4c), color-stop(50%,#2c2c2c), color-stop(51%,#000000), color-stop(100%,#131313)); /* Chrome,Safari4+ */ 25 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f04040), color-stop(50%,#2c2c2c), color-stop(51%,#000000), color-stop(100%,#131313)); /* Chrome,Safari4+ */ 34 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0f040), color-stop(50%,#2c2c2c), color-stop(51%,#000000), color-stop(100%,#131313)); /* Chrome,Safari4+ */ 54 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c4c4c), color-stop(50%,#2c2c2c), color-stop(51%,#000000), color-stop(100%,#131313)); /* Chrome,Safari4+ */ 65 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9dd53a), color-stop(50%,#a1d54f), color-stop(51%,#80c217), color-stop(100%, (…) [all...] |
/external/skia/tests/ |
BlitMaskClip.cpp | 55 for (int left = b.fLeft; left < b.fRight; left++) { 56 for (int right = left + 1; right <= b.fRight; right++) { 57 SkIRect clipRect = {left, top, right, bottom};
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ExpandableOutlineView.java | 83 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom); 93 return mCustomOutline ? mOutlineRect.left : (int) getTranslation(); 114 protected void setOutlineRect(float left, float top, float right, float bottom) { 118 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom); 122 mOutlineRect.right = (int) Math.max(left, mOutlineRect.right);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
DESEngine.java | 408 int work, right, left; local 410 left = (in[inOff + 0] & 0xff) << 24; 411 left |= (in[inOff + 1] & 0xff) << 16; 412 left |= (in[inOff + 2] & 0xff) << 8; 413 left |= (in[inOff + 3] & 0xff); 420 work = ((left >>> 4) ^ right) & 0x0f0f0f0f; 422 left ^= (work << 4); 423 work = ((left >>> 16) ^ right) & 0x0000ffff; 425 left ^= (work << 16); 426 work = ((right >>> 2) ^ left) & 0x33333333 [all...] |
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/ |
GridLayoutTest.java | 70 int left = mLeftView.getWidth(); local 73 assertTrue("left item should get some width", left > 0); 76 assertTrue("left view should be almost two times right view " + left + " vs " + right, 77 Math.abs(right * 2 - left) < 2); 83 int left = mLeftView.getWidth(); local 86 assertTrue("left item should get some width", left > 0); 89 assertTrue("left view should be almost two times right view " + left + " vs " + right 96 int left = mLeftView.getWidth(); local 121 int left = mLeftView.getHeight(); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/mips-dspr2/ |
vp9_rtcd.h | 27 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 30 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 33 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 36 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 37 void vp9_h_predictor_4x4_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 40 void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 43 void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 46 void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 49 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 52 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); [all...] |
/external/pdfium/core/src/fxge/ge/ |
fx_ge_device.cpp | 28 m_ClipBox.left = 0; 96 path.AppendRect((FX_FLOAT)(pRect->left), (FX_FLOAT)(pRect->bottom), 108 m_ClipBox.left = 0; 160 int width = (int)FXSYS_ceil(rect_f.right - rect_f.left); 163 if (rect_i.left == rect_i.right) { 175 if (rect_f.left - (FX_FLOAT)(rect_i.left) > 177 rect_i.left++; 254 if (!m_pDeviceDriver->GetDIBits(&bitmap, rect.left, rect.top, NULL)) { 265 matrix.TranslateI(-rect.left, -rect.top) [all...] |
/external/pdfium/fpdfsdk/src/pdfwindow/ |
PWL_ComboBox.cpp | 127 if (IsFloatBigger(rectWnd.right - rectWnd.left, 158 if (IsFloatBigger(rectWnd.right - rectWnd.left, 367 rcButton.left = rcButton.right - PWL_COMBOBOX_BUTTON_WIDTH; 369 if (rcButton.left < rclient.left) 370 rcButton.left = rclient.left; 374 rcEdit.right = rcButton.left - 1.0f; 376 if (rcEdit.left < rclient.left) [all...] |