/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayView.java | 551 /** 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 D | Event.java | 146 public float top; field in class:Event 425 * the top. In both cases, each event is assigned two numbers: N, and
|
H A D | EventGeometry.java | 48 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 D | Utils.java | 824 * 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 D | PhotoUI.java | 101 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 D | TextureViewHelper.java | 102 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 D | VideoUI.java | 63 public void onPreviewLayoutChanged(View v, int left, int top, int right, argument
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
H A D | TinyPlanetPreview.java | 103 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 D | ModeListView.java | 176 * 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 D | ModeSelectorItem.java | 132 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 133 super.onLayout(changed, left, top, right, bottom);
|
H A D | ModeTransitionView.java | 194 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 D | PreviewStatusListener.java | 49 public void onPreviewLayoutChanged(View v, int left, int top, int right, argument
|
H A D | ProgressOverlay.java | 45 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 D | RotateLayout.java | 54 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 D | StickyBottomCaptureLayout.java | 100 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 D | FilmstripView.java | 470 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 D | ModeOptions.java | 181 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 D | ContactListItemView.java | 611 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 D | InterpolatingLayout.java | 279 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 D | ProportionalLayout.java | 122 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 D | AlarmClockFragment.java | 431 public void onLayoutChange(View v, int left, int top, int right, int bottom, argument
|
H A D | AlarmRecyclerView.java | 53 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 55 super.onLayout(changed, left, top, right, bottom);
|
H A D | ClockFragment.java | 324 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 D | StopwatchFragment.java | 134 // 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 D | CircleView.java | 115 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 116 super.onLayout(changed, left, top, right, bottom);
|