Home
last modified time | relevance | path

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

1234567

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardAffordanceHelper.java303 float translation = getTranslationFromRadius(newRadius); in getAnimatorToRadius()
304 mTranslation = right ? -translation : translation; in getAnimatorToRadius()
376 private void setTranslation(float translation, boolean isReset, boolean animateReset) { in setTranslation() argument
377 translation = rightSwipePossible() ? translation : Math.max(0, translation); in setTranslation()
378 translation = leftSwipePossible() ? translation : Math.min(0, translation); in setTranslation()
379 float absTranslation = Math.abs(translation); in setTranslation()
380 if (translation != mTranslation || isReset) { in setTranslation()
381 KeyguardAffordanceView targetView = translation > 0 ? mLeftIcon : mRightIcon; in setTranslation()
382 KeyguardAffordanceView otherView = translation > 0 ? mRightIcon : mLeftIcon; in setTranslation()
405 mTranslation = translation; in setTranslation()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java120 int translation = -1; in translateIfNeeded() local
123 translation = mTranslationTableCommon.get(c, -1); in translateIfNeeded()
126 if (translation == -1) { in translateIfNeeded()
129 translation = mTranslationTableCDMA.get(c, -1); in translateIfNeeded()
133 translation = mTranslationTableGSM.get(c, -1); in translateIfNeeded()
138 if (translation != -1) { in translateIfNeeded()
141 + Integer.toHexString(translation) + " (" + (char) translation + ")"); in translateIfNeeded()
143 return (char) translation; in translateIfNeeded()
/frameworks/base/docs/html/distribute/engage/
Dtranslate.jd3 page.tags="app translation service, translation, localization"
18 <h2 id="before-translation">Before You Translate</h2>
74 <strong>Use a third-party translation service</strong>: You can use a translation service
75 that is offered by one of the many translation companies available online.
/frameworks/base/services/core/java/com/android/server/wm/animation/
DClipRectTBAnimation.java77 int translation =
81 mFromRect.top - translation + (int) ((mToRect.top - mFromRect.top) * it),
83 mFromRect.bottom - translation + (int) ((mToRect.bottom - mFromRect.bottom) * it));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableOutlineView.java39 int translation = (int) getTranslation();
41 outline.setRect(translation,
43 getWidth() + translation,
DNotificationSettingsIconRow.java263 public boolean isIconLocationChange(float translation) { in isIconLocationChange() argument
264 boolean onLeft = translation > mGearIcon.getPaddingStart(); in isIconLocationChange()
265 boolean onRight = translation < -mGearIcon.getPaddingStart(); in isIconLocationChange()
DExpandableView.java270 public void setTranslation(float translation) { in setTranslation() argument
271 setTranslationX(translation); in setTranslation()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java100 float translation = translationScale * mStartTranslation; in startAnimations() local
102 mAppearing ? translation : -translation, in startAnimations()
118 float translation = translationScale * mStartTranslation; in startAnimations() local
126 mAppearing ? translation : -translation, in startAnimations()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java183 private float getSwipeProgressForOffset(View view, float translation) { in getSwipeProgressForOffset() argument
185 float result = Math.abs(translation / viewSize); in getSwipeProgressForOffset()
198 float translation) { in updateSwipeProgressFromOffset() argument
199 float swipeProgress = getSwipeProgressForOffset(animView, translation); in updateSwipeProgressFromOffset()
622 float translation = getTranslation(mCurrView);
623 return DISMISS_IF_SWIPED_FAR_ENOUGH && Math.abs(translation) > 0.4 * getSize(mCurrView);
640 float translation = getTranslation(mCurrView);
642 && (velocity > 0) == (translation > 0);
647 float translation) {
/frameworks/base/docs/html/ndk/downloads/
Ddownloads_toc.cs3 For each document available in translation, add an localized title to this TOC.
4 Do not add localized title for docs not available in translation.
/frameworks/base/docs/html/ndk/samples/
Dsamples_toc.cs3 For each document available in translation, add an localized title to this TOC.
4 Do not add localized title for docs not available in translation.
/frameworks/base/docs/html/distribute/stories/games/
Dg4a-indian-rummy.jd41 that translation quality varied among their vendors and costs limited the
60 …G4A found that the cost per translation was much lower with the App Translation Service compared t…
77 translation agencies were much more difficult: files often required extensive
81 of weeks that we were used to with traditional translation agencies."
/frameworks/base/docs/html/distribute/tools/
Dlocalization-checklist.jd4 page.tags="local, l10n, translation, language"
84 development, translation, testing, and marketing efforts to these markets.
259 and regenerate the images after translation.
284 makes translation easier and results in a better end-product for users.
294 translators and result in better quality translation and will also help you
333 translation, look for and mark text that should remain as-is, without
334 translation, so that translators don’t change it.
340 ensures the text "%1$s" will not be changed during translation (otherwise it
427 <strong>Prepare for translation</strong>
437 Here are some ways to prepare your strings for translation:
[all …]
/frameworks/base/docs/html/ndk/reference/
Dreference_toc.cs3 For each document available in translation, add an localized title to this TOC.
4 Do not add localized title for docs not available in translation.
/frameworks/compile/slang/tests/F_one_definition_rule5/
Dstderr.txt.expect1 error: type 'DifferentDefinition5' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule8/
Dstderr.txt.expect1 error: type 'DifferentDefinition8' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule1/
Dstderr.txt.expect1 error: type 'DifferentDefinition1' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule7/
Dstderr.txt.expect1 error: type 'DifferentDefinition7' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule4/
Dstderr.txt.expect1 error: type 'DifferentDefinition4' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule6/
Dstderr.txt.expect1 error: type 'DifferentDefinition6' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule2/
Dstderr.txt.expect1 error: type 'DifferentDefinition2' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule3/
Dstderr.txt.expect1 error: type 'DifferentDefinition3' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/base/docs/html/ndk/guides/
Dguides_toc.cs3 For each document available in translation, add an localized title to this TOC.
4 Do not add localized title for docs not available in translation.
/frameworks/base/docs/html/distribute/stories/apps/
Dsayhi.jd59 non-professional Spanish translation with a professional one produced by the
70 really easy to use and the completion time for translation requests is very
/frameworks/rs/api/
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

1234567