Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 1193) sorted by relevance

12345678910>>...48

/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DViewDialogLaunchAnimatorController.kt28 private val source: View,
32 get() = source.viewRootImpl
34 override val sourceIdentity: Any = source
45 GhostView.addGhost(source, viewGroup)
52 if (source is LaunchableView) {
58 source.visibility = View.VISIBLE
69 GhostView.removeGhost(source)
78 if (source is LaunchableView) {
99 return source.isAttachedToWindow && ((source.parent as? View)?.isShown ?: true)
103 if (source is LaunchableView) {
[all …]
/aosp14/frameworks/base/core/java/android/content/pm/
H A DPackageInfo.java558 return new PackageInfo(source);
568 private PackageInfo(Parcel source) { in PackageInfo() argument
569 packageName = source.readString8(); in PackageInfo()
571 versionCode = source.readInt(); in PackageInfo()
573 versionName = source.readString8(); in PackageInfo()
577 sharedUserLabel = source.readInt(); in PackageInfo()
578 int hasApp = source.readInt(); in PackageInfo()
584 gids = source.createIntArray(); in PackageInfo()
599 isStub = source.readInt() != 0; in PackageInfo()
600 coreApp = source.readInt() != 0; in PackageInfo()
[all …]
H A DInstrumentationInfo.java190 private InstrumentationInfo(Parcel source) { in InstrumentationInfo() argument
191 super(source); in InstrumentationInfo()
192 targetPackage = source.readString8(); in InstrumentationInfo()
193 targetProcesses = source.readString8(); in InstrumentationInfo()
194 sourceDir = source.readString8(); in InstrumentationInfo()
195 publicSourceDir = source.readString8(); in InstrumentationInfo()
200 dataDir = source.readString8(); in InstrumentationInfo()
203 primaryCpuAbi = source.readString8(); in InstrumentationInfo()
204 secondaryCpuAbi = source.readString8(); in InstrumentationInfo()
205 nativeLibraryDir = source.readString8(); in InstrumentationInfo()
[all …]
H A DPackageInfoLite.java135 return new PackageInfoLite(source);
143 private PackageInfoLite(Parcel source) { in PackageInfoLite() argument
144 packageName = source.readString(); in PackageInfoLite()
145 splitNames = source.createStringArray(); in PackageInfoLite()
146 versionCode = source.readInt(); in PackageInfoLite()
147 versionCodeMajor = source.readInt(); in PackageInfoLite()
148 baseRevisionCode = source.readInt(); in PackageInfoLite()
149 splitRevisionCodes = source.createIntArray(); in PackageInfoLite()
151 installLocation = source.readInt(); in PackageInfoLite()
152 multiArch = (source.readInt() != 0); in PackageInfoLite()
[all …]
H A DShortcutInfo.java539 if (source == null) { in cloneCategories()
620 mUserId = source.mUserId; in ShortcutInfo()
621 mId = source.mId; in ShortcutInfo()
624 mFlags = source.mFlags; in ShortcutInfo()
643 mText = source.mText; in ShortcutInfo()
656 mRank = source.mRank; in ShortcutInfo()
961 mIcon = source.mIcon; in copyNonNullFieldsFrom()
979 mText = source.mText; in copyNonNullFieldsFrom()
1008 mRank = source.mRank; in copyNonNullFieldsFrom()
1017 if (source.mStartingThemeResName != null && !source.mStartingThemeResName.isEmpty()) { in copyNonNullFieldsFrom()
[all …]
/aosp14/frameworks/base/tools/aapt2/integration-tests/DumpTest/
H A Dcomponents_full_proto.txt187 source {
210 source {
233 source {
890 source {
911 source {
931 source {
936 source {
948 source {
956 source {
974 source {
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DTaskInfo.java422 private TaskInfo(Parcel source) { in TaskInfo() argument
423 readFromParcel(source); in TaskInfo()
601 void readFromParcel(Parcel source) { in readFromParcel() argument
602 userId = source.readInt(); in readFromParcel()
603 taskId = source.readInt(); in readFromParcel()
604 displayId = source.readInt(); in readFromParcel()
605 isRunning = source.readBoolean(); in readFromParcel()
617 resizeMode = source.readInt(); in readFromParcel()
628 minWidth = source.readInt(); in readFromParcel()
629 minHeight = source.readInt(); in readFromParcel()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DAbsAppSnapshotController.java150 snapshot = snapshot(source); in captureSnapshot()
152 switch (getSnapshotMode(source)) { in captureSnapshot()
159 snapshot = snapshot(source); in captureSnapshot()
185 mCache.putSnapshot(source, snapshot); in recordSnapshotInner()
191 int getSnapshotMode(TYPE source) { in getSnapshotMode() argument
193 if (!source.isActivityTypeStandardOrUndefined() && !source.isActivityTypeAssistant()) { in getSnapshotMode()
203 TaskSnapshot snapshot(TYPE source) { in snapshot() argument
215 createSnapshot(source, builder); in snapshot()
248 if (source.mTransitionController.inFinishingTransition(source)) { in createSnapshot()
256 source.getBounds(mTmpRect); in createSnapshot()
[all …]
/aosp14/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DXmlConfigTests.java61 SSLContext context = TestUtils.getSSLContext(source); in testEmptyConfigFile()
80 SSLContext context = TestUtils.getSSLContext(source); in testEmptyAnchors()
107 SSLContext context = TestUtils.getSSLContext(source); in testBasicDomainConfig()
133 SSLContext context = TestUtils.getSSLContext(source); in testBasicPinning()
149 SSLContext context = TestUtils.getSSLContext(source); in testExpiredPin()
164 SSLContext context = TestUtils.getSSLContext(source); in testOverridesPins()
465 XmlConfigSource source = in testExtraDebugResource() local
475 appConfig = new ApplicationConfig(source); in testExtraDebugResource()
483 XmlConfigSource source = in testExtraDebugResourceIgnored() local
493 appConfig = new ApplicationConfig(source); in testExtraDebugResourceIgnored()
[all …]
/aosp14/frameworks/base/core/java/android/text/
H A DSpannedString.java34 public SpannedString(CharSequence source, boolean ignoreNoCopySpan) { in SpannedString() argument
35 super(source, 0, source.length(), ignoreNoCopySpan); in SpannedString()
43 public SpannedString(CharSequence source) { in SpannedString() argument
44 this(source, false /* ignoreNoCopySpan */); // preserve existing NoCopySpan behavior in SpannedString()
47 private SpannedString(CharSequence source, int start, int end) { in SpannedString() argument
49 super(source, start, end, false /* ignoreNoCopySpan */); in SpannedString()
56 public static SpannedString valueOf(CharSequence source) { in valueOf() argument
57 if (source instanceof SpannedString) { in valueOf()
58 return (SpannedString) source; in valueOf()
60 return new SpannedString(source); in valueOf()
H A DSpannableString.java33 public SpannableString(CharSequence source, boolean ignoreNoCopySpan) { in SpannableString() argument
34 super(source, 0, source.length(), ignoreNoCopySpan); in SpannableString()
42 public SpannableString(CharSequence source) { in SpannableString() argument
43 this(source, false /* ignoreNoCopySpan */); // preserve existing NoCopySpan behavior in SpannableString()
46 private SpannableString(CharSequence source, int start, int end) { in SpannableString() argument
48 super(source, start, end, false /* ignoreNoCopySpan */); in SpannableString()
51 public static SpannableString valueOf(CharSequence source) { in valueOf() argument
52 if (source instanceof SpannableString) { in valueOf()
53 return (SpannableString) source; in valueOf()
55 return new SpannableString(source); in valueOf()
/aosp14/frameworks/base/graphics/java/android/view/
H A DPixelCopy.java136 request(source.getHolder().getSurface(), srcRect, in request()
158 request(source, null, dest, listener, listenerThread); in request()
184 if (!source.isValid()) { in request()
225 request(source, null, dest, listener, listenerThread); in request()
280 if (source == null) { in sourceForWindow()
283 if (source.peekDecorView() == null) { in sourceForWindow()
367 private Request(Surface source, Rect sourceInsets) { in Request() argument
368 this.mSource = source; in Request()
411 if (source == null || !source.isAttachedToWindow()) { in ofWindow()
437 if (source == null || !source.isValid()) { in ofSurface()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DSetAudioVolumeLevelMessage.java29 private SetAudioVolumeLevelMessage(int source, int destination, byte[] params, in SetAudioVolumeLevelMessage() argument
31 super(source, destination, Constants.MESSAGE_SET_AUDIO_VOLUME_LEVEL, params, OK); in SetAudioVolumeLevelMessage()
44 public static HdmiCecMessage build(int source, int destination, int audioVolumeLevel) { in build() argument
48 int addressValidationResult = validateAddress(source, destination); in build()
50 return new SetAudioVolumeLevelMessage(source, destination, params, audioVolumeLevel); in build()
52 return new HdmiCecMessage(source, destination, Constants.MESSAGE_SET_AUDIO_VOLUME_LEVEL, in build()
68 public static HdmiCecMessage build(int source, int destination, byte[] params) { in build() argument
77 int addressValidationResult = validateAddress(source, destination); in build()
79 return new SetAudioVolumeLevelMessage(source, destination, params, audioVolumeLevel); in build()
89 public static int validateAddress(int source, int destination) { in validateAddress() argument
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageParserCacheHelperTest.java39 final Bundle source = new Bundle(); in testParcelUnparcel() local
40 source.putInt("i1", 123); in testParcelUnparcel()
41 source.putString("s1", "abcdef"); in testParcelUnparcel()
42 source.putString("s2", "xyz"); in testParcelUnparcel()
43 source.putString("s3", null); in testParcelUnparcel()
47 source.putBundle("b1", nest); in testParcelUnparcel()
52 source.writeToParcel(p, 0); in testParcelUnparcel()
65 assertEquals(source.get("i1"), dest.get("i1")); in testParcelUnparcel()
66 assertEquals(source.get("s1"), dest.get("s1")); in testParcelUnparcel()
67 assertEquals(source.get("s2"), dest.get("s2")); in testParcelUnparcel()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DParcelling.java51 T unparcel(Parcel source); in unparcel() argument
111 public String unparcel(Parcel source) { in unparcel() argument
187 final int size = source.readInt(); in unparcel()
193 set.add(source.readString()); in unparcel()
214 final int size = source.readInt(); in unparcel()
241 final int size = source.readInt(); in unparcel()
269 switch (source.readInt()) { in unparcel()
272 + source); in unparcel()
292 String s = source.readString(); in unparcel()
305 public UUID unparcel(Parcel source) { in unparcel() argument
[all …]
/aosp14/frameworks/base/media/java/android/media/tv/
H A DBroadcastInfoResponse.java55 public BroadcastInfoResponse createFromParcel(Parcel source) {
56 @TvInputManager.BroadcastInfoType int type = source.readInt();
59 return TsResponse.createFromParcelBody(source);
61 return TableResponse.createFromParcelBody(source);
63 return SectionResponse.createFromParcelBody(source);
65 return PesResponse.createFromParcelBody(source);
69 return DsmccResponse.createFromParcelBody(source);
71 return CommandResponse.createFromParcelBody(source);
102 mRequestId = source.readInt(); in BroadcastInfoResponse()
103 mSequence = source.readInt(); in BroadcastInfoResponse()
[all …]
H A DBroadcastInfoRequest.java54 public BroadcastInfoRequest createFromParcel(Parcel source) {
55 @TvInputManager.BroadcastInfoType int type = source.readInt();
58 return TsRequest.createFromParcelBody(source);
60 return TableRequest.createFromParcelBody(source);
62 return SectionRequest.createFromParcelBody(source);
64 return PesRequest.createFromParcelBody(source);
68 return DsmccRequest.createFromParcelBody(source);
70 return CommandRequest.createFromParcelBody(source);
72 return TimelineRequest.createFromParcelBody(source);
99 mRequestId = source.readInt(); in BroadcastInfoRequest()
[all …]
/aosp14/frameworks/base/core/java/android/window/
H A DStartingWindowInfo.java230 private StartingWindowInfo(@NonNull Parcel source) { in StartingWindowInfo() argument
231 readFromParcel(source); in StartingWindowInfo()
263 void readFromParcel(@NonNull Parcel source) { in readFromParcel() argument
266 startingWindowTypeParameter = source.readInt(); in readFromParcel()
268 topOpaqueWindowLayoutParams = source.readTypedObject( in readFromParcel()
271 splashScreenThemeResId = source.readInt(); in readFromParcel()
272 isKeyguardOccluded = source.readBoolean(); in readFromParcel()
274 requestedVisibleTypes = source.readInt(); in readFromParcel()
275 appToken = source.readStrongBinder(); in readFromParcel()
277 .asInterface(source.readStrongBinder()); in readFromParcel()
[all …]
H A DStartingWindowRemovalInfo.java105 private StartingWindowRemovalInfo(@NonNull Parcel source) { in StartingWindowRemovalInfo() argument
106 readFromParcel(source); in StartingWindowRemovalInfo()
114 void readFromParcel(@NonNull Parcel source) { in readFromParcel() argument
115 taskId = source.readInt(); in readFromParcel()
117 mainFrame = source.readTypedObject(Rect.CREATOR); in readFromParcel()
118 playRevealAnimation = source.readBoolean(); in readFromParcel()
119 deferRemoveForImeMode = source.readInt(); in readFromParcel()
120 roundedCornerRadius = source.readFloat(); in readFromParcel()
121 windowlessSurface = source.readBoolean(); in readFromParcel()
122 removeImmediately = source.readBoolean(); in readFromParcel()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/statusbar/
H A DRegisterStatusBarResult.java101 final int disabledFlags1 = source.readInt();
102 final int appearance = source.readInt();
105 final int imeWindowVis = source.readInt();
106 final int imeBackDisposition = source.readInt();
107 final boolean showImeSwitcher = source.readBoolean();
108 final int disabledFlags2 = source.readInt();
109 final IBinder imeToken = source.readStrongBinder();
111 final int behavior = source.readInt();
112 final int requestedVisibleTypes = source.readInt();
113 final String packageName = source.readString();
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/graphics/
H A DImageLoader.kt102 source: Source,
126 source: Source,
139 Log.w(TAG, "Couldn't load resource $source", e)
161 source: ImageDecoder.Source,
172 Log.w(TAG, "Failed to load source $source", e)
197 source: Source,
252 source: Source,
267 if (source is Res) {
296 source: ImageDecoder.Source,
307 Log.w(TAG, "Failed to load source $source", e)
[all …]
/aosp14/frameworks/base/core/java/android/text/method/
H A DReplacementTransformationMethod.java52 public CharSequence getTransformation(CharSequence source, View v) { in getTransformation() argument
59 if (!(source instanceof Editable)) { in getTransformation()
67 if (TextUtils.indexOf(source, original[i]) >= 0) { in getTransformation()
73 return source; in getTransformation()
76 if (!(source instanceof Spannable)) { in getTransformation()
82 if (source instanceof Spanned) { in getTransformation()
87 return new ReplacementCharSequence(source, in getTransformation()
94 if (source instanceof Spanned) { in getTransformation()
114 mSource = source; in ReplacementCharSequence()
175 super(source, original, replacement); in SpannedReplacementCharSequence()
[all …]
/aosp14/frameworks/base/core/java/android/content/om/
H A DOverlayInfo.java247 this(source.packageName, source.overlayName, source.targetPackageName, in OverlayInfo()
248 source.targetOverlayableName, source.category, source.baseCodePath, state, in OverlayInfo()
249 source.userId, source.priority, source.isMutable, source.isFabricated); in OverlayInfo()
283 packageName = source.readString(); in OverlayInfo()
284 overlayName = source.readString(); in OverlayInfo()
287 category = source.readString(); in OverlayInfo()
288 baseCodePath = source.readString(); in OverlayInfo()
289 state = source.readInt(); in OverlayInfo()
290 userId = source.readInt(); in OverlayInfo()
291 priority = source.readInt(); in OverlayInfo()
[all …]
/aosp14/frameworks/base/core/java/com/android/ims/internal/uce/common/
H A DCapInfo.java848 public CapInfo createFromParcel(Parcel source) {
849 return new CapInfo(source);
857 private CapInfo(Parcel source) { in CapInfo() argument
858 readFromParcel(source); in CapInfo()
861 public void readFromParcel(Parcel source) { in readFromParcel() argument
863 mImSupported = (source.readInt() == 0) ? false : true; in readFromParcel()
864 mFtSupported = (source.readInt() == 0) ? false : true; in readFromParcel()
868 mIsSupported = (source.readInt() == 0) ? false : true; in readFromParcel()
894 mExts = source.createStringArray(); in readFromParcel()
895 mCapTimestamp = source.readLong(); in readFromParcel()
[all …]
/aosp14/frameworks/base/core/java/android/view/
H A DInsetsState.java170 : source; in calculateInsets()
436 if (source != null) { in getOrCreateSource()
437 return source; in getOrCreateSource()
440 mSources.put(id, source); in getOrCreateSource()
441 return source; in getOrCreateSource()
484 return source != null ? source.isVisible() : (type & Type.defaultVisible()) != 0; in isSourceOrDefaultVisible()
583 if (source != null) { in setSourceVisible()
584 source.setVisible(visible); in setSourceVisible()
662 mSources.put(source.getId(), source); in addSource() local
693 if (source != null) { in dumpDebug()
[all …]

12345678910>>...48