/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | ScrollAdapterView.java | 72 * with scroller animation. {@link #setLowItemTransform(Animator)} transforms items that are left or 98 * the scale animation. To accomplish this set right/left and/or top/bottom padding values 115 * @param targetCenter final center position of view to the left edge of ScrollAdapterView 229 /** exclusive index of view on the left */ 832 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 833 super.onLayout(changed, left, top, right, bottom); 1088 * try to add one left/top child view, returning false tells caller can stop loop 1095 int left = Integer.MAX_VALUE; 1103 if (v.getLeft() < left) { 1104 left 1278 fillOneAxis(int left, int top, boolean leftToRight, boolean setInitialPos) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DragLayer.java | 165 flp.leftMargin += (newInsets.left - oldInsets.left); 426 int left = vX - x; 428 r.set(left, top, left + v.getMeasuredWidth(), top + v.getMeasuredHeight()); 536 final int fromX = r.left; 600 final int fromX = r.left; 631 * @param from The initial location of the view. Only the left and top parameters are used. 632 * @param to The final location of the view. Only the left and top parameters are used. This 654 final float dist = (float) Math.sqrt(Math.pow(to.left [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayView.java | 168 //Update the current time line every five minutes if the window is left open that long 544 /** Width of the time line (list of hours) to the left. */ 1311 mExpandAllDayRect.left = Math.max((mHoursWidth - allDayIconWidth) / 2, 1313 mExpandAllDayRect.right = Math.min(mExpandAllDayRect.left + allDayIconWidth, mHoursWidth 2183 dest.left = 0; 2266 // This isn't really the upper-left corner. It's the square area just 2267 // below the upper-left corner, above the hours and to the left of the 2296 // Computes the x position for the left side of the given day (base 0) 2307 r.left 2753 saveSelectionPosition(float left, float top, float right, float bottom) argument [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DeleteDropTarget.java | 280 final float x2 = from.left + offsetX; 281 final float x1 = from.left; // drag view t/l 283 final float x3 = to.left; // delete target t/l 353 mFrom.left += xOffset; 357 mFrom.left += (mVelocity.x * (curTime - mPrevTime) / 1000f); 360 dragView.setTranslationX(mFrom.left);
|
H A D | BubbleTextView.java | 104 protected boolean setFrame(int left, int top, int right, int bottom) { argument 105 if (getLeft() != left || getRight() != right || getTop() != top || getBottom() != bottom) { 108 return super.setFrame(left, top, right, bottom);
|
H A D | DragView.java | 67 int left, int top, int width, int height, final float initialScale) { 110 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height); 128 return mDragRegion.left; 66 DragView(Launcher launcher, Bitmap bitmap, int registrationX, int registrationY, int left, int top, int width, int height, final float initialScale) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | TileImageView.java | 89 // The offsets of the (left, top) of the upper-left tile to the (left, top) 194 boolean changeSize, int left, int top, int right, int bottom) { 195 super.onLayout(changeSize, left, top, right, bottom); 225 mOffsetX = Math.round(width / 2f + (range.left - centerX) * scale); 271 for (int x = r.left, right = r.right; x < right; x += size) { 297 // rectangle containing visible range. The left-top coordinate returned is 316 int left = (int) FloatMath.floor(cX - width / (2f * scale)); 318 int right = (int) FloatMath.ceil(left 193 onLayout( boolean changeSize, int left, int top, int right, int bottom) argument [all...] |
H A D | AbstractSlotRenderer.java | 71 // on the left side. 116 frame.draw(canvas, x - padding.left, y - padding.top, width + padding.left + padding.right,
|
H A D | Paper.java | 69 float left = mAnimationLeft.getValue(); 72 // We linearly interpolate the value [left, right] for the screenX 77 float t = ((range - x) * left - x * right) / range;
|
H A D | TileImageViewAdapter.java | 175 (overlapRegion.left - wantRegion.left) >> level,
|
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | BasePieView.java | 109 * needs to set top, left, width, height 112 public void layout(int anchorX, int anchorY, boolean left, float angle, argument 115 mListener.onLayout(anchorX, anchorY, left);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | RotateLayout.java | 63 boolean change, int left, int top, int right, int bottom) { 64 int width = right - left; 62 onLayout( boolean change, int left, int top, int right, int bottom) argument
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
H A D | TileInteractionTeaserView.java | 59 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 60 super.onLayout(changed, left, top, right, bottom);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageTinyPlanet.java | 167 mDestRect.left = (sw - nsw) / 2; 169 mDestRect.right = sw - mDestRect.left;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | ButtonSwitcher.java | 68 protected void onLayout(final boolean changed, final int left, final int top, final int right, argument 70 super.onLayout(changed, left, top, right, bottom);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | PageProgressView.java | 95 mBounds.left = 0;
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Pyramid.cpp | 112 void PyramidShort::BorderSpread(PyramidShort *pyr, int left, int right, argument 118 if (left || right) { 119 off = pyr->border - left; 127 for (w = left; w--;)
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
H A D | TiledImageView.java | 169 protected void onLayout(boolean changed, int left, int top, int right, argument 171 super.onLayout(changed, left, top, right, bottom); 265 cx += (mTempRectF.left / scale) - xoffset; 267 cx -= (mTempRectF.left / scale) - xoffset;
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
H A D | TiledImageView.java | 181 protected void onLayout(boolean changed, int left, int top, int right, argument 183 super.onLayout(changed, left, top, right, bottom); 277 cx += (mTempRectF.left / scale) - xoffset; 279 cx -= (mTempRectF.left / scale) - xoffset;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Pyramid.cpp | 112 void PyramidShort::BorderSpread(PyramidShort *pyr, int left, int right, argument 118 if (left || right) { 119 off = pyr->border - left; 127 for (w = left; w--;)
|
/packages/experimental/Bummer/src/com/android/dreams/bummer/ |
H A D | BummerView.java | 94 public void onLayoutChange(View v, int left, int top, int right, int bottom,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | MoreKeysKeyboard.java | 111 // If the left keys fill the left side of the parent key, entire more keys keyboard 112 // should be shifted to the right unless the parent key is on the left edge. 118 // should be shifted to the left unless the parent key is on the right edge. 192 int left = 0; 203 // Assign left key if available. 204 if (left < leftKeys) { 205 left++; 206 pos = -left; 291 // left/righ [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
H A D | EmojiCategory.java | 330 if (lHitBox.left < rHitBox.left) { 332 } else if (lHitBox.left > rHitBox.left) {
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | BummerView.java | 94 public void onLayoutChange(View v, int left, int top, int right, int bottom,
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | VideoRecordingHints.java | 169 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 170 super.onLayout(changed, left, top, right, bottom); 172 mCenterX = (right - left) / 2;
|