Searched refs:top (Results 251 - 275 of 391) sorted by relevance

<<111213141516

/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSlideshowPage.java94 protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
95 mSlideshowView.layout(0, 0, right - left, bottom - top);
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
H A DMtpImageView.java185 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
186 super.onLayout(changed, left, top, right, bottom);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherAppWidgetHostView.java361 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
363 super.onLayout(changed, left, top, right, bottom);
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
H A DPageIndicatorDots.java277 sTempRect.top = getHeight() * 0.5f - mDotRadius;
309 (int) activeRect.top,
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DVideoThumbnailView.java335 protected void onLayout(final boolean changed, final int left, final int top, final int right, argument
340 child.layout(0, 0, right - left, bottom - top);
/packages/apps/TV/src/com/android/tv/guide/
H A DProgramGrid.java336 int top = mLayoutManager.getPaddingTop();
342 if ((childTop + childBottom) / 2 > top) {
/packages/apps/Terminal/src/com/android/terminal/
H A DTerminalView.java99 charTop = (int) Math.ceil(fm.top);
104 charHeight = (int) Math.ceil(fm.descent - fm.top);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_writing_helper.cpp227 const int ptNodePos = priorityQueue.top().getDictPos();
275 const int entryPos = priorityQueue.top().getDictPos();
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_lib.h118 NJ_UINT32 top; member in struct:__anon99
214 NJ_UINT32 top; member in struct:__anon106
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
H A DBandController.java420 // The current pointer (in absolute positioning from the top of the view).
451 * For example, if the view is scrolled to the bottom, the top-left of the viewport
475 * top-left of the viewport would have a relative origin of (0, 0), even though its
548 recordLimits(mRowBounds, new Limits(absoluteChildRect.top, absoluteChildRect.bottom));
555 columnList.put(absoluteChildRect.top, adapterPosition);
621 int rowStart = Collections.binarySearch(mRowBounds, new Limits(rect.top, rect.top));
734 * of item columns and the top- and bottom sides of item rows so that it can be determined
927 rect.top = getCoordinateValue(
1090 childRect.top
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DCropImage.java448 if (faceRect.top < 0) {
449 faceRect.inset(-faceRect.top, -faceRect.top);
565 protected void onLayout(boolean changed, int left, int top, argument
567 super.onLayout(changed, left, top, right, bottom);
743 int panDeltaY1 = Math.max(0, mTop - r.top);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndldic.c952 loctset->loct.top = from;
1095 loctset->loct.top = from;
1112 p = ptr + (loctset->loct.top * NJ_INDEX_SIZE);
1114 for (i = (NJ_UINT16)loctset->loct.top; i <= (NJ_UINT16)loctset->loct.bottom; i++) {
2029 psrhCache->storebuff[abIdx].top = from;
2062 psrhCache->storebuff[abIdx].top = from;
2103 p = ptr + (psrhCache->storebuff[m].top * NJ_INDEX_SIZE);
2124 (NJ_UINT16)(psrhCache->storebuff[m].top),
2140 psrhCache->storebuff[abIdx].top = from;
2166 (NJ_UINT16)(psrhCache->storebuff[m].top),
[all...]
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthWeekEventsView.java295 int top = DAY_SEPARATOR_INNER_WIDTH + DNA_MARGIN + DNA_ALL_DAY_HEIGHT + 1;
297 mDna = Utils.createDNAStrands(mFirstJulianDay, unsortedEvents, top, bottom,
561 r.top = DAY_SEPARATOR_INNER_WIDTH + (TODAY_HIGHLIGHT_WIDTH / 2);
627 r.top = DAY_SEPARATOR_INNER_WIDTH;
667 r.top = DAY_SEPARATOR_INNER_WIDTH;
780 // top of box
812 * @param x the top left corner for this event's color chip
813 * @param y the top left corner for this event's color chip
826 * (top of box)
883 r.top
[all...]
/packages/apps/Camera2/src/com/android/camera/widget/
H A DFilmstripView.java470 private void layoutAt(int left, int top) { argument
471 mView.layout(left, top, left + mView.getMeasuredWidth(),
472 top + mView.getMeasuredHeight());
481 r.top = mView.getY();
483 r.bottom = r.top + mView.getHeight() * mView.getScaleY();
506 int top = (int) (drawArea.centerY() - (mView.getMeasuredHeight() / 2) * scale);
507 layoutAt(left, top);
539 * Apply a scale factor (i.e. {@code postScale}) on top of current scale at
547 // Pivot point is top left of the view, so we need to translate
560 float top
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DUtils.java824 * clearly visible on top of it. For devices prior to Jellybean, does nothing, as the
907 * into the first 1/8th of the space between top and bottom.</li>
909 * compressed into the last 1/8th of the space between top and bottom</li>
918 * @param top The lowest y value the dna should be drawn at
925 ArrayList<Event> events, int top, int bottom, int minPixels, int[] dayXs,
942 || bottom - top < 8 || minPixels < 0) {
945 + Arrays.toString(dayXs) + " bot-top:" + (bottom - top) + " minPixels:"
961 int minMinutes = minPixels * 4 * WORK_DAY_MINUTES / (3 * (bottom - top));
1137 weaveDNAStrands(segments, firstJulianDay, strands, top, botto
924 createDNAStrands(int firstJulianDay, ArrayList<Event> events, int top, int bottom, int minPixels, int[] dayXs, Context context) argument
1165 weaveDNAStrands(LinkedList<DNASegment> segments, int firstJulianDay, HashMap<Integer, DNAStrand> strands, int top, int bottom, int[] dayXs) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/folder/
H A DFolder.java1126 int top = Math.min(Math.max(sTempRect.top, centeredTop),
1142 top = sTempRect.top + (sTempRect.height() - height) / 2;
1148 top = Math.max(folderBounds.top, Math.min(top, folderBounds.bottom - height));
1152 int folderPivotY = height / 2 + (centeredTop - top);
1164 lp.y = top;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKey.java114 /** X coordinate of the top-left corner of the key in the keyboard layout, excluding the gap. */
116 /** Y coordinate of the top-left corner of the key in the keyboard layout, excluding the gap. */
245 * Create a key with the given top-left coordinate and extract its attributes from a key
590 mHitBox.top = params.mTopPadding;
864 * Gets the x-coordinate of the top-left corner of the key in pixels, excluding the gap.
865 * @return The x-coordinate of the top-left corner of the key in pixels, excluding the gap.
872 * Gets the y-coordinate of the top-left corner of the key in pixels, excluding the gap.
873 * @return The y-coordinate of the top-left corner of the key in pixels, excluding the gap.
943 final int top = getY();
944 final int bottom = top
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/
H A DClockFragment.java324 public void onLayoutChange(View v, int left, int top, int right, int bottom, argument
332 * the top for the home timezone if "Automatic home clock" is turned on in settings and the
334 * If the phone is in portrait mode it will also include the main clock at the top.
387 // If showing home clock, put it at the top
467 // Supply top and bottom padding dynamically.
470 final int top = position == 0 && !isPortrait ? 0 : padding;
474 itemView.setPadding(left, top, right, bottom);
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchFragment.java134 // In landscape layouts, the laps list can reach the top of the screen and thus can cause
434 final int top = sceneRoot.getPaddingTop();
437 sceneRoot.setPadding(left, top, right, bottom);
653 public void onLayoutChange(View v, int left, int top, int right, int bottom, argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DImageLoader.java274 bounds.top = imageBounds.top;
290 + bounds.left + "," + bounds.top + " - "
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DSpline.java143 int top = (int) centerY - mCurveHandleSize / 2;
144 indicator.setBounds(left, top, left + mCurveHandleSize, top + mCurveHandleSize);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DUtil.java565 Log.v(TAG, msg + "=(" + rect.left + "," + rect.top
571 rect.top = Math.round(rectF.top);
/packages/apps/Messaging/jni/
H A DGifTranscoder.cpp152 // Many GIFs use DISPOSE_DO_NOT to make images draw on top of previous images. They can also
397 // Skip drawing transparent pixels if this image renders on top of the last one
414 int top,
419 ASSERT(top + height <= imageHeight, "Rectangle is outside image bounds");
423 ColorARGB* renderPixel = getPixel(renderBuffer, imageWidth, x + left, y + top);
410 fillRect(ColorARGB* renderBuffer, int imageWidth, int imageHeight, int left, int top, int width, int height, ColorARGB color) argument
/packages/apps/Settings/src/com/android/settings/users/
H A DEditUserPhotoController.java323 final int top = (fullImage.getHeight() - squareSize) / 2;
324 Rect rectSource = new Rect(left, top,
325 left + squareSize, top + squareSize);
/packages/apps/TV/src/com/android/tv/recommendation/
H A DNotificationService.java477 rect.top = rect.bottom - scaledLogo.getHeight();
481 rect.top = rect.bottom - scaledLogo.getHeight();
486 rect.top = rect.bottom - scaledLogo.getHeight();

Completed in 698 milliseconds

<<111213141516