/external/skia/tests/ |
MatrixTest.cpp | 196 SkMatrix translate; local 197 translate.setTranslate(10 * SK_Scalar1, -5 * SK_Scalar1); 198 REPORTER_ASSERT(reporter, SK_Scalar1 == translate.getMinScale()); 199 REPORTER_ASSERT(reporter, SK_Scalar1 == translate.getMaxScale()); 200 success = translate.getMinMaxScales(scales); 238 translate, perspX, perspY}; 400 // rotate + translate [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
Meshes.cpp | 335 Mesh::Position translate; local 337 get_transform(teapot_positions, position_count, translate, scale); 341 (teapot_positions[i + 0] + translate.x) * scale, 342 (teapot_positions[i + 1] + translate.y) * scale, 343 (teapot_positions[i + 2] + translate.z) * scale, 363 Mesh::Position &translate, float &scale) 384 translate.x = -(min[0] + max[0]) / 2.0f; 385 translate.y = -(min[1] + max[1]) / 2.0f; 386 translate.z = -(min[2] + max[2]) / 2.0f; 389 max[0] + translate.x [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 500 translate(points, -centroid[0], -centroid[1]); method 576 static float[] translate(float[] points, float dx, float dy) { method in class:GestureUtils
|
/frameworks/base/core/java/android/view/ |
RecordingCanvas.java | 298 translate(dst.left, dst.top); method 310 translate(dst.left, dst.top); method
|
/frameworks/base/core/java/android/widget/ |
EdgeEffect.java | 332 canvas.translate(translateX, 0);
|
/frameworks/base/core/jni/ |
android_graphics_Canvas.cpp | 147 static void translate(jlong canvasHandle, jfloat dx, jfloat dy) { function in namespace:android::CanvasJNI 148 get_canvas(canvasHandle)->translate(dx, dy); 358 canvas->translate(left, top); 395 canvas->translate(left, top); 600 {"nTranslate","(JFF)V", (void*) CanvasJNI::translate},
|
/frameworks/base/graphics/java/android/graphics/ |
Path.java | 673 * @param dx The amount to translate the path in X as it is added 729 rects.translate((int) dx, (int) dy);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ShapeDrawable.java | 249 // need the save both for the translate, and for the (unknown) 252 canvas.translate(r.left, r.top);
|
RippleDrawable.java | 797 mMaskCanvas.translate(-left, -top); 803 mMaskCanvas.translate(left, top); 857 canvas.translate(x, y); 906 canvas.translate(-x, -y); [all...] |
/frameworks/base/libs/hwui/ |
RecordingCanvas.cpp | 177 clip.translate(-unmappedBounds.left, -unmappedBounds.top); 219 void RecordingCanvas::translate(float dx, float dy) { function in class:android::uirenderer::RecordingCanvas 222 mState.translate(dx, dy, 0); 470 translate(left, top); 507 translate(dstLeft, dstTop);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
StorageStatsService.java | 282 return translate(stats); 335 return translate(stats); 361 return translate(stats); 439 private static StorageStats translate(PackageStats stats) { method in class:StorageStatsService
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
FrameSequenceDrawable.java | 415 // scale and translate to account for bounds, so we can operate in intrinsic 417 canvas.translate(bounds.left, bounds.top);
|
/frameworks/native/libs/math/include/math/ |
TMatHelpers.h | 464 static CONSTEXPR BASE<T> translate(const VEC& t) { function in class:android::details::TMatHelpers
|
/frameworks/native/libs/ui/ |
Region.cpp | 324 if (x|y) translate(*this, x, y); 368 const Region Region::translate(int x, int y) const { function in class:android::Region 370 translate(result, *this, x, y); 737 void Region::translate(Region& reg, int dx, int dy) function in class:android::Region 741 validate(reg, "translate (before)"); 751 validate(reg, "translate (after)"); 756 void Region::translate(Region& dst, const Region& reg, int dx, int dy) function in class:android::Region 759 translate(dst, dx, dy);
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
PageIndicatorView.java | 600 canvas.translate(dotCenterLeft, dotCenterTop); 611 canvas.translate(mDotSpacing, 0);
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
FilmstripLayout.java | 362 float translate = mFilmstripContentLayout.getTranslationX() - dx; local 363 if (translate < 0f) { 364 translate = 0f; 366 if (translate > getMeasuredWidth()) { 367 translate = getMeasuredWidth(); 370 translateContentLayoutByPixel(translate); 371 if (translate == 0 && dx > 0) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
Spline.java | 304 canvas.translate(dx, dy);
|
ImageShow.java | 230 Point translate = master.getTranslation(); local 232 m.postTranslate(translate.x, translate.y); 306 canvas.translate(0, dx); 309 canvas.translate(0, dx); 425 canvas.translate(x, y); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
BubbleTextView.java | 179 // The translate of scrollX and scrollY is necessary when drawing TextViews, because 184 destCanvas.translate(-getScrollX() + padding / 2, -getScrollY() + padding / 2); 293 canvas.translate(scrollX, scrollY); 295 canvas.translate(-scrollX, -scrollY);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
PendingAppWidgetHostView.java | 304 canvas.translate(mRect.left, mRect.top);
|
/toolchain/binutils/binutils-2.25/include/ |
xregex2.h | 326 `translate', and `no_sub' can be set. After the pattern has been 356 /* Either a translate table to apply to all characters before 360 RE_TRANSLATE_TYPE translate; 357 RE_TRANSLATE_TYPE translate; member in struct:re_pattern_buffer
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
ScreenViewer.java | 280 g.translate(-left, -top); 338 g.translate(left, top); 585 s.translate(p.left - p.scrollX, p.top - p.scrollY); 589 s.translate(node.left, node.top);
|
/external/autotest/client/common_lib/cros/ |
dev_server.py | 860 image = self.translate(image) 1578 def translate(self, build_name): member in class:ImageServer 2323 def translate(self, build_name): member in class:AndroidBuildServer [all...] |
/external/eigen/Eigen/src/Geometry/ |
Transform.h | 557 inline Transform& translate(const MatrixBase<OtherDerived> &other); 577 inline Transform& operator*=(const TranslationType& t) { return translate(t.vector()); } 898 Transform<Scalar,Dim,Mode,Options>::translate(const MatrixBase<OtherDerived> &other) function in class:Eigen::Transform [all...] |
/external/skia/src/core/ |
SkRegion.cpp | 534 void SkRegion::translate(int dx, int dy, SkRegion* dst) const { function in class:SkRegion [all...] |