/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
H A D | ImageUtils.java | 200 * @param source the image to be scaled 206 public static BufferedImage scale(@NonNull BufferedImage source, double xScale, double yScale) { argument 208 int sourceWidth = source.getWidth(); 209 int sourceHeight = source.getHeight(); 212 int imageType = source.getType(); 224 g2.drawImage(source, 0, 0, null); 227 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight, 259 int nearestWidth = destWidth; // Width closest to source width that = 2^x, x is integer 271 g2.drawImage(source, 0, 0, nearestWidth, nearestHeight, 0, 0, sourceWidth, sourceHeight, 277 source [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
H A D | ComputeThresholdAction.java | 130 private static Set<String> getBootClassPathClasses(Map<String, String> source) { argument 132 for (Map.Entry<String, String> e : source.entrySet()) {
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConnectionStatistics.java | 100 public WifiConnectionStatistics(WifiConnectionStatistics source) { argument 102 if (source != null) { 103 untrustedNetworkHistory.putAll(source.untrustedNetworkHistory);
|
/frameworks/compile/libbcc/tools/bcc_compat/ |
H A D | Main.cpp | 122 Source *source = Source::CreateFromFile(pContext, input_bitcode); local 123 if (source == nullptr) { 130 if (!result->mergeSource(*source)) { 133 delete source; 137 result = new (std::nothrow) RSScript(*source); 141 delete source;
|
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/ |
H A D | GL2JavaView.java | 95 private int loadShader(int shaderType, String source) { argument 98 GLES20.glShaderSource(shader, source);
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetShaderSource.cpp | 1 /* void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) */ 13 char *source = (char *) 0; local 31 _exceptionMessage = "source == null"; 43 source = source_base + sourceOffset; 49 (char *)source 66 /* void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) */ 69 (JNIEnv *_env, jobject _this, jint shader, jint bufsize, jobject length_buf, jbyte source) { 84 reinterpret_cast<char *>(source) 91 /* void glGetShaderSource ( GLuint shader, GLsizei bufsize, GLsizei *length, char *source ) */ 68 android_glGetShaderSource__IILjava_nio_IntBuffer_2B(JNIEnv *_env, jobject _this, jint shader, jint bufsize, jobject length_buf, jbyte source) argument
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Program.cpp | 97 GLuint Program::buildShader(const char* source, GLenum type) { argument 99 glShaderSource(shader, 1, &source, 0); 108 ALOGE("Error while compiling shader: \n%s\n%s", source, log);
|
/frameworks/support/v4/jellybean/android/support/v4/app/ |
H A D | ActivityOptionsCompatJB.java | 33 public static ActivityOptionsCompatJB makeScaleUpAnimation(View source, argument 36 ActivityOptions.makeScaleUpAnimation(source, startX, startY, startWidth, startHeight)); 39 public static ActivityOptionsCompatJB makeThumbnailScaleUpAnimation(View source, argument 42 ActivityOptions.makeThumbnailScaleUpAnimation(source, thumbnail, startX, startY));
|
/frameworks/wilhelm/src/android/ |
H A D | AacBqToPcmCbRenderer.cpp | 154 sp<IMediaSource> source = extractor->getTrack(kTrackToDecode); local 155 if (source == 0) { 156 SL_LOGE("AacBqToPcmCbRenderer::onPrepare: error getting source from extractor"); 162 source = SimpleDecodingSource::Create(source); 164 if (source == NULL) { 170 sp<MetaData> meta = source->getFormat(); 174 if (source->start() != OK) { 175 SL_LOGE("AacBqToPcmCbRenderer::onPrepare() Failed to start source/decoder."); 204 // The data source, an [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerFactory.cpp | 117 const sp<IStreamSource> &source) { 118 GET_PLAYER_TYPE_IMPL(client, source); 122 const sp<DataSource> &source) { 123 GET_PLAYER_TYPE_IMPL(client, source); 207 const sp<IStreamSource>& /*source*/, 213 const sp<DataSource>& /*source*/, 215 // Only NuPlayer supports setting a DataSource source directly. 116 getPlayerType(const sp<IMediaPlayer>& client, const sp<IStreamSource> &source) argument 121 getPlayerType(const sp<IMediaPlayer>& client, const sp<DataSource> &source) argument
|
H A D | MetadataRetrieverClient.cpp | 178 const sp<IDataSource>& source) 183 sp<DataSource> dataSource = DataSource::CreateFromIDataSource(source); 177 setDataSource( const sp<IDataSource>& source) argument
|
/frameworks/av/media/libstagefright/ |
H A D | AMRWriter.cpp | 57 status_t AMRWriter::addSource(const sp<IMediaSource> &source) { argument 67 sp<MetaData> meta = source->getFormat(); 86 mSource = source;
|
H A D | VBRISeeker.cpp | 41 const sp<DataSource> &source, off64_t post_id3_pos) { 45 ssize_t n = source->readAt(pos, header, sizeof(header)); 61 n = source->readAt(pos, vbriHeader, sizeof(vbriHeader)); 89 n = source->readAt(pos + sizeof(vbriHeader), buffer, totalEntrySize); 40 CreateFromSource( const sp<DataSource> &source, off64_t post_id3_pos) argument
|
H A D | WVMExtractor.cpp | 47 WVMExtractor::WVMExtractor(const sp<DataSource> &source) argument 48 : mDataSource(source) 62 if (source->DrmInitialization( 64 mImpl = (*getInstanceFunc)(source); 169 const sp<DataSource> &source, String8 *mimeType, float *confidence, 184 if ((*snifferFunc)(source)) { 168 SniffWVM( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) argument
|
H A D | XINGSeeker.cpp | 80 const sp<DataSource> &source, off64_t first_frame_pos) { 87 if (source->readAt(offset, &buffer, 4) < 4) { // get header 116 if (source->readAt(offset, &buffer, 4) < 4) { // XING header ID 129 if (source->readAt(offset, &buffer, 4) < 4) { // flags 136 if (source->readAt(offset, buffer, 4) < 4) { 150 if (source->readAt(offset, buffer, 4) < 4) { 157 if (source->readAt(offset + 1, seeker->mTOC, 99) < 99) { 166 if (source->readAt(offset, buffer, 4) < 4) { 173 if (source->readAt(xingbase + 0xaf - 0x24, &buffer, 1) < 1) { // encoding flags 182 if (source 79 CreateFromSource( const sp<DataSource> &source, off64_t first_frame_pos) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AAMRAssembler.cpp | 77 const sp<ARTPSource> &source) { 78 return addPacket(source); 102 const sp<ARTPSource> &source) { 103 List<sp<ABuffer> > *queue = source->queue(); 76 assembleMore( const sp<ARTPSource> &source) argument 101 addPacket( const sp<ARTPSource> &source) argument
|
H A D | AAVCAssembler.cpp | 47 const sp<ARTPSource> &source) { 48 List<sp<ABuffer> > *queue = source->queue(); 360 const sp<ARTPSource> &source) { 361 AssemblyStatus status = addNALUnit(source); 46 addNALUnit( const sp<ARTPSource> &source) argument 359 assembleMore( const sp<ARTPSource> &source) argument
|
H A D | ARTPSession.cpp | 71 sp<APacketSource> source = new APacketSource(mDesc, i); local 72 if (source->initCheck() != OK) { 91 info->mPacketSource = source;
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | RepeaterSource.cpp | 15 RepeaterSource::RepeaterSource(const sp<MediaSource> &source, double rateHz) argument 17 mSource(source),
|
/frameworks/base/core/java/android/app/ |
H A D | AutomaticZenRule.java | 70 public AutomaticZenRule(Parcel source) { argument 71 enabled = source.readInt() == 1; 72 if (source.readInt() == 1) { 73 name = source.readString(); 75 interruptionFilter = source.readInt(); 76 conditionId = source.readParcelable(null); 77 owner = source.readParcelable(null); 78 creationTime = source.readLong(); 205 public AutomaticZenRule createFromParcel(Parcel source) { 206 return new AutomaticZenRule(source); [all...] |
H A D | WallpaperInfo.java | 145 WallpaperInfo(Parcel source) { argument 146 mSettingsActivityName = source.readString(); 147 mThumbnailResource = source.readInt(); 148 mAuthorResource = source.readInt(); 149 mDescriptionResource = source.readInt(); 150 mService = ResolveInfo.CREATOR.createFromParcel(source); 297 public WallpaperInfo createFromParcel(Parcel source) { 298 return new WallpaperInfo(source);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ComponentInfo.java | 204 protected ComponentInfo(Parcel source) { argument 205 super(source); 206 final boolean hasApplicationInfo = (source.readInt() != 0); 208 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source); 210 processName = source.readString(); 211 descriptionRes = source.readInt(); 212 enabled = (source.readInt() != 0); 213 exported = (source.readInt() != 0); 214 encryptionAware = directBootAware = (source.readInt() != 0);
|
H A D | IntentFilterVerificationInfo.java | 74 public IntentFilterVerificationInfo(Parcel source) { argument 75 readFromParcel(source); 220 private void readFromParcel(Parcel source) { argument 221 mPackageName = source.readString(); 222 mMainStatus = source.readInt(); 224 source.readStringList(list); 237 public IntentFilterVerificationInfo createFromParcel(Parcel source) { 238 return new IntentFilterVerificationInfo(source);
|
H A D | PermissionInfo.java | 299 public PermissionInfo createFromParcel(Parcel source) { 300 return new PermissionInfo(source); 307 private PermissionInfo(Parcel source) { argument 308 super(source); 309 protectionLevel = source.readInt(); 310 flags = source.readInt(); 311 group = source.readString(); 312 descriptionRes = source.readInt(); 313 nonLocalizedDescription = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
|
H A D | Signature.java | 235 public Signature createFromParcel(Parcel source) { 236 return new Signature(source); 244 private Signature(Parcel source) { argument 245 mSignature = source.createByteArray();
|