Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DModelMatrixCalculator.java125 public void updateModelMatrix(float[] translation, float[] quaternion) { in updateModelMatrix() argument
126 … float[] convertedTranslation = MathsUtils.convertToOpenGlCoordinates(translation, mToRotate); in updateModelMatrix()
130 public void setDevice2IMUMatrix(float[] translation, float[] quaternion) { in setDevice2IMUMatrix() argument
132 mDevice2IMUMatrix[MATRIX_4X4_TRANSLATION_X] = translation[X]; in setDevice2IMUMatrix()
133 mDevice2IMUMatrix[MATRIX_4X4_TRANSLATION_Y] = translation[Y]; in setDevice2IMUMatrix()
134 mDevice2IMUMatrix[MATRIX_4X4_TRANSLATION_Z] = translation[Z]; in setDevice2IMUMatrix()
137 public void setColorCamera2IMUMatrix(float[] translation, float[] quaternion) { in setColorCamera2IMUMatrix() argument
142 mColorCamera2IMUMatrix[MATRIX_4X4_TRANSLATION_X] = translation[X]; in setColorCamera2IMUMatrix()
143 mColorCamera2IMUMatrix[MATRIX_4X4_TRANSLATION_Y] = translation[Y]; in setColorCamera2IMUMatrix()
144 mColorCamera2IMUMatrix[MATRIX_4X4_TRANSLATION_Z] = translation[Z]; in setColorCamera2IMUMatrix()
DConeModelMatrixCalculator.java38 public void updateModelMatrix(float[] translation, float[] quaternion, float[] lookAtPosition) { in updateModelMatrix() argument
39 … float[] convertedTranslation = MathsUtils.convertToOpenGlCoordinates(translation, mToRotate); in updateModelMatrix()
/cts/tests/translation/src/android/translation/cts/
DCtsTestIme.java17 package android.translation.cts;
19 import static android.translation.cts.Helper.ACTION_ASSERT_UI_TRANSLATION_CALLBACK_ON_FINISH;
20 import static android.translation.cts.Helper.ACTION_ASSERT_UI_TRANSLATION_CALLBACK_ON_PAUSE;
21 import static android.translation.cts.Helper.ACTION_ASSERT_UI_TRANSLATION_CALLBACK_ON_RESUME;
22 import static android.translation.cts.Helper.ACTION_ASSERT_UI_TRANSLATION_CALLBACK_ON_START;
23 import static android.translation.cts.Helper.ACTION_REGISTER_UI_TRANSLATION_CALLBACK;
24 import static android.translation.cts.Helper.ACTION_UNREGISTER_UI_TRANSLATION_CALLBACK;
25 import static android.translation.cts.Helper.EXTRA_CALL_COUNT;
26 import static android.translation.cts.Helper.EXTRA_FINISH_COMMAND;
27 import static android.translation.cts.Helper.EXTRA_PACKAGE_NAME;
[all …]
DOtherProcessService1.java17 package android.translation.cts;
19 import static android.translation.cts.Helper.COMMAND_CREATE_TRANSLATOR;
26 import android.view.translation.TranslationContext;
27 import android.view.translation.TranslationManager;
28 import android.view.translation.TranslationSpec;
DCustomTextViewActivity.java17 package android.translation.cts;
21 import android.translation.cts.views.CustomTextView;
22 import android.translation.cts.views.ResponseNotSetTextView;
DVirtualContainerViewActivity.java17 package android.translation.cts;
21 import android.translation.cts.views.VirtualContainerView;
DCtsTranslationService.java17 package android.translation.cts;
24 import android.service.translation.TranslationService;
26 import android.view.translation.TranslationCapability;
27 import android.view.translation.TranslationContext;
28 import android.view.translation.TranslationRequest;
29 import android.view.translation.TranslationResponse;
30 import android.view.translation.TranslationSpec;
DTranslationManagerTest.java17 package android.translation.cts;
19 import static android.translation.cts.Helper.COMMAND_CREATE_TRANSLATOR;
20 import static android.translation.cts.OtherProcessService1.EXTRA_COMMAND;
21 import static android.view.translation.TranslationSpec.DATA_FORMAT_TEXT;
39 import android.view.translation.TranslationCapability;
40 import android.view.translation.TranslationContext;
41 import android.view.translation.TranslationManager;
42 import android.view.translation.TranslationRequest;
43 import android.view.translation.TranslationRequestValue;
44 import android.view.translation.TranslationResponse;
[all …]
DUiTranslationManagerTest.java17 package android.translation.cts;
22 import static android.translation.cts.Helper.ACTION_ASSERT_UI_TRANSLATION_CALLBACK_ON_FINISH;
23 import static android.translation.cts.Helper.ACTION_ASSERT_UI_TRANSLATION_CALLBACK_ON_PAUSE;
24 import static android.translation.cts.Helper.ACTION_ASSERT_UI_TRANSLATION_CALLBACK_ON_RESUME;
25 import static android.translation.cts.Helper.ACTION_ASSERT_UI_TRANSLATION_CALLBACK_ON_START;
26 import static android.translation.cts.Helper.ACTION_REGISTER_UI_TRANSLATION_CALLBACK;
27 import static android.translation.cts.Helper.ACTION_UNREGISTER_UI_TRANSLATION_CALLBACK;
28 import static android.translation.cts.Helper.EXTRA_CALL_COUNT;
29 import static android.translation.cts.Helper.EXTRA_FINISH_COMMAND;
30 import static android.translation.cts.Helper.EXTRA_PACKAGE_NAME;
[all …]
/cts/tests/translation/src/android/translation/cts/views/
DCustomTextView.java17 package android.translation.cts.views;
19 import static android.translation.cts.Helper.CUSTOM_TRANSLATION_ID_MY_TAG;
24 import android.view.translation.TranslationRequestValue;
25 import android.view.translation.ViewTranslationRequest;
26 import android.view.translation.ViewTranslationResponse;
DVirtualContainerView.java17 package android.translation.cts.views;
24 import android.view.translation.TranslationRequestValue;
25 import android.view.translation.ViewTranslationRequest;
26 import android.view.translation.ViewTranslationResponse;
DResponseNotSetTextView.java17 package android.translation.cts.views;
22 import android.view.translation.ViewTranslationResponse;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/PoseProvider/
DPoseData.java70 public PoseData(float[] translation, float[] rotation, long timestamp){ in PoseData() argument
76 mTranslation[0] = translation[0]; in PoseData()
77 mTranslation[1] = translation[1]; in PoseData()
78 mTranslation[2] = translation[2]; in PoseData()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/
DLight.java77 public synchronized void updateLightPosition(float[] translation) { in updateLightPosition() argument
79 Matrix.translateM(getModelMatrix(), 0, translation[X], translation[Y], translation[Z]); in updateLightPosition() local
DConeRenderable.java102 public void updateModelMatrix(float[] translation, float[] rotation, float[] lookAtPosition) { in updateModelMatrix() argument
103 mModelMatrixCalculator.updateModelMatrix(translation, rotation, lookAtPosition); in updateModelMatrix()
106 public void setDevice2IMUMatrix(float[] translation, float[] quaternion) { in setDevice2IMUMatrix() argument
107 mModelMatrixCalculator.setDevice2IMUMatrix(translation, quaternion); in setDevice2IMUMatrix()
110 public void setColorCamera2IMUMatrix(float[] translation, float[] quaternion) { in setColorCamera2IMUMatrix() argument
111 mModelMatrixCalculator.setColorCamera2IMUMatrix(translation, quaternion); in setColorCamera2IMUMatrix()
/cts/tests/translation/src/android/translation/cts/unittests/
DTextViewTranslationTest.java17 package android.translation.cts.unittests;
19 import static android.view.translation.TranslationResponseValue.STATUS_SUCCESS;
25 import android.translation.cts.R;
26 import android.translation.cts.SimpleActivity;
28 import android.view.translation.TranslationResponseValue;
29 import android.view.translation.TranslationSpec;
30 import android.view.translation.ViewTranslationRequest;
31 import android.view.translation.ViewTranslationResponse;
DViewTranslationResponseTest.java17 package android.translation.cts.unittests;
19 import static android.view.translation.TranslationResponseValue.STATUS_SUCCESS;
26 import android.view.translation.TranslationResponseValue;
27 import android.view.translation.ViewTranslationResponse;
DTranslationCapabilityTest.java17 package android.translation.cts.unittests;
25 import android.view.translation.TranslationCapability;
26 import android.view.translation.TranslationContext;
27 import android.view.translation.TranslationSpec;
DTranslationValueTest.java17 package android.translation.cts.unittests;
19 import static android.view.translation.TranslationResponseValue.STATUS_SUCCESS;
24 import android.view.translation.TranslationRequestValue;
25 import android.view.translation.TranslationResponseValue;
DUiTranslationSpecTest.java17 package android.translation.cts.unittests;
22 import android.view.translation.UiTranslationSpec;
DTranslationContextTest.java17 package android.translation.cts.unittests;
25 import android.view.translation.TranslationContext;
26 import android.view.translation.TranslationSpec;
DViewTranslationRequestTest.java17 package android.translation.cts.unittests;
25 import android.view.translation.TranslationRequestValue;
26 import android.view.translation.ViewTranslationRequest;
DTranslationSpecTest.java17 package android.translation.cts.unittests;
25 import android.view.translation.TranslationSpec;
DTranslationResponseTest.java17 package android.translation.cts.unittests;
19 import static android.view.translation.TranslationResponseValue.STATUS_SUCCESS;
26 import android.view.translation.TranslationResponse;
27 import android.view.translation.TranslationResponseValue;
28 import android.view.translation.ViewTranslationResponse;
/cts/tests/translation/
DOWNERS3 include platform/frameworks/base:/core/java/android/view/translation/OWNERS

12