/frameworks/base/core/java/android/app/ |
H A D | ActivityOptions.java | 410 * @param source The View that the new activity is animating from. This 412 * @param startX The x starting location of the new activity, relative to <var>source</var>. 413 * @param startY The y starting location of the activity, relative to <var>source</var>. 419 public static ActivityOptions makeScaleUpAnimation(View source, argument 422 opts.mPackageName = source.getContext().getPackageName(); 425 source.getLocationOnScreen(pts); 438 * @param source The View that the new activity is animating from. This 440 * @param startX The x starting location of the new activity, relative to <var>source</var>. 441 * @param startY The y starting location of the activity, relative to <var>source</var>. 447 public static ActivityOptions makeClipRevealAnimation(View source, argument 479 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY) argument 501 makeThumbnailScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) argument 506 makeThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener, boolean scaleUp) argument 558 makeThumbnailAspectScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument 565 makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener, boolean scaleUp) argument 584 makeThumbnailAspectScaleDownAnimation(View source, AppTransitionAnimationSpec[] specs, Handler handler, OnAnimationStartedListener onAnimationStartedListener, OnAnimationFinishedListener onAnimationFinishedListener) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationTemplateViewWrapper.java | 217 private static int interpolateColor(int source, int target, float t) { argument 218 int aSource = Color.alpha(source); 219 int rSource = Color.red(source); 220 int gSource = Color.green(source); 221 int bSource = Color.blue(source);
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/ |
H A D | MusicProvider.java | 54 private static String SOURCE = "source"; 101 String source = music.getString(SOURCE); 103 if (!source.startsWith("http")) { 104 source = path + source; 114 mMusicList.add(new MusicTrack(title, album, artist, genre, source,
|
/frameworks/base/tools/aapt2/compile/ |
H A D | InlineXmlFormatParser.cpp | 56 const Source& src = xml_resource_->file.source.WithLine(el->line_number); 136 new_doc->file.source = doc->file.source.WithLine(decl.el->line_number); 152 const Source child_source = doc->file.source.WithLine(child->line_number); 181 DiagMessage(new_doc->file.source)
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | SeekBarPreference.java | 339 public SavedState(Parcel source) { argument 340 super(source); 343 seekBarValue = source.readInt(); 344 min = source.readInt(); 345 max = source.readInt();
|
H A D | TwoStatePreference.java | 266 public SavedState(Parcel source) { argument 267 super(source); 268 checked = source.readInt() == 1;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 131 * If the source does not care about the tile size, it should use 598 RectF source = mSourceRect; 601 source.set(0, 0, mTileSize, mTileSize); 618 if (drawTile(tile, canvas, source, target)) { 626 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, 628 canvas.drawTexture(mPreview, source, target); 633 Tile tile, GLCanvas canvas, RectF source, RectF target) { 636 canvas.drawTexture(tile, source, target); 646 source.left /= 2f; 647 source 632 drawTile( Tile tile, GLCanvas canvas, RectF source, RectF target) argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | MediaPuller.cpp | 33 const sp<MediaSource> &source, const sp<AMessage> ¬ify) 34 : mSource(source), 39 sp<MetaData> meta = source->getFormat(); 97 ALOGE("source failed to start w/ err %d", err); 32 MediaPuller( const sp<MediaSource> &source, const sp<AMessage> ¬ify) argument
|
/frameworks/base/core/java/android/net/ |
H A D | LinkProperties.java | 149 public LinkProperties(LinkProperties source) { argument 150 if (source != null) { 151 mIfaceName = source.getInterfaceName(); 152 for (LinkAddress l : source.getLinkAddresses()) mLinkAddresses.add(l); 153 for (InetAddress i : source.getDnsServers()) mDnses.add(i); 154 mDomains = source.getDomains(); 155 for (RouteInfo r : source.getRoutes()) mRoutes.add(r); 156 mHttpProxy = (source.getHttpProxy() == null) ? 157 null : new ProxyInfo(source.getHttpProxy()); 158 for (LinkProperties l: source [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
H A D | ApduServiceInfo.java | 464 public ApduServiceInfo createFromParcel(Parcel source) { 465 ResolveInfo info = ResolveInfo.CREATOR.createFromParcel(source); 466 String description = source.readString(); 467 boolean onHost = source.readInt() != 0; 469 int numStaticGroups = source.readInt(); 471 source.readTypedList(staticAidGroups, AidGroup.CREATOR); 474 int numDynamicGroups = source.readInt(); 476 source.readTypedList(dynamicAidGroups, AidGroup.CREATOR); 478 boolean requiresUnlock = source.readInt() != 0; 479 int bannerResource = source [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | EditTextPreference.java | 213 public SavedState(Parcel source) { argument 214 super(source); 215 text = source.readString();
|
H A D | TwoStatePreference.java | 257 public SavedState(Parcel source) { argument 258 super(source); 259 checked = source.readInt() == 1;
|
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 131 GLuint Program::buildShader(const char* source, GLenum type) { argument 135 glShaderSource(shader, 1, &source, nullptr); 141 ALOGE("Error while compiling this shader:\n===\n%s\n===", source);
|
/frameworks/base/tools/aapt2/ |
H A D | ResourceTable.cpp | 321 const Source& source, 324 return AddFileReferenceImpl(name, config, source, path, nullptr, ValidateName, diag); 329 const Source& source, const StringPiece& path, io::IFile* file, 331 return AddFileReferenceImpl(name, config, source, path, file, SkipValidateName, diag); 335 const ConfigDescription& config, const Source& source, 340 fileRef->SetSource(source); 462 diag->Error(DiagMessage(symbol.source) << "resource '" << name << "' has invalid entry name '" 470 diag->Error(DiagMessage(symbol.source) 479 diag->Error(DiagMessage(symbol.source) 488 diag->Error(DiagMessage(symbol.source) 319 AddFileReference(const ResourceNameRef& name, const ConfigDescription& config, const Source& source, const StringPiece& path, IDiagnostics* diag) argument 327 AddFileReferenceAllowMangled( const ResourceNameRef& name, const ConfigDescription& config, const Source& source, const StringPiece& path, io::IFile* file, IDiagnostics* diag) argument 334 AddFileReferenceImpl(const ResourceNameRef& name, const ConfigDescription& config, const Source& source, const StringPiece& path, io::IFile* file, NameValidator name_validator, IDiagnostics* diag) argument [all...] |
/frameworks/base/tools/aapt2/cmd/ |
H A D | Dump.cpp | 35 const Source& source, IAaptContext* context) { 37 DeserializeCompiledFileFromPb(pb_file, source, context->GetDiagnostics()); 45 << "Source: " << file->source << "\n"; 34 DumpCompiledFile(const pb::CompiledFile& pb_file, const void* data, size_t len, const Source& source, IAaptContext* context) argument
|
/frameworks/base/tools/aapt2/jni/ |
H A D | aapt2_jni.cpp | 104 jstring path = env_->NewStringUTF(actual_msg.source.path.c_str()); 106 if (actual_msg.source.line) { 107 line = actual_msg.source.line.value();
|
/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/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pDeviceList.java | 43 public WifiP2pDeviceList(WifiP2pDeviceList source) { argument 44 if (source != null) { 45 for (WifiP2pDevice d : source.getDeviceList()) {
|
H A D | WifiP2pGroupList.java | 51 public WifiP2pGroupList(WifiP2pGroupList source, GroupDeleteListener listener) { argument 63 if (source != null) { 64 for (Map.Entry<Integer, WifiP2pGroup> item : source.mGroups.snapshot().entrySet()) {
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.h | 138 status_t dequeueBuffer(Source source, PixelFormat format, uint32_t usage, 145 // ("source slots", or "sslot"). We have to merge these into the single 148 // a producer slot switches which source it comes from, we map source slot 149 // numbers to producer slot numbers differently for each source. 150 static int mapSource2ProducerSlot(Source source, int sslot); 151 static int mapProducer2SourceSlot(Source source, int pslot); 175 // to keep track of which source last returned each producer slot from 197 // Composition type and GLES buffer source for the current frame. 235 // output buffer dequeued, framebuffer source no [all...] |
/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/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioSession.cpp | 151 snprintf(buffer, SIZE, "%*s- input source: %d\n", spaces, "", mInputSource); 184 ALOGV("addSession() session %d client %d source %d", 239 bool AudioSessionCollection::isSourceActive(audio_source_t source) const 246 ((audioSession->inputSource() == source) || 247 ((source == AUDIO_SOURCE_VOICE_RECOGNITION) && 258 audio_source_t source = AUDIO_SOURCE_DEFAULT; local 269 source = audioSession->inputSource(); 272 return source;
|
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 275 * from the source string. This is different than simply calling 277 * in that it does not preserve any style runs in the source sequence, 280 public static String substring(CharSequence source, int start, int end) { argument 281 if (source instanceof String) 282 return ((String) source).substring(start, end); 283 if (source instanceof StringBuilder) 284 return ((StringBuilder) source).substring(start, end); 285 if (source instanceof StringBuffer) 286 return ((StringBuffer) source).substring(start, end); 289 getChars(source, star 444 stringOrSpannedString(CharSequence source) argument 536 getReverse(CharSequence source, int start, int end) argument 543 Reverser(CharSequence source, int start, int end) argument 1051 copySpansFrom(Spanned source, int start, int end, Class kind, Spannable dest, int destoff) argument [all...] |
/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 75 const int32_t source = AINPUT_SOURCE_KEYBOARD; local 85 status = mPublisher->publishKeyEvent(seq, deviceId, source, action, flags, 104 EXPECT_EQ(source, keyEvent->getSource()); 134 const int32_t source = AINPUT_SOURCE_TOUCHSCREEN; local 167 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, actionButton, 188 EXPECT_EQ(source, motionEvent->getSource());
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/model/ |
H A D | MusicProvider.java | 59 private static final String JSON_SOURCE = "source"; 257 String source = json.getString(JSON_SOURCE); 266 if (!source.startsWith("http")) { 267 source = basePath + source; 273 // the music source. In a real world app, this could come from the server. 274 String id = String.valueOf(source.hashCode()); 276 // Adding the music source to the MediaMetadata (and consequently using it in the 282 .putString(CUSTOM_METADATA_TRACK_SOURCE, source)
|