Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 50) sorted by relevance

12

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DInterp.h52 int off = (int)(xfrac * CTAPS); in ciCalc() local
54 tmpf[0] = in[0] * ciTable[off + 40]; in ciCalc()
55 tmpf[0] += in[1] * ciTable[off]; in ciCalc()
56 tmpf[0] += in[2] * ciTable[40 - off]; in ciCalc()
57 tmpf[0] += in[3] * ciTable[80 - off]; in ciCalc()
59 tmpf[1] = in[0] * ciTable[off + 40]; in ciCalc()
60 tmpf[1] += in[1] * ciTable[off]; in ciCalc()
61 tmpf[1] += in[2] * ciTable[40 - off]; in ciCalc()
62 tmpf[1] += in[3] * ciTable[80 - off]; in ciCalc()
64 tmpf[2] = in[0] * ciTable[off + 40]; in ciCalc()
[all …]
DPyramid.cpp115 int off, off2, height, h, w; in BorderSpread() local
119 off = pyr->border - left; in BorderSpread()
120 off2 = pyr->width + off + pyr->border - right - 1; in BorderSpread()
123 base = pyr->ptr[-h] - off; in BorderSpread()
152 int off = in->border / 2; in BorderExpandOdd() local
155 for (j = -off; j < in->height + off; j++) { in BorderExpandOdd()
167 for (i = -off; i < scr->width + off; i++) { in BorderExpandOdd()
211 int off = scr->border - 2; in BorderReduceOdd() local
212 s = scr->ptr[-scr->border] - (off >> 1); in BorderReduceOdd()
214 ls = scr->ptr[scr->height + scr->border - 1] + scr->pitch - (off >> 1); in BorderReduceOdd()
[all …]
/packages/apps/Gallery2/jni/filters/
Dfx.c19 __inline__ int interp(unsigned char *src, int p , int *off ,float dr,float dg, float db){ in interp() argument
21 float fr00 = (src[p+off[0]])*(1-dr)+(src[p+off[1]])*dr; in interp()
22 float fr01 = (src[p+off[2]])*(1-dr)+(src[p+off[3]])*dr; in interp()
23 float fr10 = (src[p+off[4]])*(1-dr)+(src[p+off[5]])*dr; in interp()
24 float fr11 = (src[p+off[6]])*(1-dr)+(src[p+off[7]])*dr; in interp()
47 int off[8] = { in JNIFUNCF() local
80 rgb[RED] = clamp(interp(lutrgb,p ,off,dr,dg,db)); in JNIFUNCF()
81 rgb[GREEN] = clamp(interp(lutrgb,p+1,off,dr,dg,db)); in JNIFUNCF()
82 rgb[BLUE] = clamp(interp(lutrgb,p+2,off,dr,dg,db)); in JNIFUNCF()
Dedge.c99 int off = k * 4; in JNIFUNCF() local
100 *(buf + buf_row_ring + off) = ret; in JNIFUNCF()
101 *(buf + buf_row_ring + off + 1) = ret; in JNIFUNCF()
102 *(buf + buf_row_ring + off + 2) = ret; in JNIFUNCF()
103 *(buf + buf_row_ring + off + 3) = *(ptr + loc + 3); in JNIFUNCF()
DredEyeMath.c106 void stuff(int r, int g, int b, unsigned char *img, int off) { in stuff() argument
107 img[off + 2] = b; in stuff()
108 img[off + 1] = g; in stuff()
109 img[off] = r; in stuff()
/packages/apps/TV/tuner/src/com/android/tv/tuner/util/
DByteArrayBuffer.java57 public void append(final byte[] b, int off, int len) { in append() argument
61 if ((off < 0) in append()
62 || (off > b.length) in append()
64 || ((off + len) < 0) in append()
65 || ((off + len) > b.length)) { in append()
75 System.arraycopy(b, off, this.buffer, this.len, len); in append()
88 public void append(final char[] b, int off, int len) { in append() argument
92 if ((off < 0) in append()
93 || (off > b.length) in append()
95 || ((off + len) < 0) in append()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveEntryInputStream.java51 public int read(byte[] b, int off, int len) throws IOException { in read() argument
53 return mReadSource.read(b, off, len); in read()
75 int read(byte[] b, int off, int len) throws IOException; in read() argument
136 (b, off, len) -> ((SevenZFile) commonArchive).read(b, off, len), in create()
143 (b, off, len) -> inputStream.read(b, off, len), in create()
148 (b, off, len) -> ((ArchiveInputStream) commonArchive).read(b, off, len), in create()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DCountedDataInputStream.java52 public int read(byte[] b, int off, int len) throws IOException { in read() argument
53 int r = in.read(b, off, len); in read()
85 private void readOrThrow(byte[] b, int off, int len) throws IOException { in readOrThrow() argument
86 int r = read(b, off, len); in readOrThrow()
/packages/apps/Camera2/src/com/android/camera/exif/
DCountedDataInputStream.java51 public int read(byte[] b, int off, int len) throws IOException { in read() argument
52 int r = in.read(b, off, len); in read()
82 public void readOrThrow(byte[] b, int off, int len) throws IOException { in readOrThrow() argument
83 int r = read(b, off, len); in readOrThrow()
DByteBufferInputStream.java39 public int read(byte[] bytes, int off, int len) { in read() argument
45 mBuf.get(bytes, off, len); in read()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DCountedDataInputStream.java51 public int read(byte[] b, int off, int len) throws IOException { in read() argument
52 int r = in.read(b, off, len); in read()
84 public void readOrThrow(byte[] b, int off, int len) throws IOException { in readOrThrow() argument
85 int r = read(b, off, len); in readOrThrow()
DByteBufferInputStream.java39 public int read(byte[] bytes, int off, int len) { in read() argument
45 mBuf.get(bytes, off, len); in read()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DCountedDataInputStream.java51 public int read(byte[] b, int off, int len) throws IOException { in read() argument
52 int r = in.read(b, off, len); in read()
82 public void readOrThrow(byte[] b, int off, int len) throws IOException { in readOrThrow() argument
83 int r = read(b, off, len); in readOrThrow()
DByteBufferInputStream.java39 public int read(byte[] bytes, int off, int len) { in read() argument
45 mBuf.get(bytes, off, len); in read()
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DIndentingPrintWriter.java94 public void write(String s, int off, int len) { in write() argument
96 s.getChars(off, len - off, buf, 0); in write()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSpannableStringUtils.java109 int off = 0; in concatWithNonParagraphSuggestionSpansOnly() local
114 copyNonParagraphSuggestionSpansFrom((Spanned) text[i], 0, len, ss, off); in concatWithNonParagraphSuggestionSpansOnly() local
117 off += len; in concatWithNonParagraphSuggestionSpansOnly()
/packages/apps/Gallery2/jni_jpegstream/src/
Djpegstream.cpp234 int32_t off = static_cast<int32_t>(offset); in OutputStream_writeInputBytes() local
235 in_bytes += off; in OutputStream_writeInputBytes()
259 int32_t off = static_cast<int32_t>(offset); in InputStream_readDecodedBytes() local
265 read = r_ptr->read(in_bytes, off, in_len); in InputStream_readDecodedBytes()
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DToggleButton.java80 public void setToggleIcons(Drawable on, Drawable off) { in setToggleIcons() argument
81 mDrawableOff = off; in setToggleIcons()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java223 Intent off = new Intent(BluetoothAdapter.ACTION_STATE_CHANGED); in bluetoothTurnsOff_switchTurnsOff() local
224 off.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_OFF); in bluetoothTurnsOff_switchTurnsOff()
225 receiver.onReceive(mContext, off); in bluetoothTurnsOff_switchTurnsOff()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DXmpInterface.java261 public int read(byte[] b, int off, int len) throws IOException { in read() argument
262 final int read = mWrapped.read(b, off, len); in read()
266 if (b[off + i] == '\n') { in read()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java674 int off = 0; in paintDecoration() local
682 off += 1; in paintDecoration()
683 if (off == mColumns) { in paintDecoration()
686 off = 0; in paintDecoration()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt158 override fun read(b: ByteArray, off: Int, len: Int): Int { in read()
169 b[off + i] = (position % 256).toByte() in read()
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list31 Allow when screen is off;gesture_assist_wake
530 To extend your battery life, Battery Saver turns off some device features and restricts apps.;batte…
543 Turn off hotspot automatically;wifi_tether_auto_turn_off
593 When the screen is off;zen_mode_block_screen_off
/packages/modules/DnsResolver/
DREADME-DoT.md54 reads off the other end of the pipe. The pipe doesn't actually have a queue "inside";
56 socket thread can read the datagram off the other end.
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java931 int off = size / 2; in blur() local
944 int dx = x + i - off; in blur()
960 int dy = y + i - off; in blur()

12