Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Car/Cluster/src/android/car/cluster/
DLaneView.java114 Shift shift = getShift(lane); in combineBitmapFromLane() local
118 drawToCanvas(laneDir, canvas, false, shift); in combineBitmapFromLane()
124 drawToCanvas(laneDir, canvas, true, shift); in combineBitmapFromLane()
132 Shift shift) { in drawToCanvas() argument
133 int offset = getOffset(laneDir, shift); in drawToCanvas()
186 private int getOffset(LaneDirection laneDir, Shift shift) { in getOffset() argument
187 if (shift == Shift.BOTH) { in getOffset()
200 } else if (shift == Shift.LEFT) { in getOffset()
204 } else if (shift == Shift.RIGHT) { in getOffset()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DBitmapUtils.java46 int shift = 0; in calculateInSampleSize() local
52 while (((halfHeight >> shift) >= targetHeight) && ((halfWidth >> shift) >= targetWidth)) { in calculateInSampleSize()
53 shift++; in calculateInSampleSize()
56 return 1 << shift; in calculateInSampleSize()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DBaseSwipeUpHandler.java167 float shift; in updateDisplacement() local
169 shift = mDragLengthFactor; in updateDisplacement()
172 shift = mTransitionDragLength == 0 ? 0 : translation / mTransitionDragLength; in updateDisplacement()
173 if (shift > DRAG_LENGTH_FACTOR_START_PULLBACK) { in updateDisplacement()
174 float pullbackProgress = Utilities.getProgress(shift, in updateDisplacement()
177 shift = DRAG_LENGTH_FACTOR_START_PULLBACK + pullbackProgress in updateDisplacement()
182 mCurrentShift.updateValue(shift); in updateDisplacement()
347 float shift = mCurrentShift.value; in applyTransformUnchecked() local
351 mTransformParams.setProgress(shift).setOffsetX(offsetX).setOffsetScale(offsetScale); in applyTransformUnchecked()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmAlphabet.java688 int shift = bitOffset % 8; in gsm7BitPackedToString() local
691 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); in gsm7BitPackedToString()
694 if (shift > 1) { in gsm7BitPackedToString()
696 gsmVal &= 0x7f >> (shift - 1); in gsm7BitPackedToString()
698 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift)); in gsm7BitPackedToString()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DInputPointers.java116 public void shift(final int elementCount) { in shift() method in InputPointers
117 mXCoordinates.shift(elementCount); in shift()
118 mYCoordinates.shift(elementCount); in shift()
119 mPointerIds.shift(elementCount); in shift()
120 mTimes.shift(elementCount); in shift()
DResizableIntArray.java146 public void shift(final int elementCount) { in shift() method in ResizableIntArray
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSpringRelativeLayout.java119 protected void setDampedScrollShift(float shift) { in setDampedScrollShift() argument
120 if (shift != mDampedScrollShift) { in setDampedScrollShift()
121 mDampedScrollShift = shift; in setDampedScrollShift()
132 protected void finishWithShiftAndVelocity(float shift, float velocity, in finishWithShiftAndVelocity() argument
134 setDampedScrollShift(shift); in finishWithShiftAndVelocity()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DClearAllButton.java90 float shift = Math.min(scrollState.scrollFromEdge, width); in onPageScroll() local
91 setTranslationX(mIsRtl ? (mScrollOffset - shift) : (mScrollOffset + shift)); in onPageScroll()
92 mScrollAlpha = 1 - shift / width; in onPageScroll()
DTaskView.java671 public void setVerticalShift(int shift) { in setVerticalShift() argument
673 mView.getPaddingRight(), mOldPaddingBottom + shift); in setVerticalShift() local
/packages/apps/Bluetooth/src/com/android/bluetooth/util/
DGsmAlphabet.java174 int shift = bitOffset % 8; in gsm7BitPackedToString() local
177 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); in gsm7BitPackedToString()
180 if (shift > 1) { in gsm7BitPackedToString()
182 gsmVal &= 0x7f >> (shift - 1); in gsm7BitPackedToString()
184 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift)); in gsm7BitPackedToString()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java548 int shift; in getSystemScrollPos() local
551 shift = - mExtraSpaceLow; in getSystemScrollPos()
554 shift = + mExtraSpaceHigh; in getSystemScrollPos()
558 shift = 0; in getSystemScrollPos()
569 if (scrollCenter + shift - mMinEdge <= middlePosition) { in getSystemScrollPos()
576 if (mMaxEdge - scrollCenter - shift + mExpandedSize <= afterMiddlePosition) { in getSystemScrollPos()
583 return scrollCenter - middlePosition - mPaddingLow + shift; in getSystemScrollPos()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dbiginteger.h128 BigInteger& operator<<=(size_t shift) {
129 if (IsZero() || shift == 0) return *this;
131 size_t offset = shift / kTypeBit;
132 size_t interShift = shift % kTypeBit;
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutDragPreviewProvider.java37 public ShortcutDragPreviewProvider(View icon, Point shift) { in ShortcutDragPreviewProvider() argument
39 mPositionShift = shift; in ShortcutDragPreviewProvider()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduComposer.java277 int shift = (size - 1) * 8; in appendLongInteger() local
280 append((int) ((longInt >>> shift) & 0xff)); in appendLongInteger()
281 shift = shift - 8; in appendLongInteger()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEvents.java47 TestEvents.builder().mouse().primary().shift().build();
197 public Builder shift() { in shift() method in TestEvents.Builder
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java134 int shift = expectedLeft - left; in onLayout() local
135 setTranslationX(shift); in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java144 protected void setDampedScrollShift(float shift) { in setDampedScrollShift() argument
147 super.setDampedScrollShift(Utilities.boundToRange(shift, -maxShift, maxShift)); in setDampedScrollShift()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DInputPointersTests.java330 src.shift(shiftAmount); in testShift()
DResizableIntArrayTests.java393 src.shift(shiftAmount); in testShift()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1424 void shift(int whichEdge, int delta) { in shift() method in CellLayout.ViewCluster
1555 cluster.shift(whichEdge, 1); in pushViewsToTempLocation()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...

12