/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...] |
/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 | 126 int left = current->left; local 132 // iterating over previous span RTL, quit if it's too far left 133 if (prev->right <= left) break; 135 if (prev->right > left && prev->right < right) { 140 if (prev->left > left && prev->left < right) { 141 dst.add(Rect(prev->left, top, right, bottom)); 142 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...] |
/frameworks/base/libs/hwui/ |
OpenGLRenderer.h | 136 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque); 146 virtual int saveLayer(float left, float top, float right, float bottom, 148 return saveLayer(left, top, right, bottom, paint, flags, NULL); 153 int saveLayer(float left, float top, float right, float bottom, 156 int saveLayerDeferred(float left, float top, float right, float bottom, 173 float left, float top, float right, float bottom, const SkPaint* paint); 175 float left, float top, float right, float bottom, const SkPaint* paint); 177 virtual status_t drawRect(float left, float top, float right, float bottom, 179 virtual status_t drawRoundRect(float left, float top, float right, float bottom, 182 virtual status_t drawOval(float left, float top, float right, float bottom [all...] |
Renderer.h | 122 * @param left The left coordinate of the dirty rectangle 130 virtual status_t prepareDirty(float left, float top, float right, float bottom, 148 virtual int saveLayer(float left, float top, float right, float bottom, 151 int saveLayerAlpha(float left, float top, float right, float bottom, 155 return saveLayer(left, top, right, bottom, &paint, flags); 170 virtual bool quickRejectConservative(float left, float top, 172 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) = 0; 194 float left, float top, float right, float bottom, const SkPaint* paint) = 0; 197 virtual status_t drawRect(float left, float top, float right, float bottom [all...] |
StatefulBaseRenderer.cpp | 153 bool StatefulBaseRenderer::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { 155 mDirtyClip |= mSnapshot->clip(left, top, right, bottom, op); 160 path.addRect(left, top, right, bottom); 180 clip.setRect(bounds->left, bounds->top, bounds->right, bounds->bottom); 205 clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkRegion::kIntersect_Op); 232 bool StatefulBaseRenderer::calculateQuickRejectForScissor(float left, float top, 236 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { 240 Rect r(left, top, right, bottom); 273 bool StatefulBaseRenderer::quickRejectConservative(float left, float top, 275 if (mSnapshot->isIgnored() || bottom <= top || right <= left) { [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Canvas.java | 81 * Flag for drawTextRun indicating left-to-right run direction. 87 * Flag for drawTextRun indicating right-to-left run direction. 462 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); 475 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, 477 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom, 483 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG}) 485 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { 486 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG); 521 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags); 534 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha 1372 float left, top, right, bottom; local 1419 int left, top, right, bottom; local [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/decorator/ |
DividerItemDecoration.java | 67 final int left = parent.getPaddingLeft(); local 78 mDivider.setBounds(left, top, right, bottom); 92 final int left = child.getRight() + params.rightMargin + local 94 final int right = left + mDivider.getIntrinsicHeight(); 95 mDivider.setBounds(left, top, right, bottom);
|
/external/chromium_org/cc/layers/ |
tiled_layer.h | 90 int left, 96 bool UpdateTiles(int left, 103 bool HaveTexturesForTiles(int left, 110 int left, 117 int left,
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
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 134 // Comparison functions used for std::lower_bound(). Compare left or right 140 static void AddSpanToRow(Row* row, int32_t left, int32_t right);
|
/external/guava/guava/src/com/google/common/primitives/ |
UnsignedInts.java | 157 public int compare(int[] left, int[] right) { 158 int minLength = Math.min(left.length, right.length); 160 if (left[i] != right[i]) { 161 return UnsignedInts.compare(left[i], right[i]); 164 return left.length - right.length;
|
/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; 63 left -= clen;
|
/frameworks/rs/scriptc/ |
rs_math.rsh | 94 * @param left plane 103 float4 *left, float4 *right, 107 left->x = viewProj->m[3] + viewProj->m[0]; 108 left->y = viewProj->m[7] + viewProj->m[4]; 109 left->z = viewProj->m[11] + viewProj->m[8]; 110 left->w = viewProj->m[15] + viewProj->m[12]; 137 float len = length(left->xyz); 138 *left /= len; 154 * @param left plane 163 float4 *left, float4 *right [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/scriptc/ |
rs_math.rsh | 94 * @param left plane 103 float4 *left, float4 *right, 107 left->x = viewProj->m[3] + viewProj->m[0]; 108 left->y = viewProj->m[7] + viewProj->m[4]; 109 left->z = viewProj->m[11] + viewProj->m[8]; 110 left->w = viewProj->m[15] + viewProj->m[12]; 137 float len = length(left->xyz); 138 *left /= len; 154 * @param left plane 163 float4 *left, float4 *right [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/scriptc/ |
rs_math.rsh | 94 * @param left plane 103 float4 *left, float4 *right, 107 left->x = viewProj->m[3] + viewProj->m[0]; 108 left->y = viewProj->m[7] + viewProj->m[4]; 109 left->z = viewProj->m[11] + viewProj->m[8]; 110 left->w = viewProj->m[15] + viewProj->m[12]; 137 float len = length(left->xyz); 138 *left /= len; 154 * @param left plane 163 float4 *left, float4 *right [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/scriptc/ |
rs_math.rsh | 94 * @param left plane 103 float4 *left, float4 *right, 107 left->x = viewProj->m[3] + viewProj->m[0]; 108 left->y = viewProj->m[7] + viewProj->m[4]; 109 left->z = viewProj->m[11] + viewProj->m[8]; 110 left->w = viewProj->m[15] + viewProj->m[12]; 137 float len = length(left->xyz); 138 *left /= len; 154 * @param left plane 163 float4 *left, float4 *right [all...] |
/prebuilts/sdk/renderscript/include/ |
rs_math.rsh | 94 * @param left plane 103 float4 *left, float4 *right, 107 left->x = viewProj->m[3] + viewProj->m[0]; 108 left->y = viewProj->m[7] + viewProj->m[4]; 109 left->z = viewProj->m[11] + viewProj->m[8]; 110 left->w = viewProj->m[15] + viewProj->m[12]; 137 float len = length(left->xyz); 138 *left /= len; 154 * @param left plane 163 float4 *left, float4 *right [all...] |
/external/okhttp/website/static/ |
bootstrap-combined.min.css | 9 */.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{width:auto\9;height:auto;max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}#map_canvas img,.google-maps img{max-width:none}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}label,select,button,input[type="button"],input[type="reset"],input[type="submit"],input[type="radio"],input[type="checkbox"]{cursor:pointer}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333;background-color:#fff}a{color:#08c;text-decoration:none}a:hover,a:focus{color:#005580;text-decoration:underline}.img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.1)}.img-circle{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{ma (…) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
GLArrowSensorTestRenderer.java | 199 * @param left the left operand of the cross product 203 public static void crossProduct(float[] left, float[] right, float[] out) { 204 out[0] = left[1] * right[2] - left[2] * right[1]; 205 out[1] = left[2] * right[0] - left[0] * right[2]; 206 out[2] = left[0] * right[1] - left[1] * right[0]; 212 * @param left the first dot product operan [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
FadedEdgeDrawHelper.java | 86 int left, int right, int top, int bottom, int scrollX, int scrollY, 123 if (!mIsVertical && (left + length > right - length)) { 124 length = (right - left) / 2; 143 mFadeMatrix.postTranslate(left, top); 146 canvas.drawRect(left, top, right, top + length, mFadePaint); 153 canvas.drawRect(left, top - mPaddingTop, right, top, mBlackPaint); 159 mFadeMatrix.postTranslate(left, bottom); 162 canvas.drawRect(left, bottom - length, right, bottom, mFadePaint); 168 mFadeMatrix.postTranslate(left, top); 171 canvas.drawRect(left, top, left + length, bottom, mFadePaint) [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
BlackFrame.java | 34 final int left; field in class:BlackFrame.BlackSurface 41 left = l; 70 mTmpMatrix.setTranslate(left, top); 79 Slog.i(WindowManagerService.TAG, "Black Surface @ (" + left + "," + top + "): (" 110 pw.print(" left="); pw.print(bs.left); 126 outer.left, outer.top, inner.right, inner.top, layerStack); 128 if (outer.left < inner.left) { 130 outer.left, inner.top, inner.left, outer.bottom, layerStack) [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
FocusOverlay.java | 262 float left = mFocusDebugCornersRect.left; local 267 canvas.drawLines(new float[]{left, top + delta, left, top, left, top, left + delta, top}, mDebugCornersPaint); 269 canvas.drawLines(new float[]{left, bot - delta, left, bot, left, bot, left + delta, bot}, mDebugCornersPaint) [all...] |
/bootable/recovery/edify/ |
expr.c | 190 char* left = Evaluate(state, argv[0]); local 191 if (left == NULL) return NULL; 192 if (BooleanString(left) == true) { 193 free(left); 196 return StringValue(left); 202 char* left = Evaluate(state, argv[0]); local 203 if (left == NULL) return NULL; 204 if (BooleanString(left) == false) { 205 free(left); 208 return StringValue(left); 238 char* left = Evaluate(state, argv[0]); local 253 char* left = Evaluate(state, argv[0]); local 268 Value* left = EvaluateValue(state, argv[0]); local 281 char* left; local [all...] |