Home
last modified time | relevance | path

Searched refs:right (Results 1 – 25 of 54) sorted by relevance

123

/development/tools/winscope/src/
Dtransform_sf.js40 right: size.w,
47 var crop = layer.crop || {left: 0, top: 0, right: 0 , bottom:0};
50 right: crop.right || 0,
59 right: Math.min(crop.right, bounds.right),
66 var right = rect.right || 0;
71 return (right - left) <= 0 || (bottom - top) <= 0;
86 return parentBounds || { left: 0, right: 0, top: 0, bottom: 0 };
91 right: bounds.right - (bounds.left - x),
163 bounds = {width: layer.sourceBounds.right, height: layer.sourceBounds.bottom};
239 transform_layer(r, {parentBounds: {left: 0, right: 0, top: 0, bottom: 0}, property
Dtransform_wm.js27 right: r.right || 0,
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DCube.java22 …public Cube(GLWorld world, float left, float bottom, float back, float right, float top, float fro… in Cube() argument
25 GLVertex rightBottomBack = addVertex(right, bottom, back); in Cube()
27 GLVertex rightTopBack = addVertex(right, top, back); in Cube()
29 GLVertex rightBottomFront = addVertex(right, bottom, front); in Cube()
31 GLVertex rightTopFront = addVertex(right, top, front); in Cube()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixStack.java42 public void glFrustumf(float left, float right, float bottom, float top, in glFrustumf() argument
44 Matrix.frustumM(mMatrix, mTop, left, right, bottom, top, near, far); in glFrustumf()
47 public void glFrustumx(int left, int right, int bottom, int top, int near, in glFrustumx() argument
49 glFrustumf(fixedToFloat(left),fixedToFloat(right), in glFrustumx()
102 public void glOrthof(float left, float right, float bottom, float top, in glOrthof() argument
104 Matrix.orthoM(mMatrix, mTop, left, right, bottom, top, near, far); in glOrthof()
107 public void glOrthox(int left, int right, int bottom, int top, int near, in glOrthox() argument
109 glOrthof(fixedToFloat(left), fixedToFloat(right), in glOrthox()
DMatrixTrackingGL.java260 public void glFrustumf(float left, float right, float bottom, float top, in glFrustumf() argument
262 mCurrent.glFrustumf(left, right, bottom, top, near, far); in glFrustumf()
263 mgl.glFrustumf(left, right, bottom, top, near, far); in glFrustumf()
267 public void glFrustumx(int left, int right, int bottom, int top, int near, in glFrustumx() argument
269 mCurrent.glFrustumx(left, right, bottom, top, near, far); in glFrustumx()
270 mgl.glFrustumx(left, right, bottom, top, near, far); in glFrustumx()
490 public void glOrthof(float left, float right, float bottom, float top, in glOrthof() argument
492 mCurrent.glOrthof(left, right, bottom, top, near, far); in glOrthof()
493 mgl.glOrthof(left, right, bottom, top, near, far); in glOrthof()
497 public void glOrthox(int left, int right, int bottom, int top, int near, in glOrthox() argument
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DCustomLayout.java133 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
138 int rightPos = right - left - getPaddingRight(); in onLayout()
159 mTmpContainerRect.right = leftPos + width + lp.rightMargin; in onLayout()
160 leftPos = mTmpContainerRect.right; in onLayout()
162 mTmpContainerRect.right = rightPos - lp.rightMargin; in onLayout()
167 mTmpContainerRect.right = middleRight - lp.rightMargin; in onLayout()
178 mTmpChildRect.right, mTmpChildRect.bottom); in onLayout()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabStrip.java129 int right = selectedTitle.getRight(); in onDraw() local
142 right = (int) (mSelectionOffset * nextTitle.getRight() + in onDraw()
143 (1.0f - mSelectionOffset) * right); in onDraw()
148 canvas.drawRect(left, height - mSelectedIndicatorThickness, right, in onDraw()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DPathAnimations.java121 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, in onLayoutChange() argument
221 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
222 super.onLayout(changed, left, top, right, bottom); in onLayout()
225 float scaleWidth = (right-left)/TRAVERSE_PATH_SIZE; in onLayout()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java328 mCurrentViewport.right, in drawAxes()
372 mAxisYLinesBuffer[i * 4 + 2] = mContentRect.right; in drawAxes()
577 canvas.translate(2 * mContentRect.left - mContentRect.right, mContentRect.bottom); in drawEdgeEffectsUnclipped()
599 canvas.translate(mContentRect.right, mContentRect.top); in drawEdgeEffectsUnclipped()
688 mCurrentViewport.right = mCurrentViewport.left + newWidth;
708 mCurrentViewport.right = Math.max(Math.nextUp(mCurrentViewport.left), in constrainViewport()
709 Math.min(AXIS_X_MAX, mCurrentViewport.right)); in constrainViewport()
757 || mCurrentViewport.right < AXIS_X_MAX;
855 || mCurrentViewport.right < AXIS_X_MAX); in computeScroll()
975 (mCurrentViewport.right + mCurrentViewport.left) / 2, in zoomIn()
[all …]
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java120 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
127 int minSize = Math.max(right - left, bottom - top) + mZoomLength; in onLayout()
/development/ide/eclipse/
DREADME.importing-to-eclipse.txt15 You will need to re-index for the changes to get picked up (right click project
21 You will need to re-index for the changes to get picked up (right click project
/development/samples/USB/MissileLauncher/
DREADME.txt2 You control the left/right/up/down orientation of the launcher using the accelerometer.
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DColorFilters.java50 int x = r.right + 12; in addToTheRight()
129 float x = (r.left + r.right) * 0.5f; in drawSample()
/development/host/windows/usb/api/
DBUILDME.TXT37 When you're done with the WDK build environment, don't forget to right-click the
38 OACR icon (in the lower-right notification area of the taskbar) and choose
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DSkewableTextView.java81 (int) (mTempRect.right +.5f), (int) (mTempRect.bottom + .5f)); in invalidateSkewedBounds()
/development/samples/Home/src/com/example/android/home/
DApplicationsStackLayout.java134 final int right = getWidth(); in onDraw() local
139 mDrawRect.set(0, 0, right, mFavoritesStart); in onDraw()
149 mDrawRect.set(0, mFavoritesStart, right, mFavoritesEnd); in onDraw()
/development/host/windows/usb/winusb/
DBUILDME.TXT40 When you're done with the WDK build environment, don't forget to right-click the
41 OACR icon (in the lower-right notification area of the taskbar) and choose
/development/host/windows/usb/adb_winapi_test/
DBUILDME.TXT40 When you're done with the WDK build environment, don't forget to right-click the
41 OACR icon (in the lower-right notification area of the taskbar) and choose
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
DAppUsageStatisticsFragment.java197 public int compare(UsageStats left, UsageStats right) { in compare() argument
198 return Long.compare(right.getLastTimeUsed(), left.getLastTimeUsed()); in compare()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmAdapter.java177 int right = parent.getWidth() - parent.getPaddingRight(); in onDrawOver() local
184 mDivider.setBounds(left, top, right, bottom); in onDrawOver()

123