/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | MatrixUtils.h | 63 static void convert9to33(double out[3][3], double in[9]) { argument 64 out[0][0] = in[0]; 65 out[0][1] = in[1]; 66 out[0][2] = in[2]; 68 out[1][0] = in[3]; 69 out[1][1] = in[4]; 70 out[1][2] = in[5]; 72 out[2][0] = in[6]; 73 out[2][1] = in[7]; 74 out[ 121 convert33to9(double out[9], double in[3][3]) argument [all...] |
H A D | ImageUtils.h | 56 * out: Resulting image (note must be preallocated before 62 static void rgb2yvu(ImageType out, ImageType in, int width, int height); 64 static void rgba2yvu(ImageType out, ImageType in, int width, int height); 70 * out: Resulting image (note must be preallocated before 76 static void yvu2rgb(ImageType out, ImageType in, int width, int height); 77 static void yvu2bgr(ImageType out, ImageType in, int width, int height); 92 static ImageType rgb2gray(ImageType out, ImageType in, int width, int height); 114 static ImageType *imageTypeToRowPointers(ImageType out, int width, int height);
|
H A D | trsMatrix.cpp | 79 void inv33d(const double m[3][3], double out[3][3]) argument 83 out[0][0] = (m[1][1]*m[2][2] - m[1][2]*m[2][1]) / det; 84 out[1][0] = (m[1][2]*m[2][0] - m[1][0]*m[2][2]) / det; 85 out[2][0] = (m[1][0]*m[2][1] - m[1][1]*m[2][0]) / det; 87 out[0][1] = (m[0][2]*m[2][1] - m[0][1]*m[2][2]) / det; 88 out[1][1] = (m[0][0]*m[2][2] - m[0][2]*m[2][0]) / det; 89 out[2][1] = (m[0][1]*m[2][0] - m[0][0]*m[2][1]) / det; 91 out[0][2] = (m[0][1]*m[1][2] - m[0][2]*m[1][1]) / det; 92 out[1][2] = (m[0][2]*m[1][0] - m[0][0]*m[1][2]) / det; 93 out[ [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
H A D | CloseShieldOutputStream.java | 37 * @param out underlying output stream 39 public CloseShieldOutputStream(OutputStream out) { argument 40 super(out); 49 out = new ClosedOutputStream();
|
H A D | ProxyOutputStream.java | 41 // the proxy is stored in a protected superclass variable named 'out' 50 out.write(idx); 59 out.write(bts); 70 out.write(bts, st, end); 78 out.flush(); 86 out.close();
|
H A D | ProxyWriter.java | 43 // the proxy is stored in a protected superclass variable named 'out' 52 out.write(idx); 61 out.write(chr); 72 out.write(chr, st, end); 81 out.write(str); 92 out.write(str, st, end); 100 out.flush(); 108 out.close();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
H A D | BodyPart.java | 38 public void writeTo(OutputStream out) throws IOException { argument 39 getHeader().writeTo(out); 40 getBody().writeTo(out);
|
H A D | MemoryBinaryBody.java | 29 //BEGIN android-changed: Stubbing out logging 59 ByteArrayOutputStream out = new ByteArrayOutputStream(); 60 IOUtils.copy(is, out); 61 out.close(); 62 tempFile = out.toByteArray(); 89 public void writeTo(OutputStream out) throws IOException { argument 90 IOUtils.copy(getInputStream(),out);
|
/packages/apps/Launcher2/ |
H A D | print_db.py | 50 def print_intent(out, id, i, cell): 52 out.write("""<span class="intent" title="%s">shortcut</span>""" % ( 57 def print_icon(out, id, i, cell): 60 out.write("""<img src="%s">""" % ( icon_fn )) 65 def print_cell(out, id, i, cell): 67 out.write(cgi.escape(str(cell))) 74 def render_cell_info(out, cell, occupied): 76 out.write(" <td width=%d height=%d></td>\n" % 90 out.write((" <td colspan=%d rowspan=%d width=%d height=%d" 97 out [all...] |
/packages/apps/Launcher3/ |
H A D | print_db.py | 70 def print_intent(out, id, i, cell): 72 out.write("""<span class="intent" title="%s">shortcut</span>""" % ( 77 def print_icon(out, id, i, cell): 80 out.write("""<img style="width: 3em; height: 3em;" src="%s">""" % ( icon_fn )) 85 def print_icon_type(out, id, i, cell): 87 out.write("Application (%d)" % cell) 89 out.write("Shortcut (%d)" % cell) 91 out.write("Folder (%d)" % cell) 93 out.write("Widget (%d)" % cell) 95 out [all...] |
/packages/apps/Email/src/com/beetstra/jutf7/ |
H A D | UTF7StyleCharsetEncoder.java | 102 * @param out The output byte buffer
105 protected CoderResult implFlush(ByteBuffer out) {
argument 107 if (out.remaining() < 2)
110 out.put(base64.getChar(sextet));
111 out.put(unshift);
141 * @param out The output byte buffer
144 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) {
argument 146 if (out.remaining() < 4)
150 unshift(out, ch);
151 out 180 unshift(ByteBuffer out, char ch) argument 203 encodeBase64(char ch, ByteBuffer out) argument [all...] |
H A D | UTF7StyleCharsetDecoder.java | 64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
argument 72 if (!out.hasRemaining())
74 out.put((char)shift);
79 if (!out.hasRemaining())
81 CoderResult result = handleBase64(in, out, b);
94 if (!out.hasRemaining())
96 out.put((char)b);
115 * @param out The output buffer
120 private CoderResult handleBase64(ByteBuffer in, CharBuffer out, byte lastRead) {
argument 130 out 148 implFlush(CharBuffer out) argument [all...] |
/packages/apps/Email/src/com/android/email/mail/internet/ |
H A D | EmailHtmlUtil.java | 39 StringBuilder out = new StringBuilder(); 43 out.append(text.substring(end, start)); 49 out.append(" "); 51 out.append(' '); 53 out.append("<br>"); 55 out.append("<"); 57 out.append(">"); 59 out.append("&"); 62 out.append(text.substring(end)); 63 text = out [all...] |
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
H A D | WaveHeader.java | 226 * @param out {@link java.io.OutputStream} to receive the header. 230 public int write(OutputStream out) throws IOException { argument 232 writeId(out, "RIFF"); 233 writeInt(out, 36 + mNumBytes); 234 writeId(out, "WAVE"); 237 writeId(out, "fmt "); 238 writeInt(out, 16); 239 writeShort(out, mFormat); 240 writeShort(out, mNumChannels); 241 writeInt(out, mSampleRat 253 writeId(OutputStream out, String id) argument 257 writeInt(OutputStream out, int val) argument 264 writeShort(OutputStream out, short val) argument [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
H A D | DomainList.java | 67 StringBuffer out = new StringBuffer(); 69 out.append("@"); 70 out.append(get(i)); 72 out.append(","); 74 return out.toString();
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | Header.java | 60 System.out.println("Dictionary : " + dictFile.getAbsolutePath()); 61 System.out.println("Size : " + dictFile.length() + " bytes"); 62 System.out.println("Format : Binary dictionary format"); 63 System.out.println("Format version : " + header.mFormatOptions.mVersion); 64 System.out.println("Packaging : " + spec.describeChain()); 65 System.out.println("Header attributes :"); 66 System.out.print(header.mDictionaryOptions.toString(2 /* indentCount */, plumbing));
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/ |
H A D | DvrStorageManager.java | 191 private void writeFormatInt(DataOutputStream out, MediaFormat format, String key) argument 194 out.writeInt(format.getInteger(key)); 196 out.writeInt(NO_VALUE); 200 private void writeFormatLong(DataOutputStream out, MediaFormat format, String key) argument 203 out.writeLong(format.getLong(key)); 205 out.writeLong(NO_VALUE_LONG); 209 private void writeFormatFloat(DataOutputStream out, MediaFormat format, String key) argument 212 out.writeFloat(format.getFloat(key)); 214 out.writeFloat(NO_VALUE); 218 private void writeString(DataOutputStream out, Strin argument 226 writeFormatString(DataOutputStream out, MediaFormat format, String key) argument 235 writeByteBuffer(DataOutputStream out, ByteBuffer buffer) argument 247 writeFormatByteBuffer(DataOutputStream out, MediaFormat format, String key) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | OrderedDataOutputStream.java | 28 public OrderedDataOutputStream(OutputStream out) { argument 29 super(out); 40 out.write(mByteBuffer.array(), 0, 2); 47 out.write(mByteBuffer.array());
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
H A D | TinyPlanetNative.java | 35 * @param out the resulting tiny planet. 40 public static native void process(Bitmap in, int width, int height, Bitmap out, int outputSize, argument
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | OrderedDataOutputStream.java | 28 public OrderedDataOutputStream(OutputStream out) { argument 29 super(out); 40 out.write(mByteBuffer.array(), 0, 2); 47 out.write(mByteBuffer.array());
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
H A D | OrderedDataOutputStream.java | 28 public OrderedDataOutputStream(OutputStream out) { argument 29 super(out); 40 out.write(mByteBuffer.array(), 0, 2); 47 out.write(mByteBuffer.array());
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utility/ |
H A D | EOLConvertingOutputStream.java | 25 public EOLConvertingOutputStream(OutputStream out) { argument 26 super(out);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | EOLConvertingOutputStream.java | 26 public EOLConvertingOutputStream(OutputStream out) { argument 27 super(out);
|
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/ |
H A D | FileTransforms.java | 25 public static OutputStream getCryptedStream(OutputStream out) { argument 27 return out;
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
H A D | CameraLatency.java | 127 BufferedWriter out = new BufferedWriter(fstream); 128 out.write("Camera Latency : \n"); 129 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); 130 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); 131 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); 132 out.write("Avg mShutterToPictureDisplayedTime = " 134 out.write("Avg mPictureDisplayedToJpegCallbackTime = " 136 out.write("Avg mJpegCallbackFinishTime = " + 138 out.write("Avg FirstPreviewTime = " + 140 out [all...] |