/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardAffordanceHelper.java | 299 float translation = getTranslationFromRadius(newRadius); in getAnimatorToRadius() 300 mTranslation = right ? -translation : translation; in getAnimatorToRadius() 372 private void setTranslation(float translation, boolean isReset, boolean animateReset) { in setTranslation() argument 373 translation = rightSwipePossible() ? translation : Math.max(0, translation); in setTranslation() 374 translation = leftSwipePossible() ? translation : Math.min(0, translation); in setTranslation() 375 float absTranslation = Math.abs(translation); in setTranslation() 376 if (translation != mTranslation || isReset) { in setTranslation() 377 KeyguardAffordanceView targetView = translation > 0 ? mLeftIcon : mRightIcon; in setTranslation() 378 KeyguardAffordanceView otherView = translation > 0 ? mRightIcon : mLeftIcon; in setTranslation() 399 mTranslation = translation; in setTranslation() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | Sms7BitEncodingTranslator.java | 110 int translation = -1; in translateIfNeeded() local 115 translation = mTranslationTableCommon.get(c, -1); in translateIfNeeded() 118 if (translation == -1) { in translateIfNeeded() 121 translation = mTranslationTableCDMA.get(c, -1); in translateIfNeeded() 125 translation = mTranslationTableGSM.get(c, -1); in translateIfNeeded() 130 if (translation != -1) { in translateIfNeeded() 133 + Integer.toHexString(translation) + " (" + (char) translation + ")"); in translateIfNeeded() 135 return (char) translation; in translateIfNeeded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationMenuRow.java | 473 public void onParentTranslationUpdate(float translation) { in onParentTranslationUpdate() argument 474 mTranslation = translation; in onParentTranslationUpdate() 480 final float absTrans = Math.abs(translation); in onParentTranslationUpdate() 726 float translation = getTranslation(); in isWithinSnapMenuThreshold() local 730 ? translation > snapBackThreshold && translation < targetRight in isWithinSnapMenuThreshold() 731 : translation < -snapBackThreshold && translation > -targetRight; in isWithinSnapMenuThreshold() 737 final float translation = getTranslation(); in isSwipedEnoughToShowMenu() local 739 translation > minimumSwipeDistance in isSwipedEnoughToShowMenu() 740 : translation < -minimumSwipeDistance); in isSwipedEnoughToShowMenu() 750 float translation = getTranslation(); in shouldSnapBack() local [all …]
|
D | ExpandableOutlineView.java | 87 int translation = mShouldTranslateContents ? (int) getTranslation() : 0; 88 int left = Math.max(translation, 0); 90 int right = getWidth() + Math.min(translation, 0); 114 int translation = mShouldTranslateContents && !ignoreTranslation in getClipPath() local 117 left = Math.max(translation, 0) - halfExtraWidth; in getClipPath() 119 right = getWidth() + halfExtraWidth + Math.min(translation, 0); in getClipPath()
|
/frameworks/base/services/core/java/com/android/server/wm/animation/ |
D | ClipRectTBAnimation.java | 77 int translation = 81 mFromRect.top - translation + (int) ((mToRect.top - mFromRect.top) * it), 83 mFromRect.bottom - translation + (int) ((mToRect.bottom - mFromRect.bottom) * it));
|
/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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 192 private float getSwipeProgressForOffset(View view, float translation) { in getSwipeProgressForOffset() argument 194 float result = Math.abs(translation / viewSize); in getSwipeProgressForOffset() 212 float translation) { in updateSwipeProgressFromOffset() argument 213 float swipeProgress = getSwipeProgressForOffset(animView, translation); in updateSwipeProgressFromOffset() 683 float translation = getTranslation(mCurrView); in swipedFarEnough() local 685 && Math.abs(translation) > SWIPED_FAR_ENOUGH_SIZE_FRACTION * getSize(mCurrView); in swipedFarEnough() 689 float translation = getTranslation(mCurrView); in isDismissGesture() local 693 && mCallback.canChildBeDismissedInDirection(mCurrView, translation > 0); in isDismissGesture() 708 float translation = getTranslation(mCurrView); in swipedFastEnough() local 710 && (velocity > 0) == (translation > 0); in swipedFastEnough() [all …]
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/ |
D | NotificationSwipeActionHelper.java | 55 public boolean swipedFarEnough(float translation, float viewSize); in swipedFarEnough() argument 57 public boolean swipedFastEnough(float translation, float velocity); in swipedFastEnough() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelper.java | 150 public void onMoveUpdate(View view, MotionEvent ev, float translation, float delta) { in onMoveUpdate() argument 160 float translation) { in handleUpEvent() argument 332 public boolean swipedFastEnough(float translation, float viewSize) { in swipedFastEnough() argument 343 public boolean swipedFarEnough(float translation, float viewSize) { in swipedFarEnough() argument
|
/frameworks/compile/slang/tests/F_one_definition_rule3/ |
D | stderr.txt.expect | 1 error: type 'DifferentDefinition3' in different translation unit (def2.rscript v.s. def1.rscript) h…
|
/frameworks/compile/slang/tests/F_odr_nested_records_2/ |
D | stderr.txt.expect | 1 error: type 'Inner' in different translation unit (odr2.rscript v.s. odr1.rscript) has incompatible…
|
/frameworks/compile/slang/tests/F_one_definition_rule5/ |
D | stderr.txt.expect | 1 error: type 'DifferentDefinition5' in different translation unit (def2.rscript v.s. def1.rscript) h…
|
/frameworks/compile/slang/tests/F_one_definition_rule2/ |
D | stderr.txt.expect | 1 error: type 'DifferentDefinition2' in different translation unit (def2.rscript v.s. def1.rscript) h…
|
/frameworks/compile/slang/tests/F_odr_nested_records_4/ |
D | stderr.txt.expect | 1 error: type 'Middle' in different translation unit (odr2.rscript v.s. odr1.rscript) has incompatibl…
|
/frameworks/compile/slang/tests/F_odr_nested_records_3/ |
D | stderr.txt.expect | 1 error: type 'Inner' in different translation unit (odr2.rscript v.s. odr1.rscript) has incompatible…
|
/frameworks/compile/slang/tests/F_odr_nested_records_1/ |
D | stderr.txt.expect | 1 error: type 'Outer' in different translation unit (odr2.rscript v.s. odr1.rscript) has incompatible…
|
/frameworks/compile/slang/tests/F_odr_nested_records_6/ |
D | stderr.txt.expect | 1 error: type 'Inner' in different translation unit (odr2.rscript v.s. odr1.rscript) has incompatible…
|
/frameworks/compile/slang/tests/F_one_definition_rule7/ |
D | stderr.txt.expect | 1 error: type 'DifferentDefinition7' in different translation unit (def2.rscript v.s. def1.rscript) h…
|
/frameworks/compile/slang/tests/F_one_definition_rule4/ |
D | stderr.txt.expect | 1 error: type 'DifferentDefinition4' in different translation unit (def2.rscript v.s. def1.rscript) h…
|
/frameworks/compile/slang/tests/F_odr_nested_records_7/ |
D | stderr.txt.expect | 1 error: type 'Outer' in different translation unit (odr2.rscript v.s. odr1.rscript) has incompatible…
|
/frameworks/compile/slang/tests/F_one_definition_rule8/ |
D | stderr.txt.expect | 1 error: type 'DifferentDefinition7' in different translation unit (def2.rscript v.s. def1.rscript) h…
|
/frameworks/compile/slang/tests/F_one_definition_rule6/ |
D | stderr.txt.expect | 1 error: type 'DifferentDefinition6' in different translation unit (def2.rscript v.s. def1.rscript) h…
|
/frameworks/compile/slang/tests/F_one_definition_rule1/ |
D | stderr.txt.expect | 1 error: type 'DifferentDefinition1' in different translation unit (def2.rscript v.s. def1.rscript) h…
|
/frameworks/compile/slang/tests/F_odr_nested_records_8/ |
D | stderr.txt.expect | 1 error: type 'Outer' in different translation unit (odr2.rscript v.s. odr1.rscript) has incompatible…
|