/frameworks/base/libs/hwui/ |
H A D | Matrix.cpp | 396 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 400 data[kScaleY] = 2.0f / (top - bottom); 403 data[kTranslateY] = -(top + bottom) / (top - bottom); 454 MUL_ADD_STORE(r.top, data[kScaleY], data[kTranslateY]); 463 if (r.top > r.bottom) { 464 float y = r.top; 465 r.top = r.bottom; 473 r.left, r.top, 474 r.right, r.top, [all...] |
H A D | PathCache.cpp | 130 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { 132 PathCache::computeBounds(bounds, paint, left, top, offset, width, height); 136 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { 141 top = bounds.fTop; 167 float left, float top, float offset, uint32_t width, uint32_t height) { 174 canvas.translate(-left + offset, -top + offset); 274 float left, top, offset; local 276 computePathBounds(path, paint, left, top, offset, width, height); 283 drawPath(path, paint, bitmap, left, top, offset, width, height); 286 left, top, offse 129 computePathBounds(const SkPath* path, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument 135 computeBounds(const SkRect& bounds, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument 166 drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, float left, float top, float offset, uint32_t width, uint32_t height) argument 333 float left, top, offset; local [all...] |
H A D | PathCache.h | 64 PathTexture(Caches& caches, float left, float top, argument 68 , top(top) 88 float top = 0; member in struct:android::uirenderer::PathTexture 232 float& left, float& top, float& offset, uint32_t& width, uint32_t& height); 234 float& left, float& top, float& offset, uint32_t& width, uint32_t& height);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 265 * @param top 270 float left, float right, float bottom, float top, 275 if (bottom == top) { 276 throw new IllegalArgumentException("bottom == top"); 283 final float r_height = 1.0f / (top - bottom); 289 final float ty = -(top + bottom) * r_height; 319 * @param top 324 float left, float right, float bottom, float top, 329 if (top == bottom) { 330 throw new IllegalArgumentException("top 269 orthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far) argument 323 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCaseView.java | 527 protected void onLayout (boolean changed, int left, int top, int right, int bottom) { argument 529 final float h = bottom-top; 533 final int cy = (int) (top + h * 0.5f);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSAnimator.java | 329 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
|
H A D | QSContainer.java | 120 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 121 super.onLayout(changed, left, top, right, bottom); 253 mQsBounds.top = (int) (mQSPanel.getHeight() * (1 - expansion));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | AmbientState.java | 116 public float getOverScrollAmount(boolean top) { argument 117 return top ? mOverScrollTopAmount : mOverScrollBottomAmount;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 169 protected void onLayout(boolean changed, int left, int top, int right, argument 171 super.onLayout(changed, left, top, right, bottom); 270 cy += (mTempRectF.top / scale) - yoffset; 272 cy -= (mTempRectF.top / scale) - yoffset;
|
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 139 public boolean pageUp(boolean top) { argument
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_webp.cpp | 44 const int top = frame.y_offset; local 45 const int bottom = top + frame.height; 46 return x >= left && x < right && y >= top && y < bottom;
|
/frameworks/rs/ |
H A D | rsScriptC_LibGL.cpp | 230 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 237 if (top) { 238 *top = metrics->top; 246 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 252 SetMetrics(&metrics, left, right, top, bottom); 257 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 261 SetMetrics(&metrics, left, right, top, bottom); 229 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument 245 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument 256 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | StreamingTextView.java | 245 float x, int top, int y, int bottom, Paint paint) { 244 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
H A D | DrawableWrapper.java | 206 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 207 DrawableCompat.setHotspotBounds(mDrawable, left, top, right, bottom);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseWrapContentWithAspectRatioTest.java | 82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 83 super.onLayout(changed, left, top, right, bottom); 84 mBehavior.onLayout(changed, left, top, right, bottom); 169 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 171 layouts.add(new Pair<>(right - left, bottom - top));
|
/frameworks/av/media/img_utils/src/ |
H A D | DngUtils.cpp | 145 status_t err = addGainMap(/*top*/redTop, 163 err = addGainMap(/*top*/greenEvenTop, 181 err = addGainMap(/*top*/greenOddTop, 199 err = addGainMap(/*top*/blueTop, 218 status_t OpcodeListBuilder::addGainMap(uint32_t top, argument 254 uint32_t settings1[] = { top,
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_deblocking.c | 133 u32 top; member in struct:__anon639 390 top-most edge of a macroblock. Macroblock types are checked 420 top-most edge of a macroblock. Macroblock types are checked 563 mb pointer to macroblock data structure of the top-left 1149 /* top edges */ 1154 bS[0].top = bS[1].top = bS[2].top = bS[3].top = 4; 1159 bS[0].top [all...] |
H A D | h264bsd_reconstruct.c | 97 pRef pointer to reference frame Cb top-left corner 2240 i32 top, y, bottom; local 2287 top = y0 < 0 ? -y0 : 0; 2289 y = (i32)blockHeight - top - bottom; 2292 for ( ; top; top-- )
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AMessage.cpp | 285 int32_t left, int32_t top, int32_t right, int32_t bottom) { 290 item->u.rectValue.mTop = top; 333 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const { 340 *top = item->u.rectValue.mTop; 283 setRect( const char *name, int32_t left, int32_t top, int32_t right, int32_t bottom) argument 331 findRect( const char *name, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const argument
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHostView.java | 153 setPadding(padding.left, padding.top, padding.right, padding.bottom); 198 padding.top = r.getDimensionPixelSize(com.android.internal. 246 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 248 super.onLayout(changed, left, top, right, bottom); 300 int yPaddingDips = (int) ((padding.top + padding.bottom) / density); 490 // the new view will pop in on top of the old one during the cross fade,
|
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuView.java | 42 * several top level options as action buttons while spilling remaining options over as 433 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 435 super.onLayout(changed, left, top, right, bottom); 440 final int midVertical = (bottom - top) / 2;
|
H A D | ActivityChooserView.java | 476 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 477 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
|
H A D | VideoView.java | 114 /** Subtitle rendering widget overlaid on top of the video. */ 839 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 840 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 113 * top-most). Each value contains the number of items in that row. 368 childLayoutParams.top = (int) itemTop; 439 child.layout(childLayoutParams.left, childLayoutParams.top, childLayoutParams.right, 744 * Layout parameters specific to IconMenuView (stores the left, top, right, bottom from the 749 int left, top, right, bottom; field in class:IconMenuView.LayoutParams
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Region.cpp | 60 static jboolean Region_setRect(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom) { argument 62 bool result = dst->setRect(left, top, right, bottom); 91 static jboolean Region_op0(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom, jint op) { argument 95 ir.set(left, top, right, bottom); 139 static jboolean Region_quickContains(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument 140 bool result = GetSkRegion(env, region)->quickContains(left, top, right, bottom); 144 static jboolean Region_quickRejectIIII(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument 146 ir.set(left, top, right, bottom);
|