Searched defs:translate (Results 1 - 25 of 35) 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/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp90 bool BitcodeTranslator::translate() { function in class:bcinfo::BitcodeTranslator
/frameworks/opt/telephony/src/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/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/support/v8/renderscript/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/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/core/java/com/android/internal/widget/
H A DSwipeDismissLayout.java54 * @param translate A number in [0, w], where w is the width of the
57 void onSwipeProgressChanged(SwipeDismissLayout layout, float progress, float translate); argument
/frameworks/base/libs/hwui/
H A DRect.h184 void translate(float dx, float dy) { function in class:android::uirenderer::Rect
H A DCanvasState.cpp169 void CanvasState::translate(float dx, float dy, float dz) { function in class:android::uirenderer::CanvasState
170 mSnapshot->transform->translate(dx, dy, dz);
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.
H A DDisplayListCanvas.cpp140 void DisplayListCanvas::translate(float dx, float dy) { function in class:android::uirenderer::DisplayListCanvas
147 mState.translate(dx, dy, 0.0f);
239 translate(left, top);
276 translate(dstLeft, dstTop);
290 translate(dstLeft, dstTop);
H A DRecordingCanvas.cpp176 clip.translate(-unmappedBounds.left, -unmappedBounds.top);
215 void RecordingCanvas::translate(float dx, float dy) { function in class:android::uirenderer::RecordingCanvas
218 mState.translate(dx, dy, 0);
455 translate(left, top);
492 translate(dstLeft, dstTop);
/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/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java394 // If launched via dragging from the nav bar, then we should translate the whole view
457 hideStackActionButton(taskViewExitToHomeDuration, false /* translate */);
617 hideStackActionButton(HIDE_STACK_ACTION_BUTTON_DURATION, true /* translate */);
633 showStackActionButton(SHOW_STACK_ACTION_BUTTON_DURATION, event.translate);
641 hideStackActionButton(HIDE_STACK_ACTION_BUTTON_DURATION, true /* translate */);
651 private void showStackActionButton(final int duration, final boolean translate) { argument
660 if (translate) {
668 if (translate) {
686 private void hideStackActionButton(int duration, boolean translate) { argument
692 hideStackActionButton(duration, translate, postAnimationTrigge
699 hideStackActionButton(int duration, boolean translate, final ReferenceCountedTrigger postAnimationTrigger) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java420 public void translate(float dx, float dy) { method in class:GcSnapshot
423 layer.getGraphics().translate(dx, dy);
429 mTransform.translate(dx, dy);
653 // We translate the operation to take into account that the rendering does not
655 imageGraphics.translate(-x, -y);
661 imageGraphics.translate(x, y);
/frameworks/native/include/ui/
H A Dmat4.h142 static tmat44 translate(const tvec4<A>& t);
276 tmat44<T> tmat44<T>::translate(const tvec4<A>& t) { function in class:android::tmat44
/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);
736 void Region::translate(Region& reg, int dx, int dy) function in class:android::Region
740 validate(reg, "translate (before)");
750 validate(reg, "translate (after)");
755 void Region::translate(Region& dst, const Region& reg, int dx, int dy) function in class:android::Region
758 translate(dst, dx, dy);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java159 protected void setTranslation(View v, float translate) { argument
164 v.setTranslationX(translate);
166 v.setTranslationY(translate);

Completed in 608 milliseconds

12