Searched refs:top (Results 126 - 150 of 726) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/foundation/
H A DAHierarchicalStateMachine.cpp101 while (A.size() > 0 && B.size() > 0 && A.top() == B.top()) {
/frameworks/base/core/java/android/text/style/
H A DDrawableMarginSpan.java42 int top, int baseline, int bottom,
67 need = ht - (v + fm.bottom - fm.top - istartv);
41 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DDynamicDrawableSpan.java84 fm.top = fm.ascent;
94 int top, int y, int bottom, Paint paint) {
92 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
/frameworks/base/libs/hwui/
H A DUvMapper.h85 * - top = min. V
93 texCoords.top = lerp(mMinV, mMaxV, texCoords.top);
H A DLayer.cpp163 void Layer::updateDeferred(RenderNode* renderNode, int left, int top, int right, int bottom) { argument
166 const Rect r(left, top, right, bottom);
227 if (dirtyRect.isEmpty() || (dirtyRect.left <= 0 && dirtyRect.top <= 0 &&
237 renderer->setupFrameState(width, height, dirtyRect.left, dirtyRect.top,
259 dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom, !isBlend());
277 dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom, !isBlend());
H A DPathCache.h64 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);
H A DPathCache.cpp130 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...]
/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionCallback.aidl39 void onLayoutSurface(int left, int top, int right, int bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStackScrollerDecorView.java48 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
49 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DAmbientState.java116 public float getOverScrollAmount(boolean top) { argument
117 return top ? mOverScrollTopAmount : mOverScrollBottomAmount;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.cpp45 jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray)
50 int yStart = static_cast<int>(height * top);
43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistVisualizer.java49 int top = parentTop+node.getTop();
50 bounds = new Rect(left, top, left+node.getWidth(), top+node.getHeight());
157 int top = parentTop + root.getTop();
169 top -= root.getScrollY();
173 buildTextRects(child, matrixStackIndex, left, top);
186 canvas.drawRect(te.bounds.left - mTmpLocation[0], te.bounds.top - mTmpLocation[1],
195 canvas.drawRect(0, 0, te.bounds.right - te.bounds.left, te.bounds.bottom - te.bounds.top,
/frameworks/rs/
H A DrsScriptC_LibGL.cpp230 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/percent/src/android/support/percent/
H A DPercentRelativeLayout.java112 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
113 super.onLayout(changed, left, top, right, bottom);
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/
H A DDrawableCompatLollipop.java39 public static void setHotspotBounds(Drawable drawable, int left, int top, argument
41 drawable.setHotspotBounds( left, top, right, bottom);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h101 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area
104 Area(int left, int top, int right, int bottom, int weight): argument
105 left(left), top(top), right(right), bottom(bottom),
108 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
280 float top; member in struct:android::camera2::Parameters::CropRegion
/frameworks/base/core/java/android/transition/
H A DExplode.java61 int top = mTempLoc[1];
63 int bottom = top + view.getHeight();
64 transitionValues.values.put(PROPNAME_SCREEN_BOUNDS, new Rect(left, top, right, bottom));
92 return TranslationAnimationCreator.createAnimation(view, endValues, bounds.left, bounds.top,
104 int viewPosY = bounds.top;
114 endY += interruptedPosition[1] - bounds.top;
/frameworks/base/core/jni/
H A Dandroid_view_GraphicBuffer.cpp65 jfieldID top; member in struct:android::__anon929
164 rect.top = GET_INT(dirtyRect, gRectClassInfo.top);
196 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom);
200 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
293 gRectClassInfo.top = GetFieldIDOrDie(env, clazz, "top", "I");
H A Dandroid_view_TextureView.cpp45 jfieldID top; member in struct:android::__anon954
144 rect.top = GET_INT(dirtyRect, gRectClassInfo.top);
168 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom);
172 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
212 gRectClassInfo.top = GetFieldIDOrDie(env, clazz, "top", "I");
/frameworks/base/libs/hwui/tests/common/scenes/
H A DListViewAnimation.cpp71 int top = ((int)ci) * (cardSpacing + cardHeight) + pxOffset; variable
73 cardLeft, top, cardLeft + cardWidth, top + cardHeight);
120 sp<RenderNode> createCard(int cardId, int top) {
121 return TestUtils::createNode(cardLeft, top, cardLeft + cardWidth, top + cardHeight,
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DNumPadKey.java147 int top = getHeight() / 2 - totalHeight / 2;
150 int bottom = top + digitHeight;
151 mDigitText.layout(left, top, left + mDigitText.getMeasuredWidth(), bottom);
152 top = (int) (bottom - klondikeHeight * 0.35f);
153 bottom = top + klondikeHeight;
156 mKlondikeText.layout(left, top, left + mKlondikeText.getMeasuredWidth(), bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DDataUsageDetailView.java68 final String top;
74 top = res.getString(R.string.quick_settings_cellular_detail_data_warning,
80 top = res.getString(R.string.quick_settings_cellular_detail_data_used,
88 top = res.getString(R.string.quick_settings_cellular_detail_data_used,
107 infoTop.setVisibility(top != null ? View.VISIBLE : View.GONE);
108 infoTop.setText(top);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java193 /*package*/ static boolean nSetTop(long renderNode, int top) { argument
195 if (delegate != null && delegate.mTop != top) {
196 delegate.mTop = top;
223 /*package*/ static boolean nSetLeftTopRightBottom(long renderNode, int left, int top, int right, argument
226 if (delegate != null && (delegate.mLeft != left || delegate.mTop != top || delegate
229 delegate.mTop = top;
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp87 bounds.left, bounds.top, bounds.width(), bounds.height(),
105 bounds.left, bounds.top, bounds.width(), bounds.height(),
131 bounds.left, bounds.top, bounds.width(), bounds.height(),
139 bounds.left, bounds.top, bounds.width(), bounds.height(),
156 static_cast<int>(usage), bounds.left, bounds.top,
164 bounds.left, bounds.top, bounds.width(), bounds.height(),
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java222 final float py = bounds.top;
232 scaledBounds.top = bounds.top;
234 scaledBounds.bottom = bounds.top + Math.round(bounds.height() / scale);
244 final float cy = (bounds.top + bounds.bottom) / 2.0f;
272 return (padding.left | padding.top | padding.right | padding.bottom) != 0;
290 bounds.top + mOutlineInsets.top,
309 return Insets.of(opticalInsets.right, opticalInsets.top,
674 final int top
[all...]

Completed in 4974 milliseconds

1234567891011>>