Searched defs:top (Results 1 - 25 of 133) sorted by path

123456

/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java551 /** Distance between the mFirstCell and the top of first fully visible hour. */
1033 // grid height (to get the y of the top of the visible
1316 mExpandAllDayRect.top = mExpandAllDayRect.bottom
1326 // Compute the top of our reachable view
1946 // If the selected hour is at least 2 time slots from the top and
2181 dest.top = (int) (mFirstCell - yTranslate);
2305 r.top = 0;
2313 r.top = DAY_HEADER_HEIGHT;
2332 r.top = 0;
2344 mRect.top
2434 drawCurrentTimeLine(Rect r, final int day, final int top, Canvas canvas, Paint p) argument
2753 saveSelectionPosition(float left, float top, float right, float bottom) argument
3092 drawEvents(int date, int dayIndex, int top, Canvas canvas, Paint p) argument
3555 drawEventText(StaticLayout eventLayout, Rect rect, Canvas canvas, int top, int bottom, boolean center) argument
[all...]
H A DEvent.java146 public float top; field in class:Event
425 * the top. In both cases, each event is assigned two numbers: N, and
H A DEventGeometry.java48 public boolean computeEventRect(int date, int left, int top, int cellWidth, Event event) { argument
87 event.top = top;
88 event.top += (int) (startTime * cellMinuteHeight);
89 event.top += startHour * mHourGap;
91 event.bottom = top;
96 if (event.bottom < event.top + mMinEventHeight) {
97 event.bottom = event.top + mMinEventHeight;
111 && event.top < selection.bottom && event.bottom >= selection.top) {
[all...]
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/Camera2/src/com/android/camera/
H A DPhotoUI.java101 public void onPreviewLayoutChanged(View v, int left, int top, int right, argument
104 int height = bottom - top;
229 params.setMargins((int) previewArea.left, (int) previewArea.top, 0, 0);
H A DTextureViewHelper.java102 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
106 int height = bottom - top;
117 mOnLayoutChangeListener.onLayoutChange(v, left, top, right, bottom, oldLeft, oldTop,
H A DVideoUI.java63 public void onPreviewLayoutChanged(View v, int left, int top, int right, argument
/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/Camera2/src/com/android/camera/ui/
H A DModeListView.java176 * There are popups on top of it.) start the delayed accordion animation
872 // Gets current view's top left position relative to the window.
1207 // Sets the top padding of the top item to 0.
1346 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1347 super.onLayout(changed, left, top, right, bottom);
1349 mHeight = bottom - top - getPaddingTop() - getPaddingBottom();
1395 // Align to the top right.
1398 mSettingsButton.setTranslationY(uncoveredPreviewArea.top + mSettingsButtonMargin);
1462 * If the view does not currently have focus, (e.g. There are popups on top o
[all...]
H A DModeSelectorItem.java132 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
133 super.onLayout(changed, left, top, right, bottom);
H A DModeTransitionView.java194 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
196 mHeight = bottom - top;
385 * @param iconId id of the icon that will appear on top the shade
398 * @param modeIconResourceId id of the icon that will appear on top the shade
412 * @param iconResId id of the icon that will appear on top the shade
H A DPreviewStatusListener.java49 public void onPreviewLayoutChanged(View v, int left, int top, int right, argument
H A DProgressOverlay.java45 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
46 super.onLayout(changed, left, top, right, bottom);
49 mCenterY = (bottom - top) / 2;
62 params.setMargins((int) area.left, (int) area.top, 0, 0);
H A DRotateLayout.java54 boolean change, int left, int top, int right, int bottom) {
56 int height = bottom - top;
53 onLayout( boolean change, int left, int top, int right, int bottom) argument
H A DStickyBottomCaptureLayout.java100 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
107 mModeOptionsOverlay.layout((int) uncoveredPreviewRect.left, (int) uncoveredPreviewRect.top,
123 mBottomBar.layout((int) bottomBarRect.left, (int) bottomBarRect.top,
178 y = uncoveredPreviewRect.top + roundedThumbnailViewPadding -
/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...]
H A DModeOptions.java181 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
207 super.onLayout(changed, left, top, right, bottom);
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListItemView.java611 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
612 final int height = bottom - top;
757 // Center text vertically, then apply the top offset.
762 // Work Profile icon align top
904 bounds.top += mBoundsWithoutHeader.top;
905 bounds.bottom = bounds.top + mBoundsWithoutHeader.height();
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DInterpolatingLayout.java279 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
313 child.layout(mOutRect.left, mOutRect.top, mOutRect.right, mOutRect.bottom);
H A DProportionalLayout.java122 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
128 child.layout(0, 0, right-left, bottom-top);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmClockFragment.java431 public void onLayoutChange(View v, int left, int top, int right, int bottom, argument
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);
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/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);

Completed in 256 milliseconds

123456