Searched refs:top (Results 26 - 50 of 391) sorted by relevance

1234567891011>>

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DGeometry.h37 if (y > brect.top) brect.top = y;
45 if (rrect.top > brect.top) brect.top = rrect.top;
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
H A DTinyPlanetPreview.java103 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
104 super.onLayout(changed, left, top, right, bottom);
107 int height = bottom - top;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DBaseRecyclerView.java89 int top = getTop() - mScrollbar.getTop();
90 ev.offsetLocation(left, top);
94 ev.offsetLocation(-left, -top);
173 * @return the scroll top of this recycler view.
H A DDropTarget.java84 // These represent the visual top and left of drag view if a dragRect was provided.
86 // top, as the dragRect is in that case taken to be the entire dragView.
89 int top = y - yOffset;
93 res[1] = top + dragView.getDragRegion().height() / 2;
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DFastScrollThumbDrawable.java58 mPath.addRoundRect(bounds.left, bounds.top, bounds.left + diameter, bounds.top + diameter,
62 sMatrix.setRotate(-45, bounds.left + r, bounds.top + r);
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DTransformingTouchDelegate.java51 public void setBounds(int left, int top, int right, int bottom) { argument
52 mBounds.set(left, top, right, bottom);
103 event.offsetLocation(-mBounds.left, -mBounds.top);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
H A Ddic_node_priority_queue.h74 mDicNodePool.placeBackInstance(mDicNodesQueue.top());
87 DicNode *node = mDicNodesQueue.top();
119 DicNode *worstNode = mDicNodesQueue.top();
/packages/apps/Camera2/src/com/android/camera/ui/
H A DPreviewStatusListener.java49 public void onPreviewLayoutChanged(View v, int left, int top, int right, argument
/packages/apps/DevCamera/src/com/android/devcamera/
H A DNormalizedFace.java53 bounds.top = (float) (face.getBounds().top - offY) / dY;
87 float oldTop = bounds.top;
88 bounds.top = 1f - bounds.bottom;
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
H A DRenderOverlay.java40 void layout(int left, int top, int right, int bottom); argument
126 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
128 super.onLayout(changed, left, top, right, bottom);
133 renderer.layout(left, top, right, bottom);
H A DOverlayRenderer.java69 public void layout(int left, int top, int right, int bottom) { argument
72 mTop = top;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropMath.java44 r.left, r.top,
45 r.right, r.top,
63 return !(x > r.right || x < r.left || y > r.bottom || y < r.top);
80 r.top = (y < r.top) ? y : r.top;
101 array[x + 1] = GeometryMathUtils.clamp(array[x + 1], imageBound.top, imageBound.bottom);
199 r.top = r.centerY() - finalH / 2;
200 r.bottom = r.top + finalH;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGLView.java196 return mBounds.bottom - mBounds.top;
272 int yoffset = component.mBounds.top - mScrollY;
299 int top = rect.top;
301 event.offsetLocation(-left, -top);
303 event.offsetLocation(left, top);
306 event.offsetLocation(left, top);
348 public void layout(int left, int top, int right, int bottom) { argument
349 boolean sizeChanged = setBounds(left, top, right, bottom);
355 onLayout(sizeChanged, left, top, righ
358 setBounds(int left, int top, int right, int bottom) argument
399 onLayout( boolean changeSize, int left, int top, int right, int bottom) argument
[all...]
H A DScrollBarView.java56 boolean changed, int left, int top, int right, int bottom) {
58 mBarHeight = bottom - top;
55 onLayout( boolean changed, int left, int top, int right, int bottom) argument
/packages/apps/Launcher3/src/com/android/launcher3/anim/
H A DCircleRevealOutlineProvider.java49 mOutline.top = (int) (mCenterY - mOutlineRadius);
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DConversationFastScroller.java281 final int verticalScrollStart = mContainer.top + mThumbHeight / 2;
295 * The top of the conversation is 0, the bottom is 1, the exact middle is 0.5, and so on.
402 final int verticalScrollStart = mContainer.top + (mThumbHeight / 2);
423 public void onLayoutChange(View v, int left, int top, int right, int bottom, argument
429 // exclude the top padding, because it's usually hidden behind the conversation action bar.
430 mContainer.set(left, top + mRv.getPaddingTop(), right, bottom);
442 int top = mContainer.top;
445 mTrackImageView.layout(left, top, right, bottom);
454 int top
[all...]
/packages/apps/Settings/src/com/android/settings/widget/
H A DChartView.java119 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom);
124 child.layout(childRect.left, childRect.top, childRect.right,
129 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom);
139 sweep.layout(childRect.left, childRect.top, childRect.right, childRect.bottom);
147 parentRect.top += sweepMargins.top + (int) sweep.getPoint();
148 parentRect.bottom = parentRect.top;
157 parentRect.top += sweepMargins.top;
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
H A Dsuggestion_results.cpp29 const SuggestedWord &suggestedWord = mSuggestedWords.top();
71 const SuggestedWord &mWorstSuggestion = mSuggestedWords.top();
86 const SuggestedWord &suggestedWord = copyOfSuggestedWords.top();
97 suggestedWords.push_back(copyOfSuggestedWords.top());
/packages/apps/Camera2/src/com/android/camera/
H A DCaptureLayoutHelper.java58 * rect, as well as whether bottom bar should be overlaid on top of preview.
70 * This indicates whether bottom bar should overlay itself on top of preview.
181 // Reverse portrait, bottom bar align top.
188 mPositionConfiguration.mPreviewRect.top,
190 mPositionConfiguration.mBottomBarRect.top);
196 mPositionConfiguration.mPreviewRect.top,
201 mPositionConfiguration.mPreviewRect.top,
209 * Returns whether the bottom bar should be transparent and overlaid on top
307 float top = bottom - previewLongerEdge;
308 config.mPreviewRect.set(0, top, previewShorterEdg
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DStateManager.java61 ActivityState top = getTopState();
62 top.transitionOnNextPause(top.getClass(), klass,
64 if (mIsResumed) top.onPause();
170 // Remove all the states that are on top of the bottom PhotoPage state
199 + " is not at the top of the stack: " + state + ", "
204 // Remove the top state.
207 ActivityState top = !mStack.isEmpty() ? mStack.peek().activityState : null;
209 if (top != null) {
210 state.transitionOnNextPause(state.getClass(), top
[all...]
/packages/apps/TV/src/com/android/tv/tuner/layout/
H A DScaledLayout.java44 if (lhs.top != rhs.top) {
45 return lhs.top - rhs.top;
193 mRectArray[i].top -= overflowedHeight;
194 if (mRectArray[i].top < 0) {
195 mRectArray[i].bottom -= mRectArray[i].top;
196 mRectArray[i].top = 0;
199 mRectArray[i].top -= mRectArray[i].bottom - height;
210 // Step 1. Sort rectangles by position (top
[all...]
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
H A DSystemUiObserver.java56 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
62 super.onLayout(changed, left, top, right, bottom);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmRecyclerView.java53 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
55 super.onLayout(changed, left, top, right, bottom);
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DBandSelectionUiTest.java43 Point end = new Point(dirListBounds.left + 1, dirListBounds.top + 1);
56 Point end = new Point(dirListBounds.left + 1, dirListBounds.top + 1);
/packages/apps/Launcher3/src/com/android/launcher3/qsb/
H A DQsbWidgetHostView.java57 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
59 super.onLayout(changed, left, top, right, bottom);

Completed in 331 milliseconds

1234567891011>>