/frameworks/base/core/java/android/service/translation/ |
D | TranslationService.java | 17 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 …]
|
D | TEST_MAPPING | 4 "path": "frameworks/base/services/translation/java/com/android/server/translation"
|
D | ITranslationCallback.aidl | 17 package android.service.translation; 19 import android.view.translation.TranslationResponse;
|
D | ITranslationService.aidl | 17 package android.service.translation; 21 import android.view.translation.TranslationContext;
|
/frameworks/av/media/libstagefright/renderfright/gl/filters/ |
D | BlurFilter.cpp | 54 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/ |
D | Pose.h | 38 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/ |
D | Sms7BitEncodingTranslator.java | 111 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/ |
D | TranslationManagerServiceImpl.java | 17 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 …]
|
D | RemoteTranslationService.java | 17 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;
|
D | TranslationManagerService.java | 17 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/ |
D | PoseDriftCompensator.cpp | 52 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()
|
D | Twist.cpp | 25 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()
|
D | Pose-test.cpp | 34 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/ |
D | ITranslationDirectManager.aidl | 17 package android.view.translation; 20 import android.view.translation.TranslationRequest; 21 import android.service.translation.ITranslationCallback;
|
D | ITranslationManager.aidl | 17 package android.view.translation; 24 import android.view.translation.TranslationContext; 25 import android.view.translation.TranslationSpec; 26 import android.view.translation.UiTranslationSpec;
|
D | TEST_MAPPING | 4 "path": "frameworks/base/services/translation/java/com/android/server/translation"
|
D | ITranslationServiceCallback.aidl | 17 package android.view.translation; 19 import android.view.translation.TranslationCapability;
|
/frameworks/base/services/translation/ |
D | Android.bp | 11 name: "services.translation-sources", 18 name: "services.translation", 20 srcs: [":services.translation-sources"],
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/ |
D | TransitionLayoutController.kt | 123 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/ |
D | ClipRectTBAnimation.java | 76 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/ |
D | NotificationMenuRow.java | 478 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 …]
|
D | ExpandableOutlineView.java | 65 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/ |
D | TranslationTransformationMethod.java | 24 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/ |
D | numeric.h | 156 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/ |
D | AppearAnimationUtils.java | 97 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()
|