Searched refs:left (Results 101 - 125 of 292) sorted by relevance

1234567891011>>

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DScrollAdapterView.java72 * 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 DDragLayer.java165 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 DDayView.java168 //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 DDeleteDropTarget.java280 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 DBubbleTextView.java104 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 DDragView.java67 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 DTileImageView.java89 // 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 DAbstractSlotRenderer.java71 // on the left side.
116 frame.draw(canvas, x - padding.left, y - padding.top, width + padding.left + padding.right,
H A DPaper.java69 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 DTileImageViewAdapter.java175 (overlapRegion.left - wantRegion.left) >> level,
/packages/apps/Browser/src/com/android/browser/view/
H A DBasePieView.java109 * 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 DRotateLayout.java63 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 DTileInteractionTeaserView.java59 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 DImageTinyPlanet.java167 mDestRect.left = (sw - nsw) / 2;
169 mDestRect.right = sw - mDestRect.left;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DButtonSwitcher.java68 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 DPageProgressView.java95 mBounds.left = 0;
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DPyramid.cpp112 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 DTiledImageView.java169 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 DTiledImageView.java181 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 DPyramid.cpp112 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 DBummerView.java94 public void onLayoutChange(View v, int left, int top, int right, int bottom,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DMoreKeysKeyboard.java111 // 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 DEmojiCategory.java330 if (lHitBox.left < rHitBox.left) {
332 } else if (lHitBox.left > rHitBox.left) {
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DBummerView.java94 public void onLayoutChange(View v, int left, int top, int right, int bottom,
/packages/apps/Camera2/src/com/android/camera/widget/
H A DVideoRecordingHints.java169 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;

Completed in 437 milliseconds

1234567891011>>