/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.h | 122 float left; member in struct:android::uirenderer::ShadowTexture
|
H A D | Layer.h | 79 regionRect.left * texX, (height - regionRect.top) * texY, 82 regionRect.translate(layer.left, layer.top); 86 int left, int top, int right, int bottom) { 89 const Rect r(left, top, right, bottom); 85 updateDeferred(OpenGLRenderer* renderer, DisplayList* displayList, int left, int top, int right, int bottom) argument
|
H A D | LayerRenderer.cpp | 46 status_t LayerRenderer::prepareDirty(float left, float top, float right, float bottom, argument 55 Rect dirty(left, top, right, bottom); 56 if (dirty.isEmpty() || (dirty.left <= 0 && dirty.top <= 0 && 62 android::Rect r(dirty.left, dirty.top, dirty.right, dirty.bottom); 67 return OpenGLRenderer::prepareDirty(dirty.left, dirty.top, dirty.right, dirty.bottom, opaque); 70 status_t LayerRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument 81 return OpenGLRenderer::clear(left, top, right, bottom, opaque); 171 const float u1 = r->left * texX; 176 TextureVertex::set(mesh++, r->left, r->top, u1, v1); 178 TextureVertex::set(mesh++, r->left, [all...] |
H A D | Matrix.cpp | 372 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 375 data[kScaleX] = 2.0f / (right - left); 378 data[kTranslateX] = -(right + left) / (right - left); 405 MUL_ADD_STORE(r.left, data[kScaleX], data[kTranslateX]); 410 if (r.left > r.right) { 411 float x = r.left; 412 r.left = r.right; 426 r.left, r.top, 429 r.left, [all...] |
H A D | PathCache.cpp | 91 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { 93 PathCache::computeBounds(bounds, paint, left, top, offset, width, height); 97 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { 101 left = bounds.fLeft; 129 float left, float top, float offset, uint32_t width, uint32_t height) { 136 canvas.translate(-left + offset, -top + offset); 140 static PathTexture* createTexture(float left, float top, float offset, argument 143 texture->left = left; 267 float left, to local 90 computePathBounds(const SkPath* path, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument 96 computeBounds(const SkRect& bounds, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument 128 drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, float left, float top, float offset, uint32_t width, uint32_t height) argument 347 float left, top, offset; local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 229 int32_t left, top, right, bottom; local 230 CHECK(msg->findRect(key, &left, &top, &right, &bottom)); 236 StringPrintf("%s-left", key).c_str(), 237 left);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLU.java | 87 * @param left 92 public static void gluOrtho2D(GL10 gl, float left, float right, argument 94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f); 115 float left = bottom * aspect; 117 gl.glFrustumf(left, right, bottom, top, zNear, zFar);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | SettingsPanelView.java | 132 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 133 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 182 int left, int top, int right, int bottom) { 189 regionDelegate.mArea.contains(left, top, right - left, bottom - top); 194 int left, int top, int right, int bottom) { 201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false; 297 int left, int top, int right, int bottom) { 303 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top)); 338 rect.left 181 quickContains(Region thisRegion, int left, int top, int right, int bottom) argument 193 quickReject(Region thisRegion, int left, int top, int right, int bottom) argument 296 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument 371 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 81 TYPE left, right; local 82 int inside = spannerInner.next(current.left, current.right); 84 if (current.left < current.right && 234 SpannerBase::lhs_head = lhs.rects->left + lhs.dx; 243 SpannerBase::rhs_head = rhs.rects->left + rhs.dx; 248 SpannerBase::lhs_head = lhs.rects->left + lhs.dx; 252 SpannerBase::rhs_head = rhs.rects->left + rhs.dx; 263 inline int next(TYPE& left, TYPE& right) argument 267 int inside = SpannerBase::next(left, right, more_lhs, more_rhs); 279 void advance(region& reg, TYPE& left, TYP argument [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 164 position[i*6 + 0].x = r->left; 166 position[i*6 + 1].x = r->left; 170 position[i*6 + 3].x = r->left; 187 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) { 188 glScissor(left, bottom, right, top); 186 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
|
/frameworks/rs/ |
H A D | rsMatrix4x4.cpp | 272 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 274 m[0] = 2.f / (right - left); 277 m[12]= -(right + left) / (right - left); 282 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument 284 m[0] = 2.f * near / (right - left); 286 m[8] = (right + left) / (right - left); 297 float left = bottom * aspect; local 299 loadFrustum(left, righ [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 151 public void setPadding(int left, int top, int right, int bottom) { argument 155 super.setPadding(left, top, right, bottom); 261 final int left = mCurrText.getLeft() - mTabPadding; 266 canvas.drawRect(left, top, right, bottom, mTabPaint); 279 int left = mCurrText.getLeft() - mTabPadding; 283 r.set(left, top, right, bottom); 288 left = mCurrText.getLeft() - mTabPadding; 290 r.union(left, top, right, bottom);
|
/frameworks/wilhelm/src/itf/ |
H A D | IOutputMixExt.c | 29 short left; member in struct:__anon1708 244 mixBuffer->left += (short) (source->left * track->mGains[0]); 250 mixBuffer->left += source->left; 258 mixBuffer->left = (short) (source->left * track->mGains[0]);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | intbufq.c | 52 short left; member in struct:__anon1779 153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0; 154 sine[i].right = sine[i].left; 157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768; 158 square[i].right = square[i].left; 161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0; 162 sawtooth[i].right = sawtooth[i].left; 165 half[i].left = sine[i].left;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerSinc.cpp | 390 int32_t mulRL(int left, int32_t in, uint32_t vRL) argument 394 if (left) { 407 int16_t v = left ? int16_t(vRL) : int16_t(vRL>>16); 428 int32_t mulAddRL(int left, uint32_t inRL, int32_t v, int32_t a) argument 432 if (left) { 445 int16_t s = left ? int16_t(inRL) : int16_t(inRL>>16); 500 void AudioResamplerSinc::setVolume(int16_t left, int16_t right) { argument 501 AudioResampler::setVolume(left, right); 502 mVolumeSIMD[0] = int32_t(left)<<16;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStats.java | 511 NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) { 512 long deltaRealtime = left.elapsedRealtime - right.elapsedRealtime; 515 observer.foundNonMonotonic(left, -1, right, -1, cookie); 522 final NetworkStats result = new NetworkStats(deltaRealtime, left.size); 523 for (int i = 0; i < left.size; i++) { 524 entry.iface = left.iface[i]; 525 entry.uid = left.uid[i]; 526 entry.set = left.set[i]; 527 entry.tag = left.tag[i]; 533 entry.rxBytes = left 510 subtract( NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) argument 705 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DisplayList.java | 585 * Sets the left position for the display list. 587 * @param left The left position, in pixels, of the display list 592 public abstract void setLeft(int left); argument 595 * Returns the left position for the display list in pixels. 653 * Sets the left and top positions for the display list 655 * @param left The left position of the display list, in pixels 665 public abstract void setLeftTopRightBottom(int left, int top, int right, int bottom); argument 668 * Offsets the left an [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | AnimationSet.java | 337 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument 339 region.set(left, top, right, bottom);
|
/frameworks/base/core/java/android/widget/ |
H A D | FrameLayout.java | 163 mForegroundPaddingLeft = padding.left; 246 mForegroundPaddingLeft = padding.left; 387 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 388 layoutChildren(left, top, right, bottom, false /* no force left gravity */); 391 void layoutChildren(int left, int top, int right, int bottom, argument 396 final int parentRight = right - left - getPaddingRightWithForeground();
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuView.java | 258 // Divide any space left that wouldn't divide along cell boundaries 388 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 390 super.onLayout(changed, left, top, right, bottom); 400 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft(); 448 final int midHorizontal = (right - left) / 2;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Region.cpp | 52 static jboolean Region_setRect(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int bottom) { argument 53 return dst->setRect(left, top, right, bottom); 71 static jboolean Region_op0(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int bottom, int op) { argument 74 ir.set(left, top, right, bottom); 106 static jboolean Region_quickContains(JNIEnv* env, jobject region, int left, int top, int right, int bottom) { argument 107 return GetSkRegion(env, region)->quickContains(left, top, right, bottom); 110 static jboolean Region_quickRejectIIII(JNIEnv* env, jobject region, int left, int top, int right, int bottom) { argument 112 ir.set(left, top, right, bottom);
|
/frameworks/base/core/jni/ |
H A D | android_view_GraphicBuffer.cpp | 70 jfieldID left; member in struct:android::__anon1027 173 rect.left = GET_INT(dirtyRect, gRectClassInfo.left); 208 clipRect.set(rect.left, rect.top, rect.right, rect.bottom); 213 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom)); 314 GET_FIELD_ID(gRectClassInfo.left, clazz, "left", "I");
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Region.java | 71 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 76 public Region(int left, int top, int right, int bottom) { argument 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) { argument 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, argument 200 return quickReject(r.left, r.top, r.right, r.bottom); 208 public native boolean quickReject(int left, in argument 267 op(int left, int top, int right, int bottom, Op op) argument 411 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument 419 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ShapeDrawable.java | 125 * @param left padding for the left side (in pixels) 130 public void setPadding(int left, int top, int right, int bottom) { argument 131 if ((left | top | right | bottom) == 0) { 137 mShapeState.mPadding.set(left, top, right, bottom); 144 * Define the padding in the Rect object as: left, top, right, bottom. 225 canvas.translate(r.left, r.top);
|