/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | ActivityTestMain.java | 419 // Stack on top. 595 LinearLayout top = new LinearLayout(this); 596 top.setOrientation(LinearLayout.VERTICAL); 606 top.addView(tv, new LinearLayout.LayoutParams( 612 top.addView(item, new LinearLayout.LayoutParams( 618 setContentView(scrollWrap(top));
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 140 src.left, src.top, 141 src.right, src.top, 153 dst.top = Math.min(Math.min(corners[1], corners[3]), Math.min(corners[5], corners[7])); 558 ty = dst.top - src.top * sy;
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 149 return hasEglAndroidImageCrop() && (crop.left == 0 && crop.top == 0); 900 // SurfaceFlinger expects the top of its window textures to be at a Y 955 outCrop.top += halfdh; 961 outCrop.left, outCrop.top, 1126 mCurrentCrop.top, mCurrentCrop.right, mCurrentCrop.bottom, 1222 EGL_IMAGE_CROP_TOP_ANDROID, crop.top,
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingToolbarLayout.java | 387 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 388 super.onLayout(changed, left, top, right, bottom); 424 bottom - top - mExpandedMarginBottom); 663 * <p>This scrim is only shown when we have been given a top system inset.</p> 732 * <p>This scrim is only shown when we have been given a top system inset.</p> 882 * @param top the top title margin in pixels 892 public void setExpandedTitleMargin(int start, int top, int end, int bottom) { argument 894 mExpandedMarginTop = top; 923 * @return the top expande [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ViewDragHelper.java | 75 * Edge flag indicating that the top edge should be affected. 167 * @param top New Y coordinate of the top edge of the view 171 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) {} argument 315 * @param top Attempted motion along the Y axis 316 * @param dy Proposed change in position for top 317 * @return The new clamped position for top 319 public int clampViewPositionVertical(View child, int top, int dy) { argument 526 * Animate the view <code>child</code> to the given (left, top) position. 536 * @param finalTop Final top positio 1414 dragTo(int left, int top, int dx, int dy) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 718 int left, int top, int right, int bottom) 723 hw->mPreviewCrop.top = top; 717 __set_crop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/java/android/text/ |
H A D | DynamicLayout.java | 146 // with top at 0 and bottom at whatever is natural, and 351 int top = reflowed.getLineTop(i) + startv; 353 top -= toppad; 354 ints[TOP] = top;
|
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuView.java | 42 * several top level options as action buttons while spilling remaining options over as 433 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 435 super.onLayout(changed, left, top, right, bottom); 440 final int midVertical = (bottom - top) / 2;
|
H A D | PopupWindow.java | 63 * arbitrary view. The popup window is a floating container that appears on top 130 * used for top/bottom anchoring states. 1164 * bottom-left corner of the popup is pinned at the top left corner of the 1181 * pinned at the top left corner of the anchor view. 1414 // These gravity settings put the view at the top left corner of the 1515 * window gets moved on top of the anchor. 1522 * @param yOffset absolute vertical offset from the top of the anchor 1546 height = displayFrame.bottom - displayFrame.top; 1549 // Let the window manager know to align the top to y. 1567 anchorHeight, drawingLocation[1], screenLocation[1], displayFrame.top, [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCaseView.java | 527 protected void onLayout (boolean changed, int left, int top, int right, int bottom) { argument 529 final float h = bottom-top; 533 final int cy = (int) (top + h * 0.5f);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
H A D | TileAdapter.java | 238 public void onLayoutChange(View v, int left, int top, int right, int bottom, 482 final int top = child.getTop() + params.topMargin + 485 mDrawable.setBounds(0, top, width, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarWindowView.java | 97 || insets.top != getPaddingTop() 105 // Drop top inset, apply left inset and pass through bottom inset. 110 insets.top = 0; 124 insets.top = 0;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 135 mTempCanvas.drawBitmap(mBuffer, -wantRegion.left, -wantRegion.top, mTempPaint); 492 (mOverlapRegion.top - mWantRegion.top) >> level, null);
|
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlDom.cpp | 63 stack->nodeStack.top()->addChild(std::move(node)); 129 //stack->nodeStack.top()->comment = std::move(stack->pendingComment); 143 Node* currentParent = stack->nodeStack.top(); 314 nodeStack.top()->addChild(std::move(newNode));
|
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 463 c->transforms.modelview.top().elements(), 468 c->transforms.projection.top().elements(), 473 c->transforms.texture[c->textures.active].top().elements(),
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
H A D | PreferenceFragment.java | 66 * A {@link PreferenceScreen} object should be at the top of the preference 787 int top = (int) ViewCompat.getY(view) + view.getHeight(); 788 mDivider.setBounds(0, top, width, top + mDividerHeight);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 41 * several top level options as action buttons while spilling remaining options over as 436 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 438 super.onLayout(changed, left, top, right, bottom); 443 final int midVertical = (bottom - top) / 2;
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
H A D | PopupMenuTest.java | 223 result.top += current.top; 311 int emulatedTapY = popupOnScreenXY[1] + popupPadding.top + 20;
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | PreferenceFragmentCompat.java | 54 * A {@link PreferenceScreen} object should be at the top of the preference 770 int top = (int) ViewCompat.getY(view) + view.getHeight(); 771 mDivider.setBounds(0, top, width, top + mDividerHeight);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | MultiSelectManager.java | 994 childRect.top += mView.computeVerticalScrollOffset(); 1300 // Negative values mean the pointer is at or before the top of the view, and 1303 // pointer is exactly at the top or bottom. 1454 // The current pointer (in absolute positioning from the top of the view). 1484 * For example, if the view is scrolled to the bottom, the top-left of the viewport 1508 * top-left of the viewport would have a relative origin of (0, 0), even though its 1581 recordLimits(mRowBounds, new Limits(absoluteChildRect.top, absoluteChildRect.bottom)); 1588 columnList.put(absoluteChildRect.top, adapterPosition); 1654 int rowStart = Collections.binarySearch(mRowBounds, new Limits(rect.top, rect.top)); [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 176 crop.top = mCropTop; 180 crop.left, crop.top, crop.right, crop.bottom, bufWidth, bufHeight);
|
/frameworks/av/media/libstagefright/yuv/ |
H A D | YUVImage.cpp | 203 int32_t srcStartY = srcRect.top; 285 int32_t srcStartY = srcRect.top;
|
/frameworks/base/core/java/android/view/ |
H A D | IWindowManager.aidl | 80 void setOverscan(int displayId, int left, int top, int right, int bottom);
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 1486 outBounds.set(mBoundsInParent.left, mBoundsInParent.top, 1504 mBoundsInParent.set(bounds.left, bounds.top, bounds.right, bounds.bottom); 1513 outBounds.set(mBoundsInScreen.left, mBoundsInScreen.top, 1540 mBoundsInScreen.set(bounds.left, bounds.top, bounds.right, bounds.bottom); 2751 parcel.writeInt(mBoundsInParent.top); 2756 parcel.writeInt(mBoundsInScreen.top); 2940 mBoundsInParent.top = parcel.readInt(); 2945 mBoundsInScreen.top = parcel.readInt();
|
/frameworks/base/core/java/android/view/animation/ |
H A D | AnimationSet.java | 337 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument 339 region.set(left, top, right, bottom);
|