Searched refs:translation (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/animation/
H A DClipRectTBAnimation.java28 * set on the transform already. In addition to that, information about a vertical translation
30 * of before applying the translation.
53 // Hack: Because translation animation has a different interpolator, we need to duplicate
77 int translation =
81 mFromRect.top - translation + (int) ((mToRect.top - mFromRect.top) * it),
83 mFromRect.bottom - translation + (int) ((mToRect.bottom - mFromRect.bottom) * it));
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSms7BitEncodingTranslator.java56 * if true and some error occurs during translation, an exception
101 * corresponding character, based on the translation table or white
102 * space, if no mapping is found in the translation table for such
108 Rlog.v(TAG, "No translation needed for " + Integer.toHexString(c));
115 * present on translation table, c does not belong to Unicode Latin-1
120 int translation = -1;
123 translation = mTranslationTableCommon.get(c, -1);
126 if (translation == -1) {
129 translation = mTranslationTableCDMA.get(c, -1);
133 translation
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardAffordanceHelper.java304 float translation = getTranslationFromRadius(newRadius);
305 mTranslation = right ? -translation : translation;
321 // We snap back if the current translation is not far enough
377 private void setTranslation(float translation, boolean isReset, boolean animateReset, argument
379 translation = rightSwipePossible() ? translation : Math.max(0, translation);
380 translation = leftSwipePossible() ? translation
432 getRadiusFromTranslation(float translation) argument
565 onAnimationToSideStarted(boolean rightPage, float translation, float vel) argument
[all...]
H A DNotificationPanelView.java1617 float translation = NotificationUtils.interpolate(-mQsMinExpansionHeight, 0,
1619 return Math.min(0, translation);
1860 public void onAnimationToSideStarted(boolean rightPage, float translation, float vel) { argument
1865 int lengthDp = Math.abs((int) (translation / displayDensity));
2318 protected void setVerticalPanelTranslation(float translation) { argument
2319 mNotificationStackScroller.setTranslationX(translation);
2320 mQsFrame.setTranslationX(translation);
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
H A DNotificationSwipeActionHelper.java54 public boolean swipedFarEnough(float translation, float viewSize); argument
56 public boolean swipedFastEnough(float translation, float velocity); argument
H A DNotificationMenuRowPlugin.java88 public void onTranslationUpdate(float translation); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableOutlineView.java39 int translation = (int) getTranslation();
41 outline.setRect(translation,
43 getWidth() + translation,
H A DExpandableView.java298 * Sets the translation of the view.
300 public void setTranslation(float translation) { argument
301 setTranslationX(translation);
305 * Gets the translation of the view.
320 * position 0 and usually the translation is neglected. Since we are manually clipping this
H A DNotificationMenuRow.java434 public void onTranslationUpdate(float translation) { argument
435 mTranslation = translation;
441 final float absTrans = Math.abs(translation);
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dnumeric.h156 inline mat3 TranslationMatrix(const vec2& translation) { argument
157 return mat3(Eigen::Translation2f(translation));
160 inline mat4 TranslationMatrix(const vec3& translation) { argument
161 return mat4(Eigen::Translation3f(translation));
165 return m.linear() * p + m.translation();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
H A DAppearAnimationUtils.java100 float translation = translationScale * mStartTranslation;
102 mAppearing ? translation : -translation,
118 float translation = translationScale * mStartTranslation;
126 mAppearing ? translation : -translation,
/frameworks/native/libs/vr/libvrsensor/
H A Dpose_client.cpp157 ALOGI("Mapped pose data translation %f,%f,%f quat %f,%f,%f,%f",
158 mapped_pose_buffer_->ring[0].translation[0],
159 mapped_pose_buffer_->ring[0].translation[1],
160 mapped_pose_buffer_->ring[0].translation[2],
203 "Mapped controller %d pose data translation %f,%f,%f quat %f,%f,%f,%f",
204 controller_id, client_state.mapped_pose_buffer[0].translation[0],
205 client_state.mapped_pose_buffer[0].translation[1],
206 client_state.mapped_pose_buffer[0].translation[2],
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java191 private float getSwipeProgressForOffset(View view, float translation) { argument
193 float result = Math.abs(translation / viewSize);
206 float translation) {
207 float swipeProgress = getSwipeProgressForOffset(animView, translation);
650 float translation = getTranslation(mCurrView);
652 && Math.abs(translation) > SWIPED_FAR_ENOUGH_SIZE_FRACTION * getSize(mCurrView);
673 float translation = getTranslation(mCurrView);
675 && (velocity > 0) == (translation > 0);
680 float translation) {
205 updateSwipeProgressFromOffset(View animView, boolean dismissable, float translation) argument
679 handleUpEvent(MotionEvent ev, View animView, float velocity, float translation) argument
/frameworks/native/libs/vr/libvrsensor/include/dvr/
H A Dpose_client.h24 // rotation and translation.
54 // Left eye head-from-start translation x,y,z,pad in meters.
55 float32x4_t translation; member in struct:DvrPoseAsync
58 // Right eye head-from-start translation x,y,z,pad in meters.
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java80 * This property sets the translation animation matrix properties.
525 public void setTranslation(PointF translation) { argument
526 mTranslationX = translation.x;
527 mTranslationY = translation.y;
/frameworks/rs/script_api/
H A Drs_matrix.spec43 translation then the scaling.
379 summary: Load a translation matrix
381 This function creates a translation matrix, where a number is added to each element of
569 summary: Apply a translation to a transformation matrix
571 Multiply the matrix m with a translation matrix.
573 This function modifies a transformation matrix to first do a translation. When
/frameworks/support/transition/src/android/support/transition/
H A DChangeTransform.java81 * This property sets the translation animation matrix properties.
565 void setTranslation(PointF translation) { argument
566 mTranslationX = translation.x;
567 mTranslationY = translation.y;
/frameworks/native/libs/math/tests/
H A Dmat_test.cpp517 // Test some translation stuff.
523 V4T translation(translateBy[0], translateBy[1], translateBy[2], 1.0);
524 M44T translation_matrix = M44T::translate(translation);
594 // Test to quaternion with post translation.
631 // Test to quaternion with post translation.
659 // Test to quaternion with post translation.
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransition.java768 * @param translationX the total translation the surface moves in x direction
769 * @param translationY the total translation the surfaces moves in y direction
812 // need to start the clipping at the edge and then achieve the rest with translation
870 // to store the translation, because it's only used if cutOff == true.
1289 final TranslateAnimation translation = enter ? new TranslateAnimation(fromX, 0, fromY, 0)
1292 set.addAnimation(translation);
1454 // We animate the translation from the old position of the removed window, to the new
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java790 * @return The translation at the beginning when expanding.
4314 public void onMoveUpdate(View view, MotionEvent ev, float translation, float delta) { argument
4323 float translation) {
4400 public boolean swipedFarEnough(float translation, float viewSize) { argument
4405 public boolean swipedFastEnough(float translation, float velocity) { argument
4322 handleUpEvent(MotionEvent ev, View animView, float velocity, float translation) argument
/frameworks/native/libs/math/include/math/
H A Dmat4.h262 * construct from a 3x3 matrix and 3d translation
265 CONSTEXPR TMat44(const TMat33<U>& matrix, const TVec3<V>& translation);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jar ... .Type fieldType java.util.Collection annnotations StringBuilder translation } com/google/gson/CircularReferenceException.class CircularReferenceException.java package ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jar ... .Type fieldType java.util.Collection annnotations StringBuilder translation } com/google/gson/CircularReferenceException.class CircularReferenceException.java package ...

Completed in 2101 milliseconds