/external/opencv3/modules/viz/test/ |
test_tutorial2.cpp | 28 double translation_phase = 0.0, translation = 0.0; local 39 translation = sin(translation_phase); 42 Affine3d pose(rot_vec, Vec3d(translation, translation, translation));
|
/external/opencv3/samples/cpp/tutorial_code/viz/ |
widget_pose.cpp | 54 float translation_phase = 0.0, translation = 0.0; local 65 translation = sin(translation_phase); 71 Affine3f pose(rot_mat, Vec3f(translation, translation, translation));
|
/external/libexif/test/nls/ |
test-nls.c | 49 char *translation; local 76 puts("before translation"); 77 translation = gettext(untranslated); 78 puts("after translation"); 80 if (strcmp(expected, translation) != 0) { 86 "translation: %s\n" 87 "Error: translation != expected\n", 92 translation); 98 "translation: %s\n" 101 translation); [all...] |
/external/autotest/frontend/client/src/autotest/afe/ |
JobStatusDataSource.java | 53 String translation = translateStatus(status); local 54 queueEntry.put("status", new JSONString(translation));
|
/external/eigen/Eigen/src/Geometry/ |
Translation.h | 17 * \class Translation 19 * \brief Represents a translation transformation 24 * \note This class is not aimed to be used to store a translation transformation, 30 class Translation 54 Translation() {} 56 inline Translation(const Scalar& sx, const Scalar& sy) 63 inline Translation(const Scalar& sx, const Scalar& sy, const Scalar& sz) 70 /** Constructs and initialize the translation transformation from a vector of translation coefficients */ 71 explicit inline Translation(const VectorType& vector) : m_coeffs(vector) { 90 const VectorType& translation() const { return m_coeffs; } function in class:Eigen::Translation 91 VectorType& translation() { return m_coeffs; } function in class:Eigen::Translation [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
DragListener.java | 35 float translation = event.getY() - mStatePanelTrack.getTouchPoint().y; local 36 float alpha = 1.0f - (Math.abs(translation) 39 translation = event.getX() - mStatePanelTrack.getTouchPoint().x; 40 alpha = 1.0f - (Math.abs(translation) 42 mStatePanelTrack.getCurrentView().setTranslationX(translation); 44 mStatePanelTrack.getCurrentView().setTranslationY(translation);
|
/external/bison/lib/ |
gettext.h | 103 translation is done at a different place in the code. 152 const char *translation = dcgettext (domain, msg_ctxt_id, category); local 153 if (translation == msg_ctxt_id) 156 return translation; 172 const char *translation = local 174 if (translation == msg_ctxt_id || translation == msgid_plural) 177 return translation; 216 const char *translation; local 231 translation = dcgettext (domain, msg_ctxt_id, category) 262 const char *translation; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineVertexUtil.cpp | 713 const Vec2& translation = translations[quadNdx]; local 718 Vec4(translation.x(), translation.y(), 0.0f, 1.0f), 723 Vec4(translation.x(), translation.y() + quadSize, 0.0f, 1.0f), 728 Vec4(translation.x() + quadSize, translation.y(), 0.0f, 1.0f), 733 Vec4(translation.x() + quadSize, translation.y() + quadSize, 0.0f, 1.0f),
|
/external/freetype/src/cff/ |
cf2font.c | 283 /* include Fontmatrix but ignore translation */ 289 /* save client transform, without the translation */ 439 FT_Vector translation; local 452 translation.x = transform->tx; 453 translation.y = transform->ty; 471 /* build the outline, passing the full translation */ 475 &translation, 502 /* FreeType just wants the advance width; there is no translation */
|
/external/opencv3/modules/calib3d/test/ |
test_posit.cpp | 92 CvMat* translation = cvCreateMat( 3, 1, CV_32F ); local 156 /* fill translation vector */ 190 rotation->data.fl, translation->data.fl ); 194 Mat _translation = cvarrToMat(translation), _true_translation = cvarrToMat(true_translation); 199 code = cvtest::cmpEps2( ts, _translation, _true_translation, flEpsilon, false, "translation vector" ); 213 cvReleaseMat( &translation );
|
/external/pdfium/third_party/freetype/src/cff/ |
cf2font.c | 283 /* include Fontmatrix but ignore translation */ 289 /* save client transform, without the translation */ 439 FT_Vector translation; local 452 translation.x = transform->tx; 453 translation.y = transform->ty; 471 /* build the outline, passing the full translation */ 475 &translation, 502 /* FreeType just wants the advance width; there is no translation */
|
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
Transform.h | 63 /** type of a read/write reference to the translation part of the rotation */ 65 /** type of a read/write reference to the translation part of the rotation */ 67 /** corresponding translation type */ 68 typedef Translation<Scalar,Dim> TranslationType; 108 transform->translation().setZero(); 152 /** \returns a read-only expression of the translation vector of the transformation */ 153 inline ConstTranslationPart translation() const { return m_matrix.template block<Dim,1>(0,Dim); } function in class:Eigen::Transform 154 /** \returns a writable expression of the translation vector of the transformation */ 155 inline TranslationPart translation() { return m_matrix.template block<Dim,1>(0,Dim); } function in class:Eigen::Transform 426 /** Applies on the right the translation matrix represented by the vector \a othe [all...] |
/external/opencv3/modules/core/include/opencv2/core/ |
affine.hpp | 99 void translation(const Vec3& t); 103 Vec3 translation() const; 188 translation(t); 197 translation(t); 215 translation(data(Rect(3, 0, 1, 3))); 220 translation(t); 304 void cv::Affine3<T>::translation(const Vec3& t) function in class:cv::Affine3 326 typename cv::Affine3<T>::Vec3 cv::Affine3<T>::translation() const function in class:cv::Affine3 390 Vec3 tc = translation(); 429 return (*this).rotate(affine.rotation()).translate(affine.translation()); [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
AppearAnimationUtils.java | 100 float translation = translationScale * mStartTranslation; local 102 mAppearing ? translation : -translation, 118 float translation = translationScale * mStartTranslation; local 126 mAppearing ? translation : -translation,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
Sms7BitEncodingTranslator.java | 56 * 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; local 123 translation = mTranslationTableCommon.get(c, -1); 126 if (translation == -1) { 129 translation = mTranslationTableCDMA.get(c, -1); 133 translation = mTranslationTableGSM.get(c, -1) [all...] |
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
KeyMaps.java | 312 * during final translation. 510 String translation = sOutputForResultChar.get(c); local 511 if (translation == null) { 516 result.append(translation);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/ |
TitledSettingsFragment.java | 70 int translation = 0; local 72 translation = mWheel.getCentralViewTop() - mWheel.getChildAt(0).getTop(); 75 float newTranslation = Math.min(Math.max(-mInitialHeaderHeight, -translation), 0);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
gettext.py | 54 'find', 'translation', 'install', 'textdomain', 'bindtextdomain', 458 # a mapping between absolute .mo file path and Translation object 461 def translation(domain, localedir=None, languages=None, function 469 raise IOError(ENOENT, 'No translation file found for domain', domain) 479 # Copy the translation object to allow setting fallbacks and 493 t = translation(domain, localedir, fallback=True, codeset=codeset) 529 t = translation(domain, _localedirs.get(domain, None), 537 t = translation(domain, _localedirs.get(domain, None), 545 t = translation(domain, _localedirs.get(domain, None), 556 t = translation(domain, _localedirs.get(domain, None) [all...] |
ssl.py | 92 import base64 # for DER-to-PEM translation namespace
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
gettext.py | 54 'find', 'translation', 'install', 'textdomain', 'bindtextdomain', 458 # a mapping between absolute .mo file path and Translation object 461 def translation(domain, localedir=None, languages=None, function 469 raise IOError(ENOENT, 'No translation file found for domain', domain) 479 # Copy the translation object to allow setting fallbacks and 493 t = translation(domain, localedir, fallback=True, codeset=codeset) 529 t = translation(domain, _localedirs.get(domain, None), 537 t = translation(domain, _localedirs.get(domain, None), 545 t = translation(domain, _localedirs.get(domain, None), 556 t = translation(domain, _localedirs.get(domain, None) [all...] |
ssl.py | 92 import base64 # for DER-to-PEM translation namespace
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
gettext.py | 54 'find', 'translation', 'install', 'textdomain', 'bindtextdomain', 458 # a mapping between absolute .mo file path and Translation object 461 def translation(domain, localedir=None, languages=None, function 469 raise IOError(ENOENT, 'No translation file found for domain', domain) 479 # Copy the translation object to allow setting fallbacks and 493 t = translation(domain, localedir, fallback=True, codeset=codeset) 529 t = translation(domain, _localedirs.get(domain, None), 537 t = translation(domain, _localedirs.get(domain, None), 545 t = translation(domain, _localedirs.get(domain, None), 556 t = translation(domain, _localedirs.get(domain, None) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
gettext.py | 54 'find', 'translation', 'install', 'textdomain', 'bindtextdomain', 458 # a mapping between absolute .mo file path and Translation object 461 def translation(domain, localedir=None, languages=None, function 469 raise IOError(ENOENT, 'No translation file found for domain', domain) 479 # Copy the translation object to allow setting fallbacks and 493 t = translation(domain, localedir, fallback=True, codeset=codeset) 529 t = translation(domain, _localedirs.get(domain, None), 537 t = translation(domain, _localedirs.get(domain, None), 545 t = translation(domain, _localedirs.get(domain, None), 556 t = translation(domain, _localedirs.get(domain, None) [all...] |
/external/selinux/policycoreutils/semanage/ |
seobject.py | 46 translation = gettext.translation(PROGNAME, localedir="/usr/share/locale", fallback=True) variable 47 _ = translation.ugettext [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
SearchDropTargetBar.java | 58 State(float sbAlpha, float dtbAlpha, float translation) { 61 mTranslation = translation; 165 float translation = isVertical ? 0 : mState.mTranslation * getMeasuredHeight(); local 168 int translationChange = Float.compare(mQSB.getTranslationY(), translation); 177 ObjectAnimator.ofFloat(mQSB, View.TRANSLATION_Y, translation)); 180 mQSB.setTranslationY(translation);
|