Home
last modified time | relevance | path

Searched refs:outer (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java123 public static Point calculateCenterPosition(Point outer, Point inner, boolean alignStart, in calculateCenterPosition() argument
125 if (inner.x > outer.x || inner.y > outer.y) { in calculateCenterPosition()
127 + " completely within the outer rectangle " + outer + "."); in calculateCenterPosition()
133 relativePosition.x = isRtl ? outer.x - inner.x : 0; in calculateCenterPosition()
135 relativePosition.x = Math.round((outer.x - inner.x) / 2f); in calculateCenterPosition()
137 relativePosition.y = Math.round((outer.y - inner.y) / 2f); in calculateCenterPosition()
149 public static float calculateMinZoom(Point outer, Point inner) { in calculateMinZoom() argument
151 if (inner.x / (float) inner.y > outer.x / (float) outer.y) { in calculateMinZoom()
152 minZoom = inner.x / (float) outer.x; in calculateMinZoom()
154 minZoom = inner.y / (float) outer.y; in calculateMinZoom()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppEntryListManager.java237 BackgroundHandler(WeakReference<AppEntryListManager> outer, Looper looper) { in BackgroundHandler() argument
239 mOuter = outer; in BackgroundHandler()
244 AppEntryListManager outer = mOuter.get(); in handleMessage() local
245 if (outer == null) { in handleMessage()
250 outer.loadInfo(outer.mSession.getAllApps()); in handleMessage()
251 outer.mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
255 outer.loadInfo(Collections.singletonList(entry)); in handleMessage()
256 outer.mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
267 MainHandler(WeakReference<AppEntryListManager> outer) { in MainHandler() argument
268 mOuter = outer; in MainHandler()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DBoundedRect.java32 private RectF outer; field in BoundedRect
38 outer = new RectF(outerRect); in BoundedRect()
48 outer = new RectF(outerRect); in BoundedRect()
58 outer.set(outerRect); in resetTo()
97 r.set(outer); in setToOuter()
105 return new RectF(outer); in getOuter()
120 float[] outerCorners = CropMath.getCornersFromRect(outer); in moveInner()
131 if (!CropMath.inclusiveContains(outer, correctedInnerX, correctedInnerY)) { in moveInner()
146 if (!CropMath.inclusiveContains(outer, correctedInnerX, correctedInnerY)) { in moveInner()
150 CropMath.getEdgePoints(outer, correctionVec); in moveInner()
[all …]
DCropView.java213 RectF outer = mCropObj.getOuterBounds(); in applyOriginalAspect() local
214 float w = outer.width(); in applyOriginalAspect()
215 float h = outer.height(); in applyOriginalAspect()
218 mCropObj.resetBoundsTo(outer, outer); in applyOriginalAspect()
DCropObject.java57 public void resetBoundsTo(RectF inner, RectF outer) { in resetBoundsTo() argument
58 mBoundedRect.resetTo(0, outer, inner); in resetBoundsTo()
/packages/modules/NeuralNetworks/common/operations/
DL2Normalization.cpp56 for (uint32_t outer = 0; outer < outerSize; ++outer) { in l2normFloat32Impl() local
57 const float* inputBeg = inputData + outer * axisSize * innerSize; in l2normFloat32Impl()
59 float* outputBeg = outputData + outer * axisSize * innerSize; in l2normFloat32Impl()
83 for (uint32_t outer = 0; outer < outerSize; ++outer) { in l2normQuant8Impl() local
84 const uint8_t* inputBeg = inputData + outer * axisSize * innerSize; in l2normQuant8Impl()
86 uint8_t* outputBeg = outputData + outer * axisSize * innerSize; in l2normQuant8Impl()
115 for (uint32_t outer = 0; outer < outerSize; ++outer) { in l2normQuant8SignedImpl() local
116 const int8_t* inputBeg = inputData + outer * axisSize * innerSize; in l2normQuant8SignedImpl()
118 int8_t* outputBeg = outputData + outer * axisSize * innerSize; in l2normQuant8SignedImpl()
DLogSoftmax.cpp46 for (uint32_t outer = 0; outer < outerSize; ++outer) { in compute() local
51 T maxValue = input[outer * axisSize * innerSize + inner]; in compute()
53 maxValue = std::max(maxValue, input[(outer * axisSize + i) * innerSize + inner]); in compute()
59 (input[(outer * axisSize + i) * innerSize + inner] - maxValue) * beta)); in compute()
64 output[(outer * axisSize + i) * innerSize + inner] = in compute()
65 (input[(outer * axisSize + i) * innerSize + inner] - maxValue) * beta - in compute()
DArgMinMax.cpp35 for (int outer = 0; outer < outerSize; ++outer) { in argMinMaxImpl() local
37 auto minMaxValue = inputData[outer * axisSize * innerSize + inner]; in argMinMaxImpl()
40 const auto& value = inputData[(outer * axisSize + i) * innerSize + inner]; in argMinMaxImpl()
46 outputData[outer * innerSize + inner] = minMaxIndex; in argMinMaxImpl()
DSoftmax.cpp60 for (uint32_t outer = 0; outer < outerSize; ++outer) { in softmaxSlowFloat32() local
61 const float* inputBeg = inputData + outer * axisSize * innerSize; in softmaxSlowFloat32()
63 float* outputBeg = outputData + outer * axisSize * innerSize; in softmaxSlowFloat32()
135 for (uint32_t outer = 0; outer < outerSize; ++outer) { in softmaxQuant8Impl() local
136 const T* inputBeg = inputData + outer * axisSize * innerSize; in softmaxQuant8Impl()
138 T* outputBeg = outputData + outer * axisSize * innerSize; in softmaxQuant8Impl()
DChannelShuffle.cpp45 for (uint32_t outer = 0; outer < outerSize; ++outer) { in eval() local
47 const T* inputBase = inputData + outer * axisSize * innerSize + inner; in eval()
48 T* outputBase = outputData + outer * axisSize * innerSize + inner; in eval()
DGather.cpp47 for (uint32_t outer = 0; outer < outerSize; ++outer) { in eval() local
52 std::memcpy(outputData + (outer * indicesCount + outputIndex) * innerSize, in eval()
53 inputData + (outer * axisSize + inputIndex) * innerSize, in eval()
DLocalResponseNormalization.cpp60 for (uint32_t outer = 0; outer < outerSize; ++outer) { in localResponseNormFloat32Impl() local
61 const float* inputBase = inputData + outer * axisSize * innerSize; in localResponseNormFloat32Impl()
62 float* outputBase = outputData + outer * axisSize * innerSize; in localResponseNormFloat32Impl()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCrop.java168 RectF outer = mCropObj.getOuterBounds(); in applyOriginalAspect() local
169 float w = outer.width(); in applyOriginalAspect()
170 float h = outer.height(); in applyOriginalAspect()
173 mCropObj.resetBoundsTo(outer, outer); in applyOriginalAspect()
309 RectF outer = mCropObj.getOuterBounds(); in onDraw() local
310 FilterCropRepresentation.findNormalizedCrop(mScreenCropBounds, (int) outer.width(), in onDraw()
311 (int) outer.height()); in onDraw()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java277 int outer = mRadius + mRadiusInc - rgap; in layoutPie() local
279 layoutItems(mItems, (float) (Math.PI / 2), inner, outer, gap); in layoutPie()
283 int outer, int gap) { in layoutItems() argument
297 outer, inner, mCenter); in layoutItems()
307 int r = inner + (outer - inner) * 2 / 3; in layoutItems()
313 item.setGeometry(itemstart, sweep, inner, outer); in layoutItems()
316 outer + mRadiusInc / 2, gap); in layoutItems()
322 private Path makeSlice(float start, float end, int outer, int inner, Point center) { in makeSlice() argument
324 new RectF(center.x - outer, center.y - outer, center.x + outer, in makeSlice()
325 center.y + outer); in makeSlice()
DPieItem.java43 private int outer; field in PieItem
137 outer = outside; in setGeometry()
166 return outer; in getOuterRadius()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java279 int outer = radius + radiusInc - rgap; in layoutPie() local
281 layoutItems(items, (float) (Math.PI / 2), inner, outer, gap); in layoutPie()
284 private void layoutItems(List<PieItem> items, float centerAngle, int inner, int outer, int gap) { in layoutItems() argument
297 Path path = makeSlice(getDegrees(0) - gap, getDegrees(sweep) + gap, outer, inner, center); in layoutItems()
307 int r = inner + (outer - inner) * 2 / 3; in layoutItems()
313 item.setGeometry(itemstart, sweep, inner, outer); in layoutItems()
315 layoutItems(item.getItems(), angle, inner, outer + radiusInc / 2, gap); in layoutItems()
321 private Path makeSlice(float start, float end, int outer, int inner, Point center) { in makeSlice() argument
322 RectF bb = new RectF(center.x - outer, center.y - outer, center.x + outer, center.y + outer); in makeSlice()
DPieItem.java40 private int outer; field in PieItem
120 outer = outside; in setGeometry()
144 return outer; in getOuterRadius()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneAdapter.java248 outer: in performFiltering()
254 break outer; in performFiltering() local
264 break outer; in performFiltering() local
/packages/providers/MediaProvider/tools/genfiles/
Dgenfiles.sh133 …a from audio_playlists left outer join audio_playlists_map on audio_playlists._id=audio_playlists_…
/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsProvider.java503 outer: while (true) { in findDocumentPath()
523 break outer; in findDocumentPath() local
530 break outer; in findDocumentPath() local
/packages/apps/Car/DebuggingRestrictionController/server/functions/
D.eslintrc.json95 // Warn against catch clause parameters from shadowing variables in the outer scope
/packages/apps/Car/libs/car-ui-lib/
DREADME.md21 …select "Open an existing Android Studio project", then navigating to the (outer) car-ui-lib folder:
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec1154 * Think of Values as being sliced along its outer-most dimension.
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz

12