Searched refs:top (Results 201 - 225 of 391) sorted by relevance

1234567891011>>

/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
H A DAttachmentGridItemView.java72 public void onLayoutChange(View v, int left, int top, int right, int bottom,
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DMediaPickerPanel.java111 public void onLayoutChange(View v, int left, int top, int right, int bottom,
168 protected void onLayout(final boolean changed, final int left, final int top, final int right, argument
170 int y = top;
212 fullHeight -= UiUtils.getMeasuredBoundsOnScreen(composeContainer).top;
/packages/apps/Music/src/com/android/music/
H A DVerticalTextSpinner.java219 int top = mSelectorDefaultY + (y - mDownY);
220 if (top <= mSelectorMinY && canScrollDown()) {
227 } else if (top >= mSelectorMaxY && canScrollUp()) {
235 mSelectorY = top;
271 /* The bounds of the top area where the text should be light */
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
H A DEmojiCategory.java413 if (lHitBox.top < rHitBox.top) {
415 } else if (lHitBox.top > rHitBox.top) {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
H A DFakeClusterNavigationActivity.java78 lp.setMargins(unobscured.left, unobscured.top, 0, 0);
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_feature_detection.cpp613 /*Compute the Harris corner strength of the chunk [left,top,right,bottom] of img and
614 store it into the corresponding region of s. left and top have to be at least 3 and
616 inline void db_HarrisStrengthChunk_f(float **s,const float * const *img,int left,int top,int right,int bottom, argument
637 for(i=top-2;i<top+2;i++) db_IxIyRow_f(Ix[i%5],Iy[i%5],img,i,left-2,chunk_width_p4);
640 for(i=top;i<=bottom;i++)
655 /*Compute the Harris corner strength of the chunk [left,top,left+123,bottom] of img and
656 store it into the corresponding region of s. left and top have to be at least 3 and
659 inline void db_HarrisStrengthChunk_u(float **s,const unsigned char * const *img,int left,int top,int bottom, argument
679 for(i=top
1056 db_MaxImage_Aligned16_f(float **img,int left,int top,int w,int h) argument
1332 db_MaxSuppressFilterChunk_5x5_Aligned16_f(float **sf,float **s,int left,int top,int bottom, float *temp) argument
1408 db_MaxSuppressFilter_5x5_Aligned16_f(float **sf,float **s,int left,int top,int right,int bottom, float *temp) argument
1424 db_CornersFromChunk(float **strength,int left,int top,int right,int bottom,float threshold,double *x_temp,double *y_temp,double *s_temp) argument
1496 db_ExtractCornersSaturated(float **strength,int left,int top,int right,int bottom, int bw,int bh,unsigned long area_factor, float threshold,double *temp_d, double *x_coord,double *y_coord,int *nr_corners) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/captureintent/
H A DCaptureIntentModule.java251 public void onPreviewLayoutChanged(View v, int left, int top, int right,
253 final Size previewLayoutSize = new Size(right - left, bottom - top);
/packages/apps/Camera2/src/com/android/camera/util/
H A DJpegUtilNative.java87 * @param cropTop top-edge of the bounds of the image to crop to before
219 Preconditions.checkState(crop.top < crop.bottom, "Invalid crop rectangle: " +
251 int cropTop = crop.top;
/packages/apps/DeskClock/src/com/android/deskclock/widget/
H A DCircleView.java115 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
116 super.onLayout(changed, left, top, right, bottom);
/packages/apps/Gallery2/src/com/android/photos/
H A DBitmapRegionTileSource.java181 (mOverlapRegion.top - mWantRegion.top) >> level, null);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DDeviceProfile.java486 return new Point(padding.left + padding.right, padding.top + padding.bottom);
527 // Pad the top and bottom of the workspace with search/hotseat bar sizes
544 mInsets.top,
546 mInsets.top + availableHeightPx);
550 mInsets.top + dropTargetBarSizePx + edgeMarginPx,
552 mInsets.top + availableHeightPx - hotseatBarSizePx
616 lp.topMargin = mInsets.top + edgeMarginPx;
622 workspace.setPadding(workspacePadding.left, workspacePadding.top, workspacePadding.right,
653 mInsets.top,
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
H A DWorkspaceAccessibilityHelper.java48 * Find the virtual view id corresponding to the top left corner of any drop region by which
151 mTempRect.top = mTempCords[1] + (int) (mTempRect.top * scale);
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
H A DDragPreviewProvider.java62 previewPadding = blurSizeOutline - bounds.left - bounds.top;
77 blurSizeOutline / 2 - bounds.top);
H A DPreloadIconDrawable.java128 bounds.top + PROGRESS_WIDTH + PROGRESS_GAP);
173 canvas.drawBitmap(mShadowBitmap, getBounds().left, getBounds().top, mProgressPaint);
/packages/apps/Launcher3/src/com/android/launcher3/notification/
H A DNotificationFooterLayout.java158 new PropertyListBuilder().scale(scale).translationY(toBounds.top - fromBounds.top
/packages/apps/Launcher3/src/com/android/launcher3/qsb/
H A DQsbContainerView.java67 public void setPadding(int left, int top, int right, int bottom) { argument
123 opts.putInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT, size.top);
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DFlingAnimation.java61 mFrom.top += yOffset;
174 dragView.setTranslationY(time * mUY + mFrom.top + mAY * time * time / 2);
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DWidgetHostViewLoader.java163 int yPaddingDips = (int) ((padding.top + padding.bottom) / density);
169 rect.top - yPaddingDips);
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DSecondLevelIndicatorControlBar.java81 // The baseline will be the first indicator button's top minus spacing.
173 boolean changed, int left, int top, int right, int bottom) {
177 int height = bottom - top;
172 onLayout( boolean changed, int left, int top, int right, int bottom) argument
H A DZoomControlWheel.java145 boolean changed, int left, int top, int right, int bottom) {
148 mCenterY = (bottom - top) / 2;
144 onLayout( boolean changed, int left, int top, int right, int bottom) argument
/packages/apps/TV/src/com/android/tv/menu/
H A DMenuView.java100 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
101 mLayoutManager.layout(left, top, right, bottom);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSlotView.java114 : (rect.top + rect.bottom - getHeight()) / 2;
123 int slotBegin = WIDE ? rect.left : rect.top;
320 canvas.translate(rect.left, rect.top, 0);
326 canvas, index, pass, rect.right - rect.left, rect.bottom - rect.top);
747 offset.top - getScrollY());
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java371 mTempTextureMatrix[13] = source.top;
385 source.top /= texHeight;
396 target.bottom = target.top + target.height() * (yBound - source.top) / source.height();
406 draw(params, GLES20.GL_TRIANGLE_STRIP, COUNT_FILL_VERTEX, target.left, target.top,
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayout.java410 r.top = (int) (r.top * scale + 0.5f);
888 final int top = vStartPadding + cellY * (mCellHeight + mHeightGap);
889 result.set(left, top, left + (spanX * mCellWidth + (spanX - 1) * mWidthGap),
890 top + (spanY * mCellHeight + (spanY - 1) * mHeightGap));
921 int top = getPaddingTop();
923 int bottom = top + getHeight() - getPaddingTop() - getPaddingBottom();
924 r.set(left, top, right, bottom);
1180 * Estimate where the top left cell of the dragged item will land if it is dropped.
1182 * @param originX The X value of the top lef
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboardView.java703 invalidKey.y + kbdPaddingTop - 1 <= clipRegion.top &&
755 (key.height - padding.top + 7 - padding.bottom) / 2
756 + (paint.getTextSize() - paint.descent()) / 2 + padding.top,
762 (key.height - padding.top - padding.bottom) / 2
763 + (paint.getTextSize() - paint.descent()) / 2 + padding.top,
773 drawableY = (key.height - padding.top + 9 - padding.bottom
774 - key.icon.getIntrinsicHeight()) / 2 + padding.top;
778 drawableY = (key.height - padding.top - padding.bottom
779 - key.icon.getIntrinsicHeight()) / 2 + padding.top;

Completed in 509 milliseconds

1234567891011>>