/packages/modules/NeuralNetworks/common/ |
D | QuantUtils.h | 19 inline int32_t MultiplyByQuantizedMultiplier(int32_t x, int32_t quantized_multiplier, int shift) { in MultiplyByQuantizedMultiplier() argument 22 int left_shift = shift > 0 ? shift : 0; in MultiplyByQuantizedMultiplier() 23 int right_shift = shift > 0 ? 0 : -shift; in MultiplyByQuantizedMultiplier() 32 int32_t shift, int32_t n_batch, int32_t n_input, in MatrixBatchVectorMultiplyAccumulate() argument 44 acc = MultiplyByQuantizedMultiplier(acc, multiplier, shift); in MatrixBatchVectorMultiplyAccumulate() 184 void CwiseMul(const int16_t* input_1, const int16_t* input_2, int n_batch, int n_input, int shift, 186 void CwiseMul(const int16_t* input_1, const int16_t* input_2, int32_t multiplier, int32_t shift, 207 int32_t multiplier, int shift, int16_t* result);
|
D | QuantUtils.cpp | 99 void CwiseMul(const int16_t* input_1, const int16_t* input_2, int n_batch, int n_input, int shift, in CwiseMul() argument 107 output[index] = static_cast<int16_t>(gemmlowp::RoundingDivideByPOT(value, shift)); in CwiseMul() 112 void CwiseMul(const int16_t* input_1, const int16_t* input_2, int32_t multiplier, int32_t shift, in CwiseMul() argument 120 value = MultiplyByQuantizedMultiplier(value, multiplier, shift); in CwiseMul() 180 int32_t multiplier, int shift, int16_t* result) { in VectorBatchVectorCwiseProductAccumulate() argument 184 prod = MultiplyByQuantizedMultiplier(prod, multiplier, shift); in VectorBatchVectorCwiseProductAccumulate()
|
D | OperationsUtils.cpp | 175 bool QuantizeMultiplier(double double_multiplier, int32_t* quantized_multiplier, int32_t* shift) { in QuantizeMultiplier() argument 178 *shift = 0; in QuantizeMultiplier() 181 const double q = std::frexp(double_multiplier, shift); in QuantizeMultiplier() 186 ++*shift; in QuantizeMultiplier() 199 if (*shift < -31) { in QuantizeMultiplier() 200 *shift = 0; in QuantizeMultiplier()
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | LaneView.java | 115 Shift shift = getShift(lane); in combineBitmapFromLane() local 119 drawToCanvas(laneDir, canvas, false, shift); in combineBitmapFromLane() 125 drawToCanvas(laneDir, canvas, true, shift); in combineBitmapFromLane() 133 Shift shift) { in drawToCanvas() argument 134 int offset = getOffset(laneDir, shift); in drawToCanvas() 187 private int getOffset(LaneDirection laneDir, Shift shift) { in getOffset() argument 188 if (shift == Shift.BOTH) { in getOffset() 201 } else if (shift == Shift.LEFT) { in getOffset() 205 } else if (shift == Shift.RIGHT) { in getOffset()
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | LaneView.java | 116 Shift shift = getShift(lane); in combineBitmapFromLane() local 120 drawToCanvas(laneDir, canvas, false, shift); in combineBitmapFromLane() 126 drawToCanvas(laneDir, canvas, true, shift); in combineBitmapFromLane() 134 Shift shift) { in drawToCanvas() argument 135 int offset = getOffset(laneDir, shift); in drawToCanvas() 188 private int getOffset(LaneDirection laneDir, Shift shift) { in getOffset() argument 189 if (shift == Shift.BOTH) { in getOffset() 202 } else if (shift == Shift.LEFT) { in getOffset() 206 } else if (shift == Shift.RIGHT) { in getOffset()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | BitmapUtils.java | 46 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/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | InputPointers.java | 116 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()
|
D | ResizableIntArray.java | 146 public void shift(final int elementCount) { in shift() method in ResizableIntArray
|
/packages/modules/StatsD/statsd/src/ |
D | FieldValue.h | 138 int32_t shift = 8 * (kMaxLogDepth - depth); in getRawPosAtDepth() local 139 int32_t mask = 0xff << shift; in getRawPosAtDepth() 141 return (field & mask) >> shift; in getRawPosAtDepth() 234 int32_t shift = 8 * (kMaxLogDepth - depth); in getRawMaskAtDepth() local 235 int32_t mask = 0xff << shift; in getRawMaskAtDepth() 237 return (field & mask) >> shift; in getRawMaskAtDepth()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | GsmAlphabet.java | 692 int shift = bitOffset % 8; in gsm7BitPackedToString() local 695 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); in gsm7BitPackedToString() 698 if (shift > 1) { in gsm7BitPackedToString() 700 gsmVal &= 0x7f >> (shift - 1); in gsm7BitPackedToString() 702 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift)); in gsm7BitPackedToString()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/util/ |
D | GsmAlphabet.java | 174 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/modules/NeuralNetworks/common/random/ |
D | simple_philox.cc | 25 const int shift = Rand32() % (max_log + 1); in Skewed() local 26 const uint32 mask = shift == 32 ? ~static_cast<uint32>(0) : (1 << shift) - 1; in Skewed()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | ClearAllButton.java | 114 float shift = Math.min(adjustedScrollFromEdge, orientationSize); in onRecentsViewScroll() local 115 mNormalTranslationPrimary = mIsRtl ? -shift : shift; in onRecentsViewScroll() 121 mScrollAlpha = 1 - shift / orientationSize; in onRecentsViewScroll()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollController.java | 548 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/ |
D | biginteger.h | 128 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/quickstep/src/com/android/quickstep/ |
D | SwipeUpAnimationLogic.java | 110 float shift; in updateDisplacement() local 112 shift = mDragLengthFactor; in updateDisplacement() 115 shift = mTransitionDragLength == 0 ? 0 : translation / mTransitionDragLength; in updateDisplacement() 118 mCurrentShift.updateValue(shift); in updateDisplacement()
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutDragPreviewProvider.java | 40 public ShortcutDragPreviewProvider(View icon, Point shift) { in ShortcutDragPreviewProvider() argument 42 mPositionShift = shift; in ShortcutDragPreviewProvider()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduComposer.java | 277 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/ |
D | TestEvents.java | 47 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/ |
D | AppsSearchContainerLayout.java | 126 int shift = expectedLeft - left; in onLayout() local 127 setTranslationX(shift); in onLayout()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | ResizableIntArrayTests.java | 393 src.shift(shiftAmount); in testShift()
|
D | InputPointersTests.java | 330 src.shift(shiftAmount); in testShift()
|
/packages/modules/NeuralNetworks/common/include/ |
D | OperationsUtils.h | 165 int32_t* shift);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 1487 void shift(int whichEdge, int delta) { in shift() method in CellLayout.ViewCluster 1618 cluster.shift(whichEdge, 1); in pushViewsToTempLocation()
|
/packages/modules/RuntimeI18n/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 247 Landroid/icu/impl/ICUResourceBundleReader$ResourceCache$Level;->shift:I 1297 Landroid/icu/impl/UnicodeSetStringSpan$OffsetList;->shift(I)V
|