Searched refs:border (Results 1 - 10 of 10) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DPyramid.cpp28 real width, real height, real border)
30 real border2 = (real) (border << 1);
44 curr->border = border;
46 curr->ptr = y + border;
50 *y = position + border;
62 PyramidShort *PyramidShort::allocateImage(real width, real height, real border) argument
64 real border2 = (real) (border << 1);
74 img->border = border;
27 allocatePyramidPacked(real levels, real width, real height, real border) argument
[all...]
H A DGeometry.h50 // Clip x to be within [-border,width+border-1]
51 inline void clipToSegment(int &x, int width, int border) argument
53 if(x < -border)
54 x = -border;
55 else if(x >= width+border)
56 x = width + border - 1;
59 // Return true if x within [-border,width+border-1]
60 inline bool inSegment(int x, int width, int border) argument
[all...]
H A DPyramid.h37 real border; // border size member in class:PyramidShort
40 static PyramidShort *allocatePyramidPacked(real width, real height, real levels, real border = 0);
41 static PyramidShort *allocateImage(real width, real height, real border);
H A DImageUtils.h107 static ImageType allocateImage(int width, int height, int numChannels, short int border = 0);
145 unsigned short border; member in struct:__anon8
H A DImageUtils.cpp333 ImageType ImageUtils::allocateImage(int width, int height, int numChannels, short int border) argument
374 yuv->Y.border = yuv->U.border = yuv->V.border = (unsigned short) 0;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
H A DSelectionRenderer.java33 int stroke, Paint selectPaint, int border, Paint borderPaint) {
39 top + stroke + border, borderPaint);
40 canvas.drawRect(left + stroke, bottom - stroke - border, right - stroke,
42 canvas.drawRect(left + stroke, top + stroke, left + stroke + border,
44 canvas.drawRect(right - stroke - border, top + stroke, right - stroke,
32 drawSelection(Canvas canvas, int left, int top, int right, int bottom, int stroke, Paint selectPaint, int border, Paint borderPaint) argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterImageBorderRepresentation.java67 FilterImageBorderRepresentation border = (FilterImageBorderRepresentation) representation;
68 if (border.mDrawableResource == mDrawableResource) {
H A DFilterColorBorderRepresentation.java108 FilterColorBorderRepresentation border = (FilterColorBorderRepresentation) representation;
109 if (border.mParamColor.getValue() == mParamColor.getValue()
110 && border.mParamRadius.getValue() == mParamRadius.getValue()
111 && border.mParamSize.getValue() == mParamSize.getValue()) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DImagePreset.java346 // If the filter is an "None" effect or border, then just don't add this filter.
404 FilterRepresentation border = null;
408 border = rep;
414 if (border != null) {
415 mFilters.add(border);
485 // get the border from the list of filters.
486 FilterRepresentation border = getFilterRepresentationForType(
488 if (border != null && mDoApplyGeometry) {
489 bitmap = environment.applyRepresentation(border, bitmap);
515 // for now, let's skip the border a
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DHtmlConversationTemplates.java184 final String border = Utils.isRunningKitkatOrLater() ?
185 "img[blocked-src] { border: 1px solid #CCCCCC; }" : "";
186 append(sConversationUpper, viewportWidth, border, sideMargin, conversationHeaderHeight);

Completed in 141 milliseconds