Home
last modified time | relevance | path

Searched refs:translation (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/frameworks/base/core/java/android/service/translation/
DTranslationService.java17 package android.service.translation;
19 import static android.view.translation.TranslationManager.STATUS_SYNC_CALL_FAIL;
20 import static android.view.translation.TranslationManager.STATUS_SYNC_CALL_SUCCESS;
21 import static android.view.translation.Translator.EXTRA_SERVICE_BINDER;
22 import static android.view.translation.Translator.EXTRA_SESSION_ID;
43 import android.view.translation.ITranslationDirectManager;
44 import android.view.translation.ITranslationServiceCallback;
45 import android.view.translation.TranslationCapability;
46 import android.view.translation.TranslationContext;
47 import android.view.translation.TranslationManager;
[all …]
DTEST_MAPPING4 "path": "frameworks/base/services/translation/java/com/android/server/translation"
DITranslationCallback.aidl17 package android.service.translation;
19 import android.view.translation.TranslationResponse;
DITranslationService.aidl17 package android.service.translation;
21 import android.view.translation.TranslationContext;
/frameworks/av/media/libstagefright/renderfright/gl/filters/
DBlurFilter.cpp54 static constexpr auto translation = 1.0f; in BlurFilter() local
57 translation - size, -translation - size, in BlurFilter()
58 translation - size, -translation + size, in BlurFilter()
59 translation + size, -translation + size, in BlurFilter()
61 0.0f, 0.0f - translation, in BlurFilter()
62 0.0f, size - translation, in BlurFilter()
63 size, size - translation in BlurFilter()
/frameworks/av/media/libheadtracking/include/media/
DPose.h38 Pose3f(const Eigen::Vector3f& translation, const Eigen::Quaternionf& rotation) in Pose3f() argument
39 : mTranslation(translation), mRotation(rotation) {} in Pose3f()
41 explicit Pose3f(const Eigen::Vector3f& translation) in Pose3f() argument
42 : Pose3f(translation, Eigen::Quaternionf::Identity()) {} in Pose3f()
76 Eigen::Vector3f translation() const { return mTranslation; }; in translation() function
84 return Pose3f(-(invRotation * translation()), invRotation); in inverse()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java111 int translation = -1; in translateIfNeeded() local
116 translation = mTranslationTableCommon.get(c, -1); in translateIfNeeded()
119 if (translation == -1) { in translateIfNeeded()
122 translation = mTranslationTableCDMA.get(c, -1); in translateIfNeeded()
126 translation = mTranslationTableGSM.get(c, -1); in translateIfNeeded()
131 if (translation != -1) { in translateIfNeeded()
134 + Integer.toHexString(translation) + " (" + (char) translation + ")"); in translateIfNeeded()
136 return (char) translation; in translateIfNeeded()
/frameworks/base/services/translation/java/com/android/server/translation/
DTranslationManagerServiceImpl.java17 package com.android.server.translation;
19 import static android.view.translation.TranslationManager.EXTRA_CAPABILITIES;
20 import static android.view.translation.TranslationManager.STATUS_SYNC_CALL_FAIL;
21 import static android.view.translation.UiTranslationManager.EXTRA_PACKAGE_NAME;
22 import static android.view.translation.UiTranslationManager.EXTRA_SOURCE_LOCALE;
23 import static android.view.translation.UiTranslationManager.EXTRA_STATE;
24 import static android.view.translation.UiTranslationManager.EXTRA_TARGET_LOCALE;
25 import static android.view.translation.UiTranslationManager.STATE_UI_TRANSLATION_FINISHED;
26 import static android.view.translation.UiTranslationManager.STATE_UI_TRANSLATION_PAUSED;
27 import static android.view.translation.UiTranslationManager.STATE_UI_TRANSLATION_RESUMED;
[all …]
DRemoteTranslationService.java17 package com.android.server.translation;
25 import android.service.translation.ITranslationService;
26 import android.service.translation.TranslationService;
28 import android.view.translation.TranslationContext;
29 import android.view.translation.TranslationSpec;
DTranslationManagerService.java17 package com.android.server.translation;
22 import static android.view.translation.TranslationManager.STATUS_SYNC_CALL_FAIL;
23 import static android.view.translation.TranslationManager.STATUS_SYNC_CALL_SUCCESS;
43 import android.view.translation.ITranslationManager;
44 import android.view.translation.TranslationContext;
45 import android.view.translation.TranslationSpec;
46 import android.view.translation.UiTranslationManager.UiTranslationState;
47 import android.view.translation.UiTranslationSpec;
/frameworks/av/media/libheadtracking/
DPoseDriftCompensator.cpp52 Vector3f translation = pose.translation(); in scale() local
53 translation *= std::expf(-static_cast<float>(dt) / mOptions.translationalDriftTimeConstant); in scale()
59 return Pose3f(translation, rotationVectorToQuaternion(rotationVec)); in scale()
DTwist.cpp25 Eigen::Vector3f translation = twist.translationalVelocity() * dt; in integrate() local
27 return Pose3f(translation, rotationVectorToQuaternion(rotationVector)); in integrate()
31 Eigen::Vector3f translationalVelocity = pose.translation() / dt; in differentiate()
DPose-test.cpp34 EXPECT_EQ(pose.translation(), Vector3f::Zero()); in TEST()
41 EXPECT_EQ(pose.translation(), Vector3f::Zero()); in TEST()
48 EXPECT_EQ(pose.translation(), trans); in TEST()
56 EXPECT_EQ(pose.translation(), trans); in TEST()
/frameworks/base/core/java/android/view/translation/
DITranslationDirectManager.aidl17 package android.view.translation;
20 import android.view.translation.TranslationRequest;
21 import android.service.translation.ITranslationCallback;
DITranslationManager.aidl17 package android.view.translation;
24 import android.view.translation.TranslationContext;
25 import android.view.translation.TranslationSpec;
26 import android.view.translation.UiTranslationSpec;
DTEST_MAPPING4 "path": "frameworks/base/services/translation/java/com/android/server/translation"
DITranslationServiceCallback.aidl17 package android.view.translation;
19 import android.view.translation.TranslationCapability;
/frameworks/base/services/translation/
DAndroid.bp11 name: "services.translation-sources",
18 name: "services.translation",
20 srcs: [":services.translation-sources"],
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DTransitionLayoutController.kt123 translation.x = (viewState.width - width) * disappearParameters.gonePivot.x in getGoneState()
124 translation.y = (viewState.height - height) * disappearParameters.gonePivot.y in getGoneState()
126 translation.x in getGoneState()
128 translation.y in getGoneState()
315 translation.x = MathUtils.lerp(startState.translation.x, endState.translation.x, in getInterpolatedState()
317 translation.y = MathUtils.lerp(startState.translation.y, endState.translation.y, in getInterpolatedState()
/frameworks/base/core/java/com/android/internal/policy/
DClipRectTBAnimation.java76 int translation =
80 mFromRect.top - translation + (int) ((mToRect.top - mFromRect.top) * it),
82 mFromRect.bottom - translation + (int) ((mToRect.bottom - mFromRect.bottom) * it));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java478 public void onParentTranslationUpdate(float translation) { in onParentTranslationUpdate() argument
479 mTranslation = translation; in onParentTranslationUpdate()
485 final float absTrans = Math.abs(translation); in onParentTranslationUpdate()
740 float translation = getTranslation(); in isWithinSnapMenuThreshold() local
744 ? translation > snapBackThreshold && translation < targetRight in isWithinSnapMenuThreshold()
745 : translation < -snapBackThreshold && translation > -targetRight; in isWithinSnapMenuThreshold()
751 final float translation = getTranslation(); in isSwipedEnoughToShowMenu() local
753 translation > minimumSwipeDistance in isSwipedEnoughToShowMenu()
754 : translation < -minimumSwipeDistance); in isSwipedEnoughToShowMenu()
764 float translation = getTranslation(); in shouldSnapBack() local
[all …]
DExpandableOutlineView.java65 int translation = !mDismissUsingRowTranslationX ? (int) getTranslation() : 0;
66 int left = Math.max(translation, 0);
68 int right = getWidth() + Math.min(translation, 0);
105 int translation = !mDismissUsingRowTranslationX && !ignoreTranslation in getClipPath() local
108 left = Math.max(translation, 0) - halfExtraWidth; in getClipPath()
110 right = getWidth() + halfExtraWidth + Math.min(translation, 0); in getClipPath()
/frameworks/base/core/java/android/text/method/
DTranslationTransformationMethod.java24 import android.view.translation.TranslationResponseValue;
25 import android.view.translation.ViewTranslationRequest;
26 import android.view.translation.ViewTranslationResponse;
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dnumeric.h156 inline mat3 TranslationMatrix(const vec2& translation) { in TranslationMatrix() argument
157 return mat3(Eigen::Translation2f(translation)); in TranslationMatrix()
160 inline mat4 TranslationMatrix(const vec3& translation) { in TranslationMatrix() argument
161 return mat4(Eigen::Translation3f(translation)); in TranslationMatrix()
165 return m.linear() * p + m.translation(); in TransformPoint()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java97 float translation = translationScale * mStartTranslation; in startAnimations() local
99 mAppearing ? translation : -translation, in startAnimations()
115 float translation = translationScale * mStartTranslation; in startAnimations() local
123 mAppearing ? translation : -translation, in startAnimations()

12345678910>>...12