Searched refs:top (Results 276 - 300 of 559) sorted by relevance

<<11121314151617181920>>

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.h76 void setScissor(uint32_t left, uint32_t bottom, uint32_t right, uint32_t top);
/frameworks/rs/scriptc/
H A Drs_graphics.rsh394 * Any of left, right, top, bottom could be NULL
397 rsgMeasureText(const char *, int *left, int *right, int *top, int *bottom);
402 rsgMeasureText(rs_allocation, int *left, int *right, int *top, int *bottom);
H A Drs_matrix.rsh343 * identified by the six clipping planes <em>left, right, bottom, top,
356 * @param top
361 rsMatrixLoadOrtho(rs_matrix4x4 *m, float left, float right, float bottom, float top, float near, float far);
367 * identified by the six clipping planes <em>left, right, bottom, top,
377 * @param top
382 rsMatrixLoadFrustum(rs_matrix4x4 *m, float left, float right, float bottom, float top, float near, float far);
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
H A DRoundRectDrawable.java78 mBoundsF.set(bounds.left, bounds.top, bounds.right, bounds.bottom);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseRecyclerViewInstrumentationTest.java387 int top = 0;
408 layoutDecorated(view, 0, top, getDecoratedMeasuredWidth(view)
409 , top + getDecoratedMeasuredHeight(view));
410 top += view.getMeasuredHeight();
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix4f.java252 * @param t location of the top horizontal clipping plane
269 * values. Left and top clipping planes are set to 0. Near and
286 * @param t location of the top horizontal clipping plane
312 float top = near * (float)Math.tan((float) (fovy * Math.PI / 360.0f));
313 float bottom = -top;
315 float right = top * aspect;
316 loadFrustum(left, right, bottom, top, near, far);
322 * and (near, far), (bottom, top) mapping to (-1, 1) at z = 0
/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java456 float top = sharedElementBundle.getFloat(KEY_SCREEN_TOP);
462 top -= decorLoc[1];
468 tempRect.set(left, top, right, bottom);
472 float topInParent = tempRect.top;
489 top = topInParent - tempRect.top + parent.getScrollY();
491 bottom = top + height;
495 int y = Math.round(top);
760 sharedElementBundle.putFloat(KEY_SCREEN_TOP, tempBounds.top);
/frameworks/base/core/java/android/widget/
H A DSwitch.java878 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
879 super.onLayout(changed, left, top, right, bottom);
966 if (thumbInsets.top > padding.top) {
967 trackTop += thumbInsets.top - padding.top;
1011 final int switchInnerTop = switchTop + padding.top;
1054 final int top = (switchInnerTop + switchInnerBottom) / 2 - switchText.getHeight() / 2;
1055 canvas.translate(left, top);
/frameworks/base/core/java/android/view/
H A DView.java313 * expressed as a pair of <em>left</em> and <em>top</em> coordinates, and
322 * top, or Y, coordinate of the rectangle representing the view. These methods
363 * is expressed in pixels for the left, top, right and bottom parts of the view.
384 * pass is implemented in {@link #measure(int, int)} and is a top-down traversal
388 * {@link #layout(int,int,int,int)} and is also top-down. During
2587 * if the user swipes from the top of the screen.
2589 * system gestures, such as swiping from the top of the screen. These transient system bars
3025 * The distance in pixels from the top edge of this view's parent
3026 * to the top edge of this view.
3032 * The distance in pixels from the top edg
9913 onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument
10655 setTop(int top) argument
12202 postInvalidate(int left, int top, int right, int bottom) argument
12246 postInvalidateDelayed(long delayMilliseconds, int left, int top, int right, int bottom) argument
12297 postInvalidateOnAnimation(int left, int top, int right, int bottom) argument
15624 setOpticalFrame(int left, int top, int right, int bottom) argument
15702 onLayout(boolean changed, int left, int top, int right, int bottom) argument
15718 setFrame(int left, int top, int right, int bottom) argument
15781 setLeftTopRightBottom(int left, int top, int right, int bottom) argument
16461 setPadding(int left, int top, int right, int bottom) argument
16479 internalSetPadding(int left, int top, int right, int bottom) argument
16554 setPaddingRelative(int start, int top, int end, int bottom) argument
20207 int top; field in class:View.AttachInfo.InvalidateInfo
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DAccessibilityController.java210 sTempFloats[Matrix.MTRANS_Y] = windowState.mShownFrame.top;
278 args.argi2 = rectangle.top;
363 touchableRegionBounds.top,
484 windowFrame.offset(-windowFrame.left, -windowFrame.top);
486 windowBounds.set((int) windowFrame.left, (int) windowFrame.top,
496 windowFrame.offset(-windowState.mFrame.left, -windowState.mFrame.top);
498 windowBounds.set((int) windowFrame.left, (int) windowFrame.top,
865 final int top = args.argi2;
868 mCallbacks.onRectangleOnScreenRequested(left, top, right, bottom);
1132 windowFrame.offset(-windowState.mFrame.left, -windowState.mFrame.top);
[all...]
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp133 status_t err = addGainMap(/*top*/redTop,
151 err = addGainMap(/*top*/greenEvenTop,
169 err = addGainMap(/*top*/greenOddTop,
187 err = addGainMap(/*top*/blueTop,
206 status_t OpcodeListBuilder::addGainMap(uint32_t top, argument
248 uint32_t settings1[] = { top,
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp158 crop.top = mCropTop;
162 crop.left, crop.top, crop.right, crop.bottom, bufWidth, bufHeight);
/frameworks/base/core/java/android/transition/
H A DChangeImageTransform.java92 int top = view.getTop();
96 Rect bounds = new Rect(left, top, right, bottom);
/frameworks/base/core/java/android/view/inputmethod/
H A DSparseRectFArray.java45 * {@code rects[mKeys[0]].left}, {@code rects[mKeys[0]].top},
47 * {@code rects[mKeys[1]].left}, {@code rects[mKeys[1]].top},
49 * {@code rects[mKeys[2]].left}, {@code rects[mKeys[2]].top}, ....
195 * @param top top of the rectangle.
203 final float left, final float top, final float right, final float bottom,
209 mCoordinates[baseCoordinatesIndex + 1] = top;
202 append(final int key, final float left, final float top, final float right, final float bottom, final int flags) argument
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java145 public boolean pageUp(boolean top); argument
338 public boolean setFrame(int left, int top, int right, int bottom); argument
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp72 jfieldID top; member in struct:android::__anon874
128 int top = env->GetIntField(sourceCropObj, gRectClassInfo.top); local
131 Rect sourceCrop(left, top, right, bottom);
199 int top = env->GetIntField(sourceCropObj, gRectClassInfo.top); local
202 Rect sourceCrop(left, top, right, bottom);
673 gRectClassInfo.top = env->GetFieldID(rectClazz, "top", "I");
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfRenderer.java95 * top right corner for right-to-left locales.
355 if (destClip.left < 0 || destClip.top < 0
375 final int contentTop = (destClip != null) ? destClip.top : 0;
/frameworks/base/libs/hwui/
H A DDamageAccumulator.cpp213 void DamageAccumulator::dirty(float left, float top, float right, float bottom) { argument
214 mHead->pendingDirty.join(left, top, right, bottom);
H A DRenderProperties.cpp129 ALOGD("%*sTranslate (left, top) %d, %d", level * 2, "", mPrimitiveFields.mLeft, mPrimitiveFields.mTop);
168 (int)layerBounds.left, (int)layerBounds.top, (int)layerBounds.right, (int)layerBounds.bottom,
176 (int)clipRect.left, (int)clipRect.top, (int)clipRect.right, (int)clipRect.bottom);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java283 setNativeViewport(rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top);
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java265 * @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/Keyguard/src/com/android/keyguard/
H A DKeyguardViewStateManager.java212 private int getChallengeTopRelativeToFrame(KeyguardWidgetFrame frame, int top) { argument
214 mTmpPoint[1] = top;
H A DSlidingChallengeLayout.java50 // The drag handle is measured in dp above & below the top edge of the
117 private int mChallengeBottomBound; // Number of pixels from the top of the challenge view
222 * @param challengeTop Position of the top edge of the challenge view in px in the
254 // top half of the lock icon, plus another 25% to be sure
823 final int insetHeight = height - mInsets.top - mInsets.bottom;
890 - root.getPaddingTop() - mInsets.top;
921 - root.getPaddingTop() - mInsets.top;
961 // We use the top of the challenge view to position the handle, so
972 final int top = bottom - child.getMeasuredHeight();
973 child.layout(left, top, righ
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java67 r.top = (int) (r.top * scale + 0.5f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackView.java389 // Map the top edge of next task view into the local space of the current
649 mLayoutAlgorithm.mTaskRect.height() + mTmpRect.top + mTmpRect.bottom,
657 * This is called with the size of the space not including the top or right insets, or the
662 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
673 mLayoutAlgorithm.mTaskRect.top - mTmpRect.top,
687 (mLayoutAlgorithm.mTaskRect.top - mLayoutAlgorithm.mViewRect.top);
810 (mLayoutAlgorithm.mTaskRect.top - mLayoutAlgorithm.mViewRect.top);
[all...]

Completed in 1214 milliseconds

<<11121314151617181920>>