Home
last modified time | relevance | path

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

12345678910>>...81

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DViewDialogTransitionAnimatorController.kt31 private val source: View, constant in com.android.systemui.animation.ViewDialogTransitionAnimatorController
35 get() = source.viewRootImpl
37 override val sourceIdentity: Any = source
44 (source as? LaunchableView)?.setShouldBlockVisibilityChanges(true) in startDrawingInOverlayOf()
48 if (source.parent !is ViewGroup) { in startDrawingInOverlayOf()
53 GhostView.addGhost(source, viewGroup) in startDrawingInOverlayOf()
61 if (source is LaunchableView) { in stopDrawingInOverlay()
64 source.setShouldBlockVisibilityChanges(false) in stopDrawingInOverlay()
67 source.visibility = View.VISIBLE in stopDrawingInOverlay()
72 val delegate = GhostedViewTransitionAnimatorController(source) in createTransitionController()
[all …]
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java648 public PackageInfo createFromParcel(Parcel source) {
649 return new PackageInfo(source);
659 private PackageInfo(Parcel source) { in PackageInfo() argument
660 packageName = source.readString8(); in PackageInfo()
661 splitNames = source.createString8Array(); in PackageInfo()
662 versionCode = source.readInt(); in PackageInfo()
663 versionCodeMajor = source.readInt(); in PackageInfo()
664 versionName = source.readString8(); in PackageInfo()
665 baseRevisionCode = source.readInt(); in PackageInfo()
666 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/base/services/core/java/com/android/server/wm/utils/
DDisplayInfoOverrides.java33 public static final DisplayInfoFieldsUpdater WM_OVERRIDE_FIELDS = (out, source) -> {
34 out.appWidth = source.appWidth;
35 out.appHeight = source.appHeight;
36 out.smallestNominalAppWidth = source.smallestNominalAppWidth;
37 out.smallestNominalAppHeight = source.smallestNominalAppHeight;
38 out.largestNominalAppWidth = source.largestNominalAppWidth;
39 out.largestNominalAppHeight = source.largestNominalAppHeight;
40 out.logicalWidth = source.logicalWidth;
41 out.logicalHeight = source.logicalHeight;
42 out.physicalXDpi = source.physicalXDpi;
[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/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/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DXmlConfigTests.java40 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_config, in testEmptyConfigFile() local
42 ApplicationConfig appConfig = new ApplicationConfig(source); in testEmptyConfigFile()
53 SSLContext context = TestUtils.getSSLContext(source); in testEmptyConfigFile()
60 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_trust, in testEmptyAnchors() local
62 ApplicationConfig appConfig = new ApplicationConfig(source); in testEmptyAnchors()
72 SSLContext context = TestUtils.getSSLContext(source); in testEmptyAnchors()
79 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.domain1, in testBasicDomainConfig() local
81 ApplicationConfig appConfig = new ApplicationConfig(source); in testBasicDomainConfig()
99 SSLContext context = TestUtils.getSSLContext(source); in testBasicDomainConfig()
116 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.pins1, in testBasicPinning() local
[all …]
/frameworks/base/core/java/android/app/
DTaskInfo.java309 private TaskInfo(Parcel source) { in TaskInfo() argument
310 readFromParcel(source); in TaskInfo()
461 void readFromParcel(Parcel source) { in readFromParcel() argument
462 userId = source.readInt(); in readFromParcel()
463 taskId = source.readInt(); in readFromParcel()
464 displayId = source.readInt(); in readFromParcel()
465 isRunning = source.readBoolean(); in readFromParcel()
466 baseIntent = source.readTypedObject(Intent.CREATOR); in readFromParcel()
467 baseActivity = ComponentName.readFromParcel(source); in readFromParcel()
468 topActivity = ComponentName.readFromParcel(source); in readFromParcel()
[all …]
DAppCompatTaskInfo.java113 private AppCompatTaskInfo(Parcel source) { in AppCompatTaskInfo() argument
114 readFromParcel(source); in AppCompatTaskInfo()
200 void readFromParcel(Parcel source) { in readFromParcel() argument
201 isLetterboxEducationEnabled = source.readBoolean(); in readFromParcel()
202 topActivityInSizeCompat = source.readBoolean(); in readFromParcel()
203 topActivityEligibleForLetterboxEducation = source.readBoolean(); in readFromParcel()
204 isLetterboxDoubleTapEnabled = source.readBoolean(); in readFromParcel()
205 topActivityEligibleForUserAspectRatioButton = source.readBoolean(); in readFromParcel()
206 topActivityBoundsLetterboxed = source.readBoolean(); in readFromParcel()
207 isFromLetterboxDoubleTap = source.readBoolean(); in readFromParcel()
[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/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.java69 public BroadcastInfoRequest createFromParcel(Parcel source) {
70 @TvInputManager.BroadcastInfoType int type = source.readInt();
73 return TsRequest.createFromParcelBody(source);
75 return TableRequest.createFromParcelBody(source);
77 return SectionRequest.createFromParcelBody(source);
79 return PesRequest.createFromParcelBody(source);
81 return StreamEventRequest.createFromParcelBody(source);
83 return DsmccRequest.createFromParcelBody(source);
85 return CommandRequest.createFromParcelBody(source);
87 return TimelineRequest.createFromParcelBody(source);
[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/core/java/android/view/
DHapticScrollFeedbackProvider.java82 public void onScrollProgress(int inputDeviceId, int source, int axis, int deltaInPixels) { in onScrollProgress() argument
83 maybeUpdateCurrentConfig(inputDeviceId, source, axis); in onScrollProgress()
109 public void onScrollLimit(int inputDeviceId, int source, int axis, boolean isStart) { in onScrollLimit() argument
110 maybeUpdateCurrentConfig(inputDeviceId, source, axis); in onScrollLimit()
126 public void onSnapToItem(int inputDeviceId, int source, int axis) { in onSnapToItem() argument
127 maybeUpdateCurrentConfig(inputDeviceId, source, axis); in onSnapToItem()
136 private void maybeUpdateCurrentConfig(int deviceId, int source, int axis) { in maybeUpdateCurrentConfig() argument
137 if (mAxis != axis || mSource != source || mDeviceId != deviceId) { in maybeUpdateCurrentConfig()
139 && (source == InputDevice.SOURCE_ROTARY_ENCODER) in maybeUpdateCurrentConfig()
144 mSource = source; in maybeUpdateCurrentConfig()
[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/core/java/android/service/notification/
DCondition.java122 public final @Source int source; // default = SOURCE_UNKNOWN field in Condition
150 @Source int source) { in Condition() argument
151 this(id, summary, "", "", -1, state, source, FLAG_RELEVANT_ALWAYS); in Condition()
173 @Nullable String line2, int icon, @State int state, @Source int source, in Condition() argument
184 this.source = checkValidSource(source); in Condition()
188 public Condition(Parcel source) { in Condition() argument
192 this((Uri)source.readParcelable(Condition.class.getClassLoader(), android.net.Uri.class), in Condition()
193 source.readString(), in Condition()
194 source.readString(), in Condition()
195 source.readString(), in Condition()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/graphics/
DImageLoader.kt102 source: Source, in <lambda>()
107 withContext(backgroundDispatcher) { loadBitmapSync(source, maxWidth, maxHeight, allocator) } in <lambda>()
126 source: Source, in <lambda>()
133 toImageDecoderSource(source, defaultContext), in <lambda>()
139 Log.w(TAG, "Couldn't load resource $source", e) in <lambda>()
161 source: ImageDecoder.Source, in <lambda>()
167 ImageDecoder.decodeBitmap(source) { decoder, info, _ -> in <lambda>()
172 Log.w(TAG, "Failed to load source $source", e) in <lambda>()
175 Log.w(TAG, "Failed to decode source $source", e) in <lambda>()
197 source: Source, in <lambda>()
[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.java52 T unparcel(Parcel source); in unparcel() argument
112 public String unparcel(Parcel source) { in unparcel() argument
113 return TextUtils.safeIntern(source.readString()); in unparcel()
125 public String[] unparcel(Parcel source) { in unparcel() argument
126 String[] array = source.readStringArray(); in unparcel()
144 public List<String> unparcel(Parcel source) { in unparcel() argument
145 ArrayList<String> list = source.createStringArrayList(); in unparcel()
163 public Map<String, String> unparcel(Parcel source) { in unparcel() argument
165 source.readMap(map, String.class.getClassLoader()); in unparcel()
187 public Set<String> unparcel(Parcel source) { in unparcel() argument
[all …]
/frameworks/base/core/java/android/window/
DStartingWindowInfo.java244 private StartingWindowInfo(@NonNull Parcel source) { in StartingWindowInfo() argument
245 readFromParcel(source); in StartingWindowInfo()
278 void readFromParcel(@NonNull Parcel source) { in readFromParcel() argument
279 taskInfo = source.readTypedObject(ActivityManager.RunningTaskInfo.CREATOR); in readFromParcel()
280 taskBounds.readFromParcel(source); in readFromParcel()
281 targetActivityInfo = source.readTypedObject(ActivityInfo.CREATOR); in readFromParcel()
282 startingWindowTypeParameter = source.readInt(); in readFromParcel()
283 topOpaqueWindowInsetsState = source.readTypedObject(InsetsState.CREATOR); in readFromParcel()
284 topOpaqueWindowLayoutParams = source.readTypedObject( in readFromParcel()
286 mainWindowLayoutParams = source.readTypedObject(WindowManager.LayoutParams.CREATOR); in readFromParcel()
[all …]

12345678910>>...81