/frameworks/base/libs/hwui/ |
H A D | Matrix.cpp | 396 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 399 data[kScaleX] = 2.0f / (right - left); 402 data[kTranslateX] = -(right + left) / (right - left); 453 MUL_ADD_STORE(r.right, data[kScaleX], data[kTranslateX]); 457 if (r.left > r.right) { 459 r.left = r.right; 460 r.right = x; 474 r.right, r.top, 475 r.right, [all...] |
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 45 && MathUtils::areEqual((a).right, (b).right) \ 178 snapshot->setClip(clip.left, clip.top, clip.right, clip.bottom); 210 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument 220 props.setLeftTopRightBottom(left, top, right, bottom); 232 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument 242 props.setLeftTopRightBottom(left, top, right, bottom); 260 static sp<RenderNode> createSkiaNode(int left, int top, int right, int bottom, argument 273 props.setLeftTopRightBottom(left, top, right, bottom);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 65 * @param rhs The float array that holds the right-hand-side matrix. 88 * @param rhsVec The float array that holds the right-hand-side vector. 263 * @param right 270 float left, float right, float bottom, float top, 272 if (left == right) { 273 throw new IllegalArgumentException("left == right"); 282 final float r_width = 1.0f / (right - left); 288 final float tx = -(right + left) * r_width; 317 * @param right 324 float left, float right, floa 269 orthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far) argument 323 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintPreviewController.java | 217 public void setPadding(int left, int top , int right, int bottom) { argument 218 mRecyclerView.setPadding(left, top, right, bottom);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
H A D | BatteryMeterDrawableBase.java | 217 public void setBounds(int left, int top, int right, int bottom) { argument 218 super.setBounds(left, top, right, bottom); 220 mWidth = right - left; 275 mFrame.right - Math.round(width * 0.25f), 280 mButtonFrame.right -= mSubpixelSmoothingRight; 286 mFrame.right -= mSubpixelSmoothingRight; 304 mShapePath.lineTo(mButtonFrame.right, mButtonFrame.top); 305 mShapePath.lineTo(mButtonFrame.right, mFrame.top); 306 mShapePath.lineTo(mFrame.right, mFrame.top); 307 mShapePath.lineTo(mFrame.right, mFram [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 528 final float w = right-left;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSAnimator.java | 188 // Move the quick tile right from its location to the new one. 361 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
|
/frameworks/base/packages/WallpaperCropper/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);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 365 float right, float bottom, 373 return canvasDelegate.clipRect(left, top, right, bottom, regionOp); 421 bounds.right = rect.x + rect.width; 455 float right, float bottom) { 363 nClipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument 453 nQuickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
|
/frameworks/rs/ |
H A D | rsScriptC_LibGL.cpp | 226 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 230 if (right) { 231 *right = metrics->right; 242 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 248 SetMetrics(&metrics, left, right, top, bottom); 253 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) { 257 SetMetrics(&metrics, left, right, top, bottom); 225 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument 241 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument 252 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingTextHelper.java | 158 void setExpandedBounds(int left, int top, int right, int bottom) { 159 if (!rectEquals(mExpandedBounds, left, top, right, bottom)) { 160 mExpandedBounds.set(left, top, right, bottom); 166 void setCollapsedBounds(int left, int top, int right, int bottom) { 167 if (!rectEquals(mCollapsedBounds, left, top, right, bottom)) { 168 mCollapsedBounds.set(left, top, right, bottom); 422 mCollapsedDrawX = mCollapsedBounds.right - width; 454 mExpandedDrawX = mExpandedBounds.right - width; 473 mCurrentBounds.right = lerp(mExpandedBounds.right, mCollapsedBound 720 rectEquals(Rect r, int left, int top, int right, int bottom) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
H A D | DrawableWrapper.java | 214 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 215 DrawableCompat.setHotspotBounds(mDrawable, left, top, right, bottom);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | SortedList.java | 361 * {@link BatchedCallback#dispatchLastEvent()} right after you complete your data changes. 592 private int findIndexOf(T item, T[] mData, int left, int right, int reason) { argument 593 while (left < right) { 594 final int middle = (left + right) / 2; 603 int exact = linearEqualitySearch(item, middle, left, right); 611 right = middle; 617 private int linearEqualitySearch(T item, int middle, int left, int right) { argument 629 for (int next = middle + 1; next < right; next++) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseWrapContentWithAspectRatioTest.java | 82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 83 super.onLayout(changed, left, top, right, bottom); 84 mBehavior.onLayout(changed, left, top, right, bottom); 146 public MeasureBehavior withMargins(int left, int top, int right, int bottom) { argument 149 layoutParams.rightMargin = right; 177 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 179 layouts.add(new Pair<>(right - left, bottom - top));
|
/frameworks/wilhelm/tests/automated/ |
H A D | BufferQueue_test.cpp | 39 short right; member in struct:__anon2177 143 stereoBuffer1[nframes - 1 - i].right = pcm;
|
/frameworks/av/media/img_utils/src/ |
H A D | DngUtils.cpp | 148 /*right*/activeAreaWidth - 1, 166 /*right*/activeAreaWidth - 1, 184 /*right*/activeAreaWidth - 1, 202 /*right*/activeAreaWidth - 1, 221 uint32_t right, 257 right, 218 addGainMap(uint32_t top, uint32_t left, uint32_t bottom, uint32_t right, uint32_t plane, uint32_t planes, uint32_t rowPitch, uint32_t colPitch, uint32_t mapPointsV, uint32_t mapPointsH, double mapSpacingV, double mapSpacingH, double mapOriginV, double mapOriginH, uint32_t mapPlanes, const float* mapGains) argument
|
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerDyn.cpp | 204 void AudioResamplerDyn<TC, TI, TO>::setVolume(float left, float right) argument 206 AudioResampler::setVolume(left, right); 209 mVolumeSimd[1] = static_cast<TO>(right); 214 mVolumeSimd[1] = u4_28_from_float(clampFloatVol(right));
|
H A D | AudioResamplerSinc.cpp | 259 void AudioResamplerSinc::setVolume(float left, float right) { argument 260 AudioResampler::setVolume(left, right); 264 mVolumeSIMD[1] = u4_28_from_float(clampFloatVol(right));
|
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 97 ALOGE("Unsupported channels (top or front left/right of center)"); 136 const int indexBR = hasBacks ? indexBL + 1 : indexBL; // back right 139 const int indexSR = hasSides ? indexSL + 1 : indexSL; // side right 154 ALOGE("Unsupported channels (top or front left/right of center)"); 504 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24); local 505 ALOGV("Downmix_Command EFFECT_CMD_SET_VOLUME: left %f, right %f ", left, right); 984 * - if using AUDIO_CHANNEL_OUT_SIDE*, it contains both left and right 985 * - if using AUDIO_CHANNEL_OUT_BACK*, it contains both left and right 1026 const int indexBR = hasBacks ? indexBL + 1 : indexBL; // back right [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_reconstruct.c | 57 * Info 702: Shift right of signed quantity (int) 2139 i32 right) 2142 UNUSED(right); 2159 (overfilling some pels on left and/or right edge). 2164 right amount of pixels to overfill on right-edge 2175 i32 right) 2192 if (right) 2195 for ( ; right; right 2134 FillRow1( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument 2170 h264bsdFillRow7( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument 2239 i32 left, x, right; local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AMessage.cpp | 332 int32_t left, int32_t top, int32_t right, int32_t bottom) { 338 item->u.rectValue.mRight = right; 380 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const { 388 *right = item->u.rectValue.mRight; 330 setRect( const char *name, int32_t left, int32_t top, int32_t right, int32_t bottom) argument 378 findRect( const char *name, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const argument
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHostView.java | 153 setPadding(padding.left, padding.top, padding.right, padding.bottom); 196 padding.right = r.getDimensionPixelSize(com.android.internal. 246 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 248 super.onLayout(changed, left, top, right, bottom); 299 int xPaddingDips = (int) ((padding.left + padding.right) / density);
|
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuView.java | 434 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 436 super.onLayout(changed, left, top, right, bottom); 446 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft(); 494 final int midHorizontal = (right - left) / 2;
|
H A D | ActivityChooserView.java | 56 * The right button is an overflow action and provides an optimized menu 479 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 480 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | Palette.java | 734 * @param right The right side of the rectangle used for the region. 738 public Palette.Builder setRegion(int left, int top, int right, int bottom) { argument 744 if (!mRegion.intersect(left, top, right, bottom)) { 814 region.right = Math.min((int) Math.ceil(region.right * scale),
|