Home
last modified time | relevance | path

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

12345678910>>...75

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DViewDialogLaunchAnimatorController.kt28 private val source: View, constant in com.android.systemui.animation.ViewDialogLaunchAnimatorController
32 get() = source.viewRootImpl
34 override val sourceIdentity: Any = source
41 (source as? LaunchableView)?.setShouldBlockVisibilityChanges(true) in startDrawingInOverlayOf()
45 GhostView.addGhost(source, viewGroup) in startDrawingInOverlayOf()
52 if (source is LaunchableView) { in stopDrawingInOverlay()
55 source.setShouldBlockVisibilityChanges(false) in stopDrawingInOverlay()
58 source.visibility = View.VISIBLE in stopDrawingInOverlay()
63 val delegate = GhostedViewLaunchAnimatorController(source) in createLaunchController()
69 GhostView.removeGhost(source) in createLaunchController()
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java557 public PackageInfo createFromParcel(Parcel source) {
558 return new PackageInfo(source);
568 private PackageInfo(Parcel source) { in PackageInfo() argument
569 packageName = source.readString8(); in PackageInfo()
570 splitNames = source.createString8Array(); in PackageInfo()
571 versionCode = source.readInt(); in PackageInfo()
572 versionCodeMajor = source.readInt(); in PackageInfo()
573 versionName = source.readString8(); in PackageInfo()
574 baseRevisionCode = source.readInt(); in PackageInfo()
575 splitRevisionCodes = source.createIntArray(); in PackageInfo()
[all …]
DInstrumentationInfo.java181 public InstrumentationInfo createFromParcel(Parcel source) {
182 return new InstrumentationInfo(source);
190 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()
196 splitNames = source.createString8Array(); in InstrumentationInfo()
197 splitSourceDirs = source.createString8Array(); in InstrumentationInfo()
[all …]
DPackageInfoLite.java134 public PackageInfoLite createFromParcel(Parcel source) {
135 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()
150 recommendedInstallLocation = source.readInt(); in PackageInfoLite()
[all …]
/frameworks/av/media/libstagefright/
DInterfaceUtils.cpp26 sp<DataSource> CreateDataSourceFromIDataSource(const sp<IDataSource> &source) { in CreateDataSourceFromIDataSource() argument
27 if (source == nullptr) { in CreateDataSourceFromIDataSource()
30 return new TinyCacheSource(new CallbackDataSource(source)); in CreateDataSourceFromIDataSource()
33 sp<IDataSource> CreateIDataSourceFromDataSource(const sp<DataSource> &source) { in CreateIDataSourceFromDataSource() argument
34 if (source == nullptr) { in CreateIDataSourceFromDataSource()
37 return RemoteDataSource::wrap(source); in CreateIDataSourceFromDataSource()
42 const sp<DataSource> &source, in CreateIMediaExtractorFromMediaExtractor() argument
47 return RemoteMediaExtractor::wrap(extractor, source, plugin); in CreateIMediaExtractorFromMediaExtractor()
50 sp<MediaSource> CreateMediaSourceFromIMediaSource(const sp<IMediaSource> &source) { in CreateMediaSourceFromIMediaSource() argument
51 if (source == nullptr) { in CreateMediaSourceFromIMediaSource()
[all …]
/frameworks/base/tools/aapt2/integration-tests/DumpTest/
Dcomponents_full_proto.txt187 source {
194 source {
210 source {
217 source {
233 source {
240 source {
256 source {
263 source {
279 source {
286 source {
[all …]
/frameworks/base/core/java/android/app/
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()
606 baseIntent = source.readTypedObject(Intent.CREATOR); in readFromParcel()
607 baseActivity = ComponentName.readFromParcel(source); in readFromParcel()
608 topActivity = ComponentName.readFromParcel(source); in readFromParcel()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DProjectionSpaceTest.cpp67 ProjectionSpace source; in TEST() local
68 source.setContent(Rect(10, 10, 20, 20)); in TEST()
69 source.setBounds(ui::Size(100, 200)); in TEST()
73 dest.setBounds(source.getBounds()); in TEST()
75 const auto transform = source.getTransform(dest); in TEST()
76 EXPECT_EQ(transform.transform(source.getContent()), dest.getContent()); in TEST()
80 ProjectionSpace source; in TEST() local
81 source.setContent(Rect(0, 0, 20, 20)); in TEST()
82 source.setBounds(ui::Size(100, 200)); in TEST()
86 dest.setBounds(source.getBounds()); in TEST()
[all …]
/frameworks/base/core/java/android/text/
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()
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()
/frameworks/base/services/core/java/com/android/server/wm/
DAbsAppSnapshotController.java127 abstract ActivityRecord getTopActivity(TYPE source); in getTopActivity() argument
128 abstract ActivityRecord getTopFullscreenActivity(TYPE source); in getTopFullscreenActivity() argument
129 abstract ActivityManager.TaskDescription getTaskDescription(TYPE source); in getTaskDescription() argument
136 protected abstract ActivityRecord findAppTokenForSnapshot(TYPE source); in findAppTokenForSnapshot() argument
147 TaskSnapshot captureSnapshot(TYPE source, boolean snapshotHome) { in captureSnapshot() argument
150 snapshot = snapshot(source); in captureSnapshot()
152 switch (getSnapshotMode(source)) { in captureSnapshot()
156 snapshot = drawAppThemeSnapshot(source); in captureSnapshot()
159 snapshot = snapshot(source); in captureSnapshot()
169 final TaskSnapshot recordSnapshotInner(TYPE source, boolean allowSnapshotHome) { in recordSnapshotInner() argument
[all …]
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DLinkPropertiesUtilsTest.java88 final LinkProperties source = createTestObject(); in testLinkPropertiesIdenticalEqual() local
89 final LinkProperties target = new LinkProperties(source); in testLinkPropertiesIdenticalEqual()
91 assertTrue(LinkPropertiesUtils.isIdenticalInterfaceName(source, target)); in testLinkPropertiesIdenticalEqual()
92 assertTrue(LinkPropertiesUtils.isIdenticalInterfaceName(target, source)); in testLinkPropertiesIdenticalEqual()
94 assertTrue(LinkPropertiesUtils.isIdenticalAddresses(source, target)); in testLinkPropertiesIdenticalEqual()
95 assertTrue(LinkPropertiesUtils.isIdenticalAddresses(target, source)); in testLinkPropertiesIdenticalEqual()
97 assertTrue(LinkPropertiesUtils.isIdenticalAllLinkAddresses(source, target)); in testLinkPropertiesIdenticalEqual()
98 assertTrue(LinkPropertiesUtils.isIdenticalAllLinkAddresses(target, source)); in testLinkPropertiesIdenticalEqual()
100 assertTrue(LinkPropertiesUtils.isIdenticalDnses(source, target)); in testLinkPropertiesIdenticalEqual()
101 assertTrue(LinkPropertiesUtils.isIdenticalDnses(target, source)); in testLinkPropertiesIdenticalEqual()
[all …]
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DXmlConfigTests.java48 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_config, in testEmptyConfigFile() local
50 ApplicationConfig appConfig = new ApplicationConfig(source); in testEmptyConfigFile()
61 SSLContext context = TestUtils.getSSLContext(source); in testEmptyConfigFile()
68 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_trust, in testEmptyAnchors() local
70 ApplicationConfig appConfig = new ApplicationConfig(source); in testEmptyAnchors()
80 SSLContext context = TestUtils.getSSLContext(source); in testEmptyAnchors()
87 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.domain1, in testBasicDomainConfig() local
89 ApplicationConfig appConfig = new ApplicationConfig(source); in testBasicDomainConfig()
107 SSLContext context = TestUtils.getSSLContext(source); in testBasicDomainConfig()
124 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.pins1, in testBasicPinning() local
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DVideoPauseTracker.java78 public boolean shouldPauseVideoFor(int source) { in shouldPauseVideoFor() argument
81 mPauseRequests.add(source); in shouldPauseVideoFor()
86 sourceToString(source), sourcesToString(mPauseRequests))); in shouldPauseVideoFor()
92 sourceToString(source), sourcesToString(mPauseRequests))); in shouldPauseVideoFor()
111 public boolean shouldResumeVideoFor(int source) { in shouldResumeVideoFor() argument
114 mPauseRequests.remove(source); in shouldResumeVideoFor()
120 sourceToString(source), sourcesToString(mPauseRequests))); in shouldResumeVideoFor()
126 sourceToString(source), sourcesToString(mPauseRequests))); in shouldResumeVideoFor()
132 sourceToString(source), sourcesToString(mPauseRequests))); in shouldResumeVideoFor()
157 public boolean wasVideoPausedFromSource(int source) { in wasVideoPausedFromSource() argument
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
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
70 return new HdmiCecMessage(source, destination, Constants.MESSAGE_SET_AUDIO_VOLUME_LEVEL, in build()
77 int addressValidationResult = validateAddress(source, destination); in build()
79 return new SetAudioVolumeLevelMessage(source, destination, params, audioVolumeLevel); in build()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
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 …]
/frameworks/base/graphics/java/android/view/
DPixelCopy.java109 public static void request(@NonNull SurfaceView source, @NonNull Bitmap dest, in request() argument
111 request(source.getHolder().getSurface(), dest, listener, listenerThread); in request()
133 public static void request(@NonNull SurfaceView source, @Nullable Rect srcRect, in request() argument
136 request(source.getHolder().getSurface(), srcRect, in request()
156 public static void request(@NonNull Surface source, @NonNull Bitmap dest, in request() argument
158 request(source, null, dest, listener, listenerThread); in request()
180 public static void request(@NonNull Surface source, @Nullable Rect srcRect, in request() argument
184 if (!source.isValid()) { in request()
190 HardwareRenderer.copySurfaceInto(source, new HardwareRenderer.CopyRequest(srcRect, dest) { in request()
223 public static void request(@NonNull Window source, @NonNull Bitmap dest, in request() argument
[all …]
/frameworks/base/media/java/android/media/tv/
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);
67 return StreamEventResponse.createFromParcelBody(source);
69 return DsmccResponse.createFromParcelBody(source);
71 return CommandResponse.createFromParcelBody(source);
73 return TimelineResponse.createFromParcelBody(source);
[all …]
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);
66 return StreamEventRequest.createFromParcelBody(source);
68 return DsmccRequest.createFromParcelBody(source);
70 return CommandRequest.createFromParcelBody(source);
72 return TimelineRequest.createFromParcelBody(source);
[all …]
/frameworks/base/core/java/android/window/
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()
116 windowAnimationLeash = source.readTypedObject(SurfaceControl.CREATOR); 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()
[all …]
DStartingWindowInfo.java230 private StartingWindowInfo(@NonNull Parcel source) { in StartingWindowInfo() argument
231 readFromParcel(source); in StartingWindowInfo()
263 void readFromParcel(@NonNull Parcel source) { in readFromParcel() argument
264 taskInfo = source.readTypedObject(ActivityManager.RunningTaskInfo.CREATOR); in readFromParcel()
265 targetActivityInfo = source.readTypedObject(ActivityInfo.CREATOR); in readFromParcel()
266 startingWindowTypeParameter = source.readInt(); in readFromParcel()
267 topOpaqueWindowInsetsState = source.readTypedObject(InsetsState.CREATOR); in readFromParcel()
268 topOpaqueWindowLayoutParams = source.readTypedObject( in readFromParcel()
270 mainWindowLayoutParams = source.readTypedObject(WindowManager.LayoutParams.CREATOR); in readFromParcel()
271 splashScreenThemeResId = source.readInt(); in readFromParcel()
[all …]
/frameworks/base/core/java/com/android/internal/statusbar/
DRegisterStatusBarResult.java98 public RegisterStatusBarResult createFromParcel(Parcel source) {
100 source.createTypedArrayMap(StatusBarIcon.CREATOR);
101 final int disabledFlags1 = source.readInt();
102 final int appearance = source.readInt();
104 source.readParcelableArray(null, AppearanceRegion.class);
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();
[all …]
/frameworks/base/core/java/com/android/internal/util/
DParcelling.java51 T unparcel(Parcel source); in unparcel() argument
111 public String unparcel(Parcel source) { in unparcel() argument
112 return TextUtils.safeIntern(source.readString()); in unparcel()
124 public String[] unparcel(Parcel source) { in unparcel() argument
125 String[] array = source.readStringArray(); in unparcel()
143 public List<String> unparcel(Parcel source) { in unparcel() argument
144 ArrayList<String> list = source.createStringArrayList(); in unparcel()
162 public Map<String, String> unparcel(Parcel source) { in unparcel() argument
164 source.readMap(map, String.class.getClassLoader()); in unparcel()
186 public Set<String> unparcel(Parcel source) { in unparcel() argument
[all …]
/frameworks/base/core/java/android/text/method/
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()
84 (Spanned) source, in getTransformation()
87 return new ReplacementCharSequence(source, in getTransformation()
94 if (source instanceof Spanned) { in getTransformation()
95 return new SpannedReplacementCharSequence((Spanned) source, in getTransformation()
[all …]
/frameworks/base/core/java/android/content/om/
DOverlayInfo.java246 public OverlayInfo(@NonNull OverlayInfo source, @State int state) { in OverlayInfo() argument
247 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()
282 public OverlayInfo(@NonNull Parcel source) { in OverlayInfo() argument
283 packageName = source.readString(); in OverlayInfo()
284 overlayName = source.readString(); in OverlayInfo()
285 targetPackageName = source.readString(); in OverlayInfo()
286 targetOverlayableName = source.readString(); in OverlayInfo()
287 category = source.readString(); in OverlayInfo()
[all …]

12345678910>>...75