Searched defs:top (Results 151 - 175 of 343) sorted by relevance

1234567891011>>

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DBatteryMeterDrawableBase.java217 public void setBounds(int left, int top, int right, int bottom) { argument
218 super.setBounds(left, top, right, bottom);
219 mHeight = bottom - top;
274 mFrame.top,
276 mFrame.top + buttonHeight);
278 mButtonFrame.top += mSubpixelSmoothingLeft;
283 mFrame.top += buttonHeight;
285 mFrame.top += mSubpixelSmoothingLeft;
298 final float levelTop = drawFrac == 1f ? mButtonFrame.top
299 : (mFrame.top
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java527 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 DQSAnimator.java361 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java169 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/graphics/
H A DCanvas_Delegate.java288 // get the current top graphics2D object.
317 // get the current top graphics2D object.
345 // get the current top graphics2D object.
364 float left, float top,
373 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
420 bounds.top = rect.y;
454 float left, float top,
363 nClipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument
453 nQuickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java139 public boolean pageUp(boolean top) { argument
/frameworks/rs/
H A DrsScriptC_LibGL.cpp226 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
233 if (top) {
234 *top = metrics->top;
242 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
248 SetMetrics(&metrics, left, right, top, bottom);
253 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
257 SetMetrics(&metrics, left, right, top, bottom);
225 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
241 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
252 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java158 void setExpandedBounds(int left, int top, int right, int bottom) {
159 if (!rectEquals(mExpandedBounds, left, top, right, bottom)) {
160 mExpandedBounds.set(left, top, right, bottom);
166 void setCollapsedBounds(int left, int top, int right, int bottom) {
167 if (!rectEquals(mCollapsedBounds, left, top, right, bottom)) {
168 mCollapsedBounds.set(left, top, right, bottom);
408 mCollapsedDrawY = mCollapsedBounds.top - mTextPaint.ascent();
440 mExpandedDrawY = mExpandedBounds.top - mTextPaint.ascent();
471 mCurrentBounds.top = lerp(mExpandedDrawY, mCollapsedDrawY,
720 private static boolean rectEquals(Rect r, int left, int top, in argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStreamingTextView.java244 float x, int top, int y, int bottom, Paint paint) {
243 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 DDrawableWrapper.java214 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
215 DrawableCompat.setHotspotBounds(mDrawable, left, top, right, bottom);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentWithAspectRatioTest.java82 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);
146 public MeasureBehavior withMargins(int left, int top, int right, int bottom) { argument
148 layoutParams.topMargin = top;
177 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
179 layouts.add(new Pair<>(right - left, bottom - top));
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp145 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/codec2/include/
H A DC2Buffer.h747 inline C2Rect(uint32_t width, uint32_t height, uint32_t left, uint32_t top) argument
748 : mLeft(left), mTop(top), mWidth(width), mHeight(height) { }
1362 * and fills the |addr| array with pointers to the first byte of the top-left pixel of each
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c133 u32 top; member in struct:__anon737
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 Dh264bsd_reconstruct.c97 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 DAMessage.cpp332 int32_t left, int32_t top, int32_t right, int32_t bottom) {
337 item->u.rectValue.mTop = top;
380 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const {
387 *top = item->u.rectValue.mTop;
330 setRect( const char *name, int32_t left, int32_t top, int32_t right, int32_t bottom) argument
378 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 DAppWidgetHostView.java153 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/text/
H A DTextLine.java210 * @param top the top of the line
214 void draw(Canvas c, float x, int top, int y, int bottom) { argument
217 drawRun(c, 0, mLen, false, x, top, y, bottom, false);
221 drawRun(c, 0, mLen, true, x, top, y, bottom, false);
253 h += drawRun(c, segstart, j, runIsRtl, x+h, top, y, bottom,
371 * @param top the top of the line
379 int limit, boolean runIsRtl, float x, int top, int y, int bottom,
384 handleRun(start, limit, limit, runIsRtl, c, x + w, top,
378 drawRun(Canvas c, int start, int limit, boolean runIsRtl, float x, int top, int y, int bottom, boolean needWidth) argument
717 handleText(TextPaint wp, int start, int end, int contextStart, int contextEnd, boolean runIsRtl, Canvas c, float x, int top, int y, int bottom, FontMetricsInt fmi, boolean needWidth, int offset) argument
809 handleReplacement(ReplacementSpan replacement, TextPaint wp, int start, int limit, boolean runIsRtl, Canvas c, float x, int top, int y, int bottom, FontMetricsInt fmi, boolean needWidth) argument
886 handleRun(int start, int measureLimit, int limit, boolean runIsRtl, Canvas c, float x, int top, int y, int bottom, FontMetricsInt fmi, boolean needWidth) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewStructure.java52 * @param top The view's top position, in pixels relative to its parent's top edge.
60 public abstract void setDimens(int left, int top, int scrollX, int scrollY, int width, argument
/frameworks/base/core/java/android/widget/
H A DActionMenuView.java43 * several top level options as action buttons while spilling remaining options over as
434 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
436 super.onLayout(changed, left, top, right, bottom);
441 final int midVertical = (bottom - top) / 2;
H A DActivityChooserView.java479 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
480 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DPalette.java733 * @param top The top of the rectangle used for the region.
738 public Palette.Builder setRegion(int left, int top, int right, int bottom) { argument
744 if (!mRegion.intersect(left, top, right, bottom)) {
813 region.top = (int) Math.floor(region.top * scale);
901 System.arraycopy(pixels, ((row + mRegion.top) * bitmapWidth) + mRegion.left,
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java113 * 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 DRegion.cpp60 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);
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp73 jfieldID top; member in struct:android::__anon1138
310 dirtyRect.top = env->GetIntField(dirtyRectObj, gRectClassInfo.top);
346 nativeCanvas->clipRect(dirtyRect.left, dirtyRect.top,
352 env->SetIntField(dirtyRectObj, gRectClassInfo.top, dirtyRect.top);
638 gRectClassInfo.top = GetFieldIDOrDie(env, clazz, "top", "I");

Completed in 2017 milliseconds

1234567891011>>