/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/ |
D | FullPreviewFrameLayout.kt | 44 val currentSize = currentDisplaySize in onMeasure() constant 47 if (currentSize == null || targetSize == null) { in onMeasure() 52 val maxRect = targetSize.findMaxRectWithRatioIn(currentSize) in onMeasure() 71 fun setCurrentAndTargetDisplaySize(currentSize: Point, targetSize: Point) { in setCurrentAndTargetDisplaySize() 72 currentDisplaySize = currentSize in setCurrentAndTargetDisplaySize()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | LongArray.java | 127 final int currentSize = mSize; in ensureCapacity() local 128 final int minCapacity = currentSize + count; in ensureCapacity() 130 final int targetCap = currentSize + (currentSize < (MIN_CAPACITY_INCREMENT / 2) ? in ensureCapacity() 131 MIN_CAPACITY_INCREMENT : currentSize >> 1); in ensureCapacity() 134 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
|
/packages/services/Car/car-lib/src/com/android/car/internal/util/ |
D | IntArray.java | 161 final int currentSize = mSize; in ensureCapacity() local 162 final int minCapacity = currentSize + count; in ensureCapacity() 164 final int targetCap = currentSize + (currentSize < (MIN_CAPACITY_INCREMENT / 2) in ensureCapacity() 165 ? MIN_CAPACITY_INCREMENT : currentSize >> 1); in ensureCapacity() 168 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
|
D | LongArray.java | 134 final int currentSize = mSize; in ensureCapacity() local 135 final int minCapacity = currentSize + count; in ensureCapacity() 137 final int targetCap = currentSize + (currentSize < (MIN_CAPACITY_INCREMENT / 2) in ensureCapacity() 138 ? MIN_CAPACITY_INCREMENT : currentSize >> 1); in ensureCapacity() 141 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | IntArray.java | 116 final int currentSize = mSize; in ensureCapacity() local 117 final int minCapacity = currentSize + count; in ensureCapacity() 119 final int targetCap = currentSize + (currentSize < (MIN_CAPACITY_INCREMENT / 2) ? in ensureCapacity() 120 MIN_CAPACITY_INCREMENT : currentSize >> 1); in ensureCapacity() 123 System.arraycopy(mValues, 0, newValues, 0, currentSize); in ensureCapacity()
|
D | DisplayController.java | 368 public final Point currentSize; field in DisplayController.Info 400 currentSize = displayInfo.size; in Info() 569 pw.println(" currentSize=" + info.currentSize); in dump()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | RecentsOrientedState.java | 577 Point currentSize = DisplayController.INSTANCE.get(mContext).getInfo().currentSize; in getLauncherDeviceProfile() local 581 width = Math.max(currentSize.x, currentSize.y); in getLauncherDeviceProfile() 582 height = Math.min(currentSize.x, currentSize.y); in getLauncherDeviceProfile() 584 width = Math.min(currentSize.x, currentSize.y); in getLauncherDeviceProfile() 585 height = Math.max(currentSize.x, currentSize.y); in getLauncherDeviceProfile()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
D | NavBarGestureHandler.java | 63 Point currentSize = displayInfo.currentSize; in NavBarGestureHandler() local 64 mDisplaySize.set(currentSize.x, currentSize.y); in NavBarGestureHandler()
|
D | EdgeBackGestureHandler.java | 121 Point currentSize = DisplayController.INSTANCE.get(mContext).getInfo().currentSize; in setViewGroupParent() local 122 mDisplaySize.set(currentSize.x, currentSize.y); in setViewGroupParent()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ShortcutSelectionLogic.java | 180 int currentSize = serviceTargets.size(); in insertServiceTarget() local 182 for (int i = 0; i < Math.min(currentSize, maxRankedTargets); in insertServiceTarget() 194 if (currentSize < maxRankedTargets) { in insertServiceTarget()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScanDetailCache.java | 117 int currentSize = mMap.size(); in trim() local 118 if (currentSize < mTrimSize) { in trim() 138 for (int i = 0; i < currentSize - mTrimSize; i++) { in trim()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SimpleOrientationTouchTransformer.java | 55 mOrientationRectF = new OrientationRectF(0, 0, info.currentSize.y, info.currentSize.x, in onDisplayInfoChanged()
|
D | OrientationTouchTransformer.java | 150 mCachedDisplayInfo = new CachedDisplayInfo(info.currentSize, info.rotation); in createOrAddTouchRegion() 214 mCachedDisplayInfo = new CachedDisplayInfo(region.currentSize, region.rotation); in resetSwipeRegions() 237 " displaySize: " + display.currentSize + in createRegionForDisplay() 241 Point size = display.currentSize; in createRegionForDisplay()
|
D | RecentsAnimationDeviceState.java | 569 && (displayInfo.currentSize.x < displayInfo.currentSize.y)); in canTriggerOneHandedAction()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 542 final int currentSize = (encoded == null ? 0 : encoded.length); in resizeStaticImage() local 543 updateRecodeParameters(currentSize); in resizeStaticImage() 758 private void updateRecodeParameters(final int currentSize) { in updateRecodeParameters() argument 761 if (currentSize > 0 && in updateRecodeParameters() 766 Math.min((int) (mQuality * Math.sqrt((1.0 * mByteLimit) / currentSize)), in updateRecodeParameters() 772 } else if (currentSize > 0 && in updateRecodeParameters() 790 } else if (currentSize <= 0 && !mHasReclaimedMemory) { in updateRecodeParameters()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | Concatenation.cpp | 118 const auto currentSize = getNumberOfElements(context->getInputShape(i)); in concatenation() local 119 inputs_uint8[i].resize(currentSize); in concatenation() 120 if (currentSize != 0) { in concatenation()
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | RotationHelper.java | 57 float originalSmallestWidth = dpiFromPx(Math.min(info.currentSize.x, info.currentSize.y), in getAllowRotationDefaultValue()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/ |
D | FullWallpaperPreviewBinder.kt | 85 val currentSize = displayUtils.getRealSize(checkNotNull(view.context.display)) in <lambda>() constant 87 currentSize, in <lambda>() 98 val isPreviewingFullScreen = displaySize == currentSize in <lambda>()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/unfold/ |
D | LauncherUnfoldTransitionController.kt | 121 dp.displayInfo.currentSize, in onPrepareUnfoldAnimation()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | OneHandedModeInputConsumer.java | 72 mDisplaySize = DisplayController.INSTANCE.get(mContext).getInfo().currentSize; in OneHandedModeInputConsumer()
|
D | ProgressDelegateInputConsumer.java | 101 mDisplaySize = DisplayController.INSTANCE.get(context).getInfo().currentSize; in ProgressDelegateInputConsumer()
|
D | NavHandleLongPressInputConsumer.java | 74 mScreenWidth = DisplayController.INSTANCE.get(context).getInfo().currentSize.x; in NavHandleLongPressInputConsumer()
|
D | DeviceLockedInputConsumer.java | 125 mDisplaySize = DisplayController.INSTANCE.get(context).getInfo().currentSize; in DeviceLockedInputConsumer()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarDragLayerController.java | 296 deviceProfile.getDisplayInfo().currentSize.y : in getTaskbarBackgroundHeight()
|
/packages/apps/Nfc/nci/jni/ |
D | NativeNfcTag.cpp | 1064 uint32_t currentSize, uint8_t flags) { in nativeNfcTag_doCheckNdefResult() argument 1099 sCheckNdefCurrentSize = currentSize; in nativeNfcTag_doCheckNdefResult()
|