Searched defs:left (Results 201 - 225 of 367) sorted by relevance

1234567891011>>

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
273 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight());
276 mSummaryContent.layout(left, mStaticContent.getMeasuredHeight(), right,
283 mDynamicContent.layout(left, dynContentTop, right, dynContentBottom);
291 printButtonLeft = left + params.getMarginStart();
303 mEmbeddedContentContainer.layout(left, embContentTop, right, embContentBottom);
402 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java363 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
365 mTaskStackView.layout(left, top, left + getMeasuredWidth(), top + getMeasuredHeight());
370 int leftRightInsets = mSystemInsets.left + mSystemInsets.right;
374 int childLeft = left + mSystemInsets.left +
375 Math.max(0, (right - left - leftRightInsets - childWidth)) / 2;
385 mStackActionButton.layout(buttonBounds.left, buttonBounds.top, buttonBounds.right,
495 mStackActionButton.setLeftTopRightBottom(buttonBounds.left, buttonBounds.top,
790 int left
[all...]
H A DTaskViewHeader.java323 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
324 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardAffordanceView.java149 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
150 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java448 private void ortho(float left, float right, float bottom, float top, float znear, float zfar) { argument
449 mProjMatrix[0] = 2f / (right - left);
461 mProjMatrix[12] = -(right + left) / (right - left);
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioner.java381 if (startX < startBounds.left) {
433 nX = Math.min(Math.max(nX, mTmpRect.left), mTmpRect.right);
456 int left = mWindowOriginalBounds.left;
468 int width = right - left;
533 final boolean grows = width > (right - left) || height > (bottom - top);
544 updateDraggedBounds(left, top, right, bottom, width, height);
550 * @param left The original left bound before the user started dragging.
557 void updateDraggedBounds(int left, in argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java69 public int saveLayer(float left, float top, float right, float bottom, Paint paint, argument
75 public int saveLayer(float left, float top, float right, float bottom, Paint paint) { argument
90 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
96 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { argument
166 public void drawRect(float left, float top, float right, float bottom, Paint paint) { argument
174 public void drawOval(float left, float top, float right, float bottom, Paint paint) { argument
187 public void drawArc(float left, float top, float right, float bottom, float startAngle, argument
196 public void drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, argument
217 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) { argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java339 mLayerBounds.left, mLayerBounds.top,
529 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
530 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
597 // then go to previous layer, only if there are any left, and its flags
668 // upper left coordinates.
748 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
760 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
761 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
839 src.left, sr
[all...]
/frameworks/ex/framesequence/jni/
H A DFrameSequence_webp.cpp42 const int left = frame.x_offset; local
43 const int right = left + frame.width;
46 return x >= left && x < right && y >= top && y < bottom;
/frameworks/minikin/libs/minikin/
H A DCmapCoverage.cpp76 // Returns true if left and right intersect.
77 inline static bool intersects(const Range& left, const Range& right) { argument
78 return left.isValid() && right.isValid() &&
79 left.start < right.end && right.start < left.end;
82 // Returns merged range. This method assumes left and right are not invalid ranges and they have
84 static Range merge(const Range& left, const Range& right) { argument
85 return Range({ std::min(left.start, right.start), std::max(left.end, right.end) });
105 Range left local
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp128 int left = current->left; local
137 // iterating over previous span RTL, quit if it's too far left
138 if (prev.right <= left) break;
140 if (prev.right > left && prev.right < right) {
145 if (prev.left > left && prev.left < right) {
146 dst.add(Rect(prev.left, top, right, bottom));
147 right = prev.left;
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp207 position[i*6 + 0].x = r->left;
209 position[i*6 + 1].x = r->left;
213 position[i*6 + 3].x = r->left;
234 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) {
235 glScissor(left, bottom, right, top);
233 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
/frameworks/rs/
H A DrsFont.h53 int32_t left; member in struct:android::renderscript::Font::Rect
58 left = l;
/frameworks/support/design/src/android/support/design/widget/
H A DBaseTransientBottomBar.java211 void onLayoutChange(View view, int left, int top, int right, int bottom); argument
481 public void onLayoutChange(View view, int left, int top, int right, int bottom) {
H A DFloatingActionButton.java201 d + mShadowPadding.left + mShadowPadding.right,
488 rect.left += mShadowPadding.left;
722 rect.set(child.getLeft() + shadowPadding.left,
747 // If we're on the left edge, shift it the left
748 offsetLR = -padding.left;
816 public void setShadowPadding(int left, int top, int right, int bottom) { argument
817 mShadowPadding.set(left, top, right, bottom);
818 setPadding(left
[all...]
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DViewStructureImpl.java107 public void setDimens(int left, int top, int scrollX, int scrollY, int width, int height) { argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java437 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
505 onSizeChanged(0, 0, right - left, bottom - top);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuView.java308 // Divide any space left that wouldn't divide along cell boundaries
437 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
439 super.onLayout(changed, left, top, right, bottom);
449 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft();
496 final int midHorizontal = (right - left) / 2;
H A DActivityChooserView.java56 * The left button is an immediate action and allows one click activity choosing.
469 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
470 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DPalette.java725 * @param left The left side of the rectangle used for the region.
731 public Builder setRegion(int left, int top, int right, int bottom) { argument
737 if (!mRegion.intersect(left, top, right, bottom)) {
805 region.left = (int) Math.floor(region.left * scale);
894 System.arraycopy(pixels, ((row + mRegion.top) * bitmapWidth) + mRegion.left,
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c382 float left = (float)(*(uint32_t *)pCmdData) / (1 << 24); local
384 ALOGV("Reverb_Command EFFECT_CMD_SET_VOLUME: left %f, right %f ", left, right);
1674 // left input = (left dry * m_nLateGain) + right feedback from previous period
1710 // right input = (right dry * m_nLateGain) + left feedback from previous period
1783 // difference is feedback to left input (R - L)
1807 // ********** start early reflection generator, left
1842 // ********** end early reflection generator, left
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp313 if (mPreviewCrop.left != NOT_SET) {
349 CameraHardwareInterface::setCrop(int32_t left, int32_t top, int32_t right, int32_t bottom) { argument
356 mPreviewCrop.left = left;
961 if (hw->mPreviewCrop.left != NOT_SET) {
986 int left, int top, int right, int bottom)
990 hw->mPreviewCrop.left = left;
985 sSetCrop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java228 public void setBounds(int left, int top, int right, int bottom) { argument
229 mDrawLeft = left + (right-left - mWidth) / 2;
472 * 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned
492 * 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned
555 float left = (inWidth - outWidth) * horizontalAlignment;
556 float right = left + outWidth;
559 cropRectF = new RectF(left, top, right, bottom);
603 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left,
645 cropRect.left
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareImpl.java895 private boolean binderEquals(IInterface left, IInterface right) { argument
896 if (left == null) {
899 return right == null ? false : left.asBinder() == right.asBinder();
/frameworks/base/core/java/android/net/
H A DNetworkStats.java631 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument
633 return subtract(left, right, observer, cookie, null);
648 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, argument
650 long deltaRealtime = left.elapsedRealtime - right.elapsedRealtime;
653 observer.foundNonMonotonic(left, -1, right, -1, cookie);
661 if (recycle != null && recycle.capacity >= left.size) {
666 result = new NetworkStats(deltaRealtime, left.size);
668 for (int i = 0; i < left.size; i++) {
669 entry.iface = left.iface[i];
670 entry.uid = left
926 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument
1098 tunSubtract(int i, NetworkStats left, Entry right) argument
[all...]

Completed in 6020 milliseconds

1234567891011>>