/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | contrast.rs | 28 void contrast(const uchar4 *in, uchar4 *out) 31 out->rgb = convert_uchar3(clamp(v, 0.f, 255.f));
|
H A D | wbalance.rs | 79 uchar4 out; 82 out.r = sum15r/count15r; 83 out.g = sum15g/count15g; 84 out.b = sum15b/count15b; 86 out.r = out.g = out.b = 255; 89 return out; 109 uchar4 out; 110 out [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbRequest.java | 136 boolean out = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); 139 result = native_queue_direct(buffer, length, out); 141 result = native_queue_array(buffer.array(), length, out); 154 boolean out = (mEndpoint.getDirection() == UsbConstants.USB_DIR_OUT); 159 bytesRead = native_dequeue_array(mBuffer.array(), mLength, out); 180 private native boolean native_queue_array(byte[] buffer, int length, boolean out); argument 181 private native int native_dequeue_array(byte[] buffer, int length, boolean out); argument 182 private native boolean native_queue_direct(ByteBuffer buffer, int length, boolean out); argument
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIcon.java | 75 public void writeToParcel(Parcel out, int flags) { argument 76 out.writeString(this.iconPackage); 77 out.writeParcelable(this.user, 0); 78 out.writeInt(this.iconId); 79 out.writeInt(this.iconLevel); 80 out.writeInt(this.visible ? 1 : 0); 81 out.writeInt(this.number); 82 out.writeCharSequence(this.contentDescription);
|
/frameworks/base/core/java/android/ddm/ |
H A D | DdmHandleAppName.java | 93 ByteBuffer out = ByteBuffer.allocate( 97 out.order(ChunkHandler.CHUNK_ORDER); 98 out.putInt(appName.length()); 99 putString(out, appName); 100 out.putInt(userId); 102 Chunk chunk = new Chunk(CHUNK_APNM, out);
|
H A D | DdmHandleThread.java | 160 ByteBuffer out = ByteBuffer.allocate(bufferSize); 161 out.putInt(0); 162 out.putInt(threadId); 163 out.putInt(trace.length); 165 out.putInt(elem.getClassName().length()); 166 putString(out, elem.getClassName()); 167 out.putInt(elem.getMethodName().length()); 168 putString(out, elem.getMethodName()); 170 out.putInt(elem.getFileName().length()); 171 putString(out, ele [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkState.java | 64 public void writeToParcel(Parcel out, int flags) { argument 65 out.writeParcelable(networkInfo, flags); 66 out.writeParcelable(linkProperties, flags); 67 out.writeParcelable(linkCapabilities, flags); 68 out.writeString(subscriberId); 69 out.writeString(networkId);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | vec_types.h | 33 // out of boundary not checked 37 // out of boundary not checked 60 Vec<T, dim> out; local 62 out.data[i] = x.data[i] + y.data[i]; 63 return out; 68 Vec<T, dim> out; local 70 out.data[i] = x.data[i] - y.data[i]; 71 return out; 76 Vec<T, dim> out; local 78 out 84 Vec<T, dim> out; local 92 T out = 0; local 100 Vec<T, dim> out; local 108 Vec<T, dim> out; local 116 Vec<T, dim> out; local [all...] |
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
H A D | ELFSectionStrTab.hxx | 56 out() << '\n' << fillformat('=', 79) << '\n'; 57 out().changeColor(raw_ostream::WHITE, true); 58 out() << "ELF String Table: " << this->section_header->getName() << '\n'; 59 out().resetColor(); 60 out() << fillformat('-', 79) << '\n'; 64 out() << fillformat('=', 79) << '\n';
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | wbalance.rs | 98 uchar4 out; 101 out.r = sum15r/count15r; 102 out.g = sum15g/count15g; 103 out.b = sum15b/count15b; 105 out.r = out.g = out.b = 255; 108 return out; 134 void whiteBalanceKernel(const uchar4 *in, uchar4 *out) { 139 out [all...] |
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | wbalance.rs | 98 uchar4 out; 101 out.r = sum15r/count15r; 102 out.g = sum15g/count15g; 103 out.b = sum15b/count15b; 105 out.r = out.g = out.b = 255; 108 return out; 134 void whiteBalanceKernel(const uchar4 *in, uchar4 *out) { 139 out [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | ICameraService.aidl | 40 int getCameraInfo(int cameraId, out CameraInfo info); 46 out BinderHolder device); 52 out BinderHolder device); 58 out BinderHolder device); 63 int getCameraCharacteristics(int cameraId, out CameraMetadataNative info);
|
H A D | CameraInfo.java | 38 public void writeToParcel(Parcel out, int flags) { argument 39 out.writeInt(info.facing); 40 out.writeInt(info.orientation);
|
/frameworks/base/tools/preload/ |
H A D | WritePreloadedClassFile.java | 57 Writer out = new BufferedWriter(new OutputStreamWriter( 61 out.write("# Classes which are preloaded by" 63 out.write("# Automatically generated by frameworks/base/tools/preload/" 65 out.write("# MIN_LOAD_TIME_MICROS=" + MIN_LOAD_TIME_MICROS + "\n"); 66 out.write("# MIN_PROCESSES=" + MIN_PROCESSES + "\n"); 93 System.out.println(initialSize 109 System.out.println("Added " + (toPreload.size() - initialSize) 112 System.out.println(toPreload.size() 121 out.write(loadedClass.name + "\n"); 124 out [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_imdct_synth.cpp | 243 int32 * out = in + (band * FILTERBANK_BANDS); local 250 pvmp3_mdct_18(out, history, normal_win); 256 pvmp3_mdct_18(out, history, start_win); 262 pvmp3_mdct_18(out, history, stop_win); 273 Scratch_mem[i ] = out[(i*3)]; 274 Scratch_mem[6 +i] = out[(i*3) + 1]; 275 Scratch_mem[12 +i] = out[(i*3) + 2]; 288 out[i] = temp; 293 out[i+6] = fxp_mul32_Q32(Scratch_mem[i] << 1, short_win[i]); 294 out[ 334 int32 * out = in + (band * FILTERBANK_BANDS); local [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioCoefInterpolator.cpp | 43 audio_coef_t out[]) { 56 getCoefRecurse(index, fracCoord, out, 0); 61 audio_coef_t out[], size_t dim) { 63 memcpy(out, mTable + index, mNumOutDims * sizeof(audio_coef_t)); 65 getCoefRecurse(index, fracCoord, out, dim + 1); 72 out[d] = interp(out[d], tempCoef[d], fracCoord[dim]); 42 getCoef(const int intCoord[], uint32_t fracCoord[], audio_coef_t out[]) argument 59 getCoefRecurse(size_t index, const uint32_t fracCoord[], audio_coef_t out[], size_t dim) argument
|
H A D | AudioBiquadFilter.cpp | 65 void AudioBiquadFilter::process(const audio_sample_t in[], audio_sample_t out[], argument 67 (this->*mCurProcessFunc)(in, out, frameCount); 140 audio_sample_t * out, 143 if (CC_UNLIKELY(in != out)) { 144 memcpy(out, in, frameCount * mNumChannels * sizeof(audio_sample_t)); 149 audio_sample_t * out, 174 (*out++) = y0; 183 audio_sample_t * out, 188 process_normal_mono(in, out, frameCount); 192 audio_sample_t * out, 139 process_bypass(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument 148 process_normal_mono(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument 182 process_transition_normal_mono(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument 191 process_transition_bypass_mono(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument 200 process_normal_multi(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument 240 process_transition_normal_multi(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument 249 process_transition_bypass_multi(const audio_sample_t * in, audio_sample_t * out, int frameCount) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64OutputStream.java | 40 * @param out the OutputStream to write the encoded data to 44 public Base64OutputStream(OutputStream out, int flags) { argument 45 this(out, flags, true); 53 * @param out the OutputStream to write the encoded data to 60 public Base64OutputStream(OutputStream out, int flags, boolean encode) { argument 61 super(out); 80 // internal buffer full; write it out. 115 out.close(); 117 out.flush(); 141 out [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DurableUtils.java | 33 final ByteArrayOutputStream out = new ByteArrayOutputStream(); 34 d.write(new DataOutputStream(out)); 35 return out.toByteArray(); 85 public static void writeNullableString(DataOutputStream out, String value) throws IOException { argument 87 out.write(1); 88 out.writeUTF(value); 90 out.write(0);
|
/frameworks/base/services/java/com/android/server/ |
H A D | RandomBlock.java | 67 RandomAccessFile out = null; 69 out = new RandomAccessFile(filename, sync ? "rws" : "rw"); 70 toDataOut(out); 71 truncateIfPossible(out); 73 close(out); 87 private void toDataOut(DataOutput out) throws IOException { argument 88 out.write(block);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 881 ResTable_config* out) 884 if (out) out->mcc = 0; 905 if (out) out->mcc = d; 913 ResTable_config* out) 916 if (out) out->mcc = 0; 935 if (out) { 936 out 880 getMccName(const char* name, ResTable_config* out) argument 912 getMncName(const char* name, ResTable_config* out) argument 952 getLocaleName(const char* fileName, ResTable_config* out) argument 994 getLayoutDirectionName(const char* name, ResTable_config* out) argument 1016 getScreenLayoutSizeName(const char* name, ResTable_config* out) argument 1049 getScreenLayoutLongName(const char* name, ResTable_config* out) argument 1072 getOrientationName(const char* name, ResTable_config* out) argument 1092 getUiModeTypeName(const char* name, ResTable_config* out) argument 1125 getUiModeNightName(const char* name, ResTable_config* out) argument 1148 getDensityName(const char* name, ResTable_config* out) argument 1225 getTouchscreenName(const char* name, ResTable_config* out) argument 1245 getKeysHiddenName(const char* name, ResTable_config* out) argument 1272 getKeyboardName(const char* name, ResTable_config* out) argument 1292 getNavHiddenName(const char* name, ResTable_config* out) argument 1316 getNavigationName(const char* name, ResTable_config* out) argument 1339 getScreenSizeName(const char* name, ResTable_config* out) argument 1374 getSmallestScreenWidthDpName(const char* name, ResTable_config* out) argument 1399 getScreenWidthDpName(const char* name, ResTable_config* out) argument 1422 getScreenHeightDpName(const char* name, ResTable_config* out) argument 1445 getVersionName(const char* name, ResTable_config* out) argument [all...] |
/frameworks/base/core/java/android/service/notification/ |
H A D | StatusBarNotification.java | 93 public void writeToParcel(Parcel out, int flags) { argument 94 out.writeString(this.pkg); 95 out.writeString(this.basePkg); 96 out.writeInt(this.id); 98 out.writeInt(1); 99 out.writeString(this.tag); 101 out.writeInt(0); 103 out.writeInt(this.uid); 104 out.writeInt(this.initialPid); 105 out [all...] |
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 503 protected void dump(String prefix, FileDescriptor fd, PrintWriter out, String[] args) { argument 504 out.print(prefix); out.print("mInitializing="); out.print(mInitializing); 505 out.print(" mDestroyed="); out.println(mDestroyed); 506 out.print(prefix); out.print("mVisible="); out.print(mVisible); 507 out 1142 dump(FileDescriptor fd, PrintWriter out, String[] args) argument [all...] |
/frameworks/rs/cpp/ |
H A D | ScriptIntrinsics.cpp | 81 void ScriptIntrinsicBlend::forEachClear(sp<Allocation> in, sp<Allocation> out) { argument 83 out->getType()->getElement()->isCompatible(mElement) == false) { 86 Script::forEach(0, in, out, NULL, 0); 89 void ScriptIntrinsicBlend::forEachSrc(sp<Allocation> in, sp<Allocation> out) { argument 91 out->getType()->getElement()->isCompatible(mElement) == false) { 94 Script::forEach(1, in, out, NULL, 0); 97 void ScriptIntrinsicBlend::forEachDst(sp<Allocation> in, sp<Allocation> out) { argument 99 out->getType()->getElement()->isCompatible(mElement) == false) { 102 Script::forEach(2, in, out, NULL, 0); 105 void ScriptIntrinsicBlend::forEachSrcOver(sp<Allocation> in, sp<Allocation> out) { argument 113 forEachDstOver(sp<Allocation> in, sp<Allocation> out) argument 121 forEachSrcIn(sp<Allocation> in, sp<Allocation> out) argument 129 forEachDstIn(sp<Allocation> in, sp<Allocation> out) argument 137 forEachSrcOut(sp<Allocation> in, sp<Allocation> out) argument 145 forEachDstOut(sp<Allocation> in, sp<Allocation> out) argument 153 forEachSrcAtop(sp<Allocation> in, sp<Allocation> out) argument 161 forEachDstAtop(sp<Allocation> in, sp<Allocation> out) argument 169 forEachXor(sp<Allocation> in, sp<Allocation> out) argument 178 forEachMultiply(sp<Allocation> in, sp<Allocation> out) argument 187 forEachAdd(sp<Allocation> in, sp<Allocation> out) argument 195 forEachSubtract(sp<Allocation> in, sp<Allocation> out) argument 228 forEach(sp<Allocation> out) argument 257 forEach(sp<Allocation> in, sp<Allocation> out) argument 368 forEach(sp<Allocation> out) argument 409 forEach(sp<Allocation> out) argument 431 setOutput(sp<Allocation> out) argument 593 forEach(sp<Allocation> out) argument [all...] |
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/ |
H A D | BasicNfcEeTest.java | 60 byte[] out = mEe.transceive(SELECT_CARD_MANAGER_COMMAND); 61 assertTrue(out.length >= SELECT_CARD_MANAGER_RESPONSE.length); 62 byte[] trailing = Arrays.copyOfRange(out, 63 out.length - SELECT_CARD_MANAGER_RESPONSE.length, 64 out.length); 79 byte[] out = mEe.transceive(SELECT_CARD_MANAGER_COMMAND); 80 byte[] trailing = Arrays.copyOfRange(out, 81 out.length - SELECT_CARD_MANAGER_RESPONSE.length, 82 out.length);
|