Searched defs:translate (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/libs/hwui/tests/unit/
H A DDamageAccumulatorTests.cpp51 // peekAtDirty & popTransform. Just uses a simple translate to test this
52 TEST(DamageAccumulator, translate) {
54 Matrix4 translate; local
56 translate.loadTranslate(25, 25, 0);
57 da.pushTransform(&translate);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
H A DShowStackActionButtonEvent.java26 // Whether or not to translate the stack action button when showing it
27 public final boolean translate; field in class:ShowStackActionButtonEvent
29 public ShowStackActionButtonEvent(boolean translate) { argument
30 this.translate = translate;
/frameworks/rs/
H A DrsMatrix4x4.h74 void translate(float x, float y, float z) { function in struct:android::renderscript::Matrix4x4
/frameworks/base/rs/java/android/renderscript/
H A DMatrix3f.java296 public void translate(float x, float y) { method in class:Matrix3f
H A DMatrix4f.java398 public void translate(float x, float y, float z) { method in class:Matrix4f
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSms7BitEncodingTranslator.java60 public static String translate(CharSequence message) { method in class:Sms7BitEncodingTranslator
114 * Trying to translate unicode to Gsm 7-bit alphabet; If c is not
116 * (Basic + Supplement), so we don't know how to translate it to a Gsm
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp97 bool BitcodeTranslator::translate() { function in class:bcinfo::BitcodeTranslator
/frameworks/base/graphics/java/android/graphics/
H A DCamera.java52 * @param x The distance to translate by on the X axis
53 * @param y The distance to translate by on the Y axis
54 * @param z The distance to translate by on the Z axis
56 public native void translate(float x, float y, float z); method in class:Camera
H A DRegion.java220 public void translate(int dx, int dy) { method in class:Region
221 translate(dx, dy, null);
228 public native void translate(int dx, int dy, Region dst); method in class:Region
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DMatrix3f.java299 public void translate(float x, float y) { method in class:Matrix3f
H A DMatrix4f.java399 public void translate(float x, float y, float z) { method in class:Matrix4f
/frameworks/support/wear/src/android/support/wear/widget/
H A DSwipeDismissFrameLayout.java255 float translate) {
257 Log.d(TAG, "onSwipeProgressChanged() - " + translate);
259 setTranslationX(translate);
254 onSwipeProgressChanged(SwipeDismissLayout layout, float progress, float translate) argument
H A DSwipeDismissLayout.java94 * @param translate a number in [0, w], where w is the width of the layout. This is
97 void onSwipeProgressChanged(SwipeDismissLayout layout, float progress, float translate); argument
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java500 translate(points, -centroid[0], -centroid[1]);
576 static float[] translate(float[] points, float dx, float dy) { method in class:GestureUtils
/frameworks/base/libs/hwui/
H A DCanvasState.cpp168 void CanvasState::translate(float dx, float dy, float dz) { function in class:android::uirenderer::CanvasState
169 mSnapshot->transform->translate(dx, dy, dz);
H A DRect.h191 void translate(float dx, float dy) { function in class:android::uirenderer::Rect
H A DMatrix.h151 void translate(float x, float y, float z = 0) { function in class:android::uirenderer::Matrix4
158 // Doing a translation will only affect the translate bit of the type
166 // Restore the type and fix the translate bit
195 * If the matrix is identity or translate and/or scale.
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java223 /*package*/ static void translate(Region thisRegion, int dx, int dy, Region dst) { method in class:Region_Delegate
239 mtx.translate(dx, dy);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java54 public abstract void translate(float x, float y, float z); method in interface:GLCanvas
56 public abstract void translate(float x, float y); method in interface:GLCanvas
/frameworks/base/services/usage/java/com/android/server/usage/
H A DStorageStatsService.java282 return translate(stats);
335 return translate(stats);
361 return translate(stats);
439 private static StorageStats translate(PackageStats stats) { method in class:StorageStatsService
/frameworks/base/core/java/com/android/internal/widget/
H A DSwipeDismissLayout.java60 * @param translate A number in [0, w], where w is the width of the
63 void onSwipeProgressChanged(SwipeDismissLayout layout, float alpha, float translate); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java392 // If launched via dragging from the nav bar, then we should translate the whole view
455 hideStackActionButton(taskViewExitToHomeDuration, false /* translate */);
615 hideStackActionButton(HIDE_STACK_ACTION_BUTTON_DURATION, true /* translate */);
631 showStackActionButton(SHOW_STACK_ACTION_BUTTON_DURATION, event.translate);
639 hideStackActionButton(HIDE_STACK_ACTION_BUTTON_DURATION, true /* translate */);
653 private void showStackActionButton(final int duration, final boolean translate) { argument
662 if (translate) {
670 if (translate) {
688 private void hideStackActionButton(int duration, boolean translate) { argument
694 hideStackActionButton(duration, translate, postAnimationTrigge
701 hideStackActionButton(int duration, boolean translate, final ReferenceCountedTrigger postAnimationTrigger) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java422 public void translate(float dx, float dy) { method in class:GcSnapshot
425 layer.getGraphics().translate(dx, dy);
431 mTransform.translate(dx, dy);
656 // We translate the operation to take into account that the rendering does not
658 imageGraphics.translate(-x, -y);
664 imageGraphics.translate(x, y);
/frameworks/native/libs/math/include/math/
H A DTMatHelpers.h464 static CONSTEXPR BASE<T> translate(const VEC& t) { function in class:android::details::TMatHelpers
/frameworks/native/libs/ui/
H A DRegion.cpp324 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);

Completed in 802 milliseconds

12