Searched defs:source (Results 226 - 250 of 468) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/preference/
H A DTwoStatePreference.java256 public SavedState(Parcel source) { argument
257 super(source);
258 checked = source.readInt() == 1;
H A DVolumePreference.java200 public SavedState(Parcel source) { argument
201 super(source);
202 mVolumeStore.volume = source.readInt();
203 mVolumeStore.originalVolume = source.readInt();
/frameworks/base/core/java/android/text/
H A DBoringLayout.java39 public static BoringLayout make(CharSequence source, argument
44 return new BoringLayout(source, paint, outerwidth, align,
49 public static BoringLayout make(CharSequence source, argument
55 return new BoringLayout(source, paint, outerwidth, align,
65 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, argument
70 replaceWith(source, paint, outerwidth, align, spacingmult,
77 init(source, paint, outerwidth, align, spacingmult, spacingadd,
87 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, argument
97 replaceWith(source, paint, outerwidth, align, spacingmult,
105 replaceWith(TextUtils.ellipsize(source, pain
119 BoringLayout(CharSequence source, TextPaint paint, int outerwidth, Alignment align, float spacingmult, float spacingadd, BoringLayout.Metrics metrics, boolean includepad) argument
134 BoringLayout(CharSequence source, TextPaint paint, int outerwidth, Alignment align, float spacingmult, float spacingadd, BoringLayout.Metrics metrics, boolean includepad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) argument
169 init(CharSequence source, TextPaint paint, int outerwidth, Alignment align, float spacingmult, float spacingadd, BoringLayout.Metrics metrics, boolean includepad, boolean trustWidth) argument
[all...]
H A DSpannableStringInternal.java28 /* package */ SpannableStringInternal(CharSequence source, argument
30 if (start == 0 && end == source.length())
31 mText = source.toString();
33 mText = source.toString().substring(start, end);
38 if (source instanceof Spanned) {
39 Spanned sp = (Spanned) source;
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java37 public CharSequence getTransformation(CharSequence source, View view) { argument
38 if (source instanceof Spannable) {
39 Spannable sp = (Spannable) source;
59 return new PasswordCharSequence(source);
141 public PasswordCharSequence(CharSequence source) { argument
142 mSource = source;
/frameworks/base/core/java/android/util/
H A DPathParser.java77 * @param source The array of PathDataNode to be duplicated.
78 * @return a deep copy of the <code>source</code>.
80 public static PathDataNode[] deepCopyNodes(PathDataNode[] source) { argument
81 if (source == null) {
84 PathDataNode[] copy = new PathParser.PathDataNode[source.length];
85 for (int i = 0; i < source.length; i ++) {
86 copy[i] = new PathDataNode(source[i]);
92 * @param nodesFrom The source path represented in an array of PathDataNode
115 * Update the target's data to match the source.
116 * Before calling this, make sure canMorph(target, source) i
121 updateNodes(PathDataNode[] target, PathDataNode[] source) argument
[all...]
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java233 public DisplayInfo createFromParcel(Parcel source) {
234 return new DisplayInfo(source);
250 private DisplayInfo(Parcel source) { argument
251 readFromParcel(source);
328 public void readFromParcel(Parcel source) { argument
329 layerStack = source.readInt();
330 flags = source.readInt();
331 type = source.readInt();
332 address = source.readString();
333 name = source
[all...]
H A DDragEvent.java294 public static DragEvent obtain(DragEvent source) { argument
295 return obtain(source.mAction, source.mX, source.mY, source.mLocalState,
296 source.mClipDescription, source.mClipData, source.mDragResult);
H A DFocusFinder.java271 * direction from a source rect? This is the core routine that determines
274 * @param source The source we are searching from
279 boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { argument
283 if (!isCandidate(source, rect1, direction)) {
289 if (!isCandidate(source, rect2, direction)) {
294 if (beamBeats(direction, source, rect1, rect2)) {
299 if (beamBeats(direction, source, rect2, rect1)) {
305 majorAxisDistance(direction, source, rect1),
306 minorAxisDistance(direction, source, rect
318 beamBeats(int direction, Rect source, Rect rect1, Rect rect2) argument
431 majorAxisDistance(int direction, Rect source, Rect dest) argument
435 majorAxisDistanceRaw(int direction, Rect source, Rect dest) argument
456 majorAxisDistanceToFarEdge(int direction, Rect source, Rect dest) argument
460 majorAxisDistanceToFarEdgeRaw(int direction, Rect source, Rect dest) argument
483 minorAxisDistance(int direction, Rect source, Rect dest) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodInfo.java246 InputMethodInfo(Parcel source) { argument
247 mId = source.readString();
248 mSettingsActivityName = source.readString();
249 mIsDefaultResId = source.readInt();
250 mIsAuxIme = source.readInt() == 1;
251 mSupportsSwitchingToNextInputMethod = source.readInt() == 1;
252 mService = ResolveInfo.CREATOR.createFromParcel(source);
253 mSubtypes = new InputMethodSubtypeArray(source);
507 public InputMethodInfo createFromParcel(Parcel source) {
508 return new InputMethodInfo(source);
[all...]
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSubtype.java61 SpellCheckerSubtype(Parcel source) { argument
63 mSubtypeNameResId = source.readInt();
64 s = source.readString();
66 s = source.readString();
209 public SpellCheckerSubtype createFromParcel(Parcel source) {
210 return new SpellCheckerSubtype(source);
/frameworks/base/core/java/android/widget/
H A DRadioGroup.java297 public LayoutParams(MarginLayoutParams source) { argument
298 super(source);
/frameworks/base/core/jni/
H A Dandroid_view_KeyEvent.cpp79 jint source = env->GetIntField(eventObj, gKeyEventClassInfo.mSource); local
89 event->initialize(deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount,
/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java229 private void copyAssetToFile(String source, String destination) throws IOException { argument
232 FileInputStream fileInputStream = mAssets.openFd(source).createInputStream();
/frameworks/base/media/java/android/media/
H A DFocusRequester.java70 * @param source
78 IAudioFocusDispatcher afl, IBinder source, String id, AudioFocusDeathHandler hdlr,
82 mSourceRef = source;
187 pw.println(" source:" + mSourceRef
77 FocusRequester(AudioAttributes aa, int focusRequest, int grantFlags, IAudioFocusDispatcher afl, IBinder source, String id, AudioFocusDeathHandler hdlr, String pn, int uid, @NonNull MediaFocusControl ctlr) argument
H A DMediaExtractor.java38 * from a data source.
69 * Sets the DataSource object to be used as the data source for this extractor
72 public native final void setDataSource(DataSource source) throws IOException; argument
75 * Sets the data source as a content Uri.
121 * Sets the data source (file-path or http URL) to use.
157 * Sets the data source (file-path or http URL) to use.
177 * Sets the data source (FileDescriptor) to use. It is the caller's responsibility
187 * Sets the data source (FileDescriptor) to use. The FileDescriptor must be
211 * Count the number of tracks found in the data source.
H A DThumbnailUtils.java195 * @param source original bitmap source
200 Bitmap source, int width, int height) {
201 return extractThumbnail(source, width, height, OPTIONS_NONE);
207 * @param source original bitmap source
213 Bitmap source, int width, int height, int options) {
214 if (source == null) {
219 if (source.getWidth() < source
199 extractThumbnail( Bitmap source, int width, int height) argument
212 extractThumbnail( Bitmap source, int width, int height, int options) argument
356 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, int options) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterGraph.java82 public void connect(Filter source, argument
86 if (source == null || target == null) {
88 } else if (!containsFilter(source) || !containsFilter(target)) {
92 OutputPort outPort = source.getOutputPort(outputName);
96 source + "!");
109 Filter source = getFilter(sourceName);
111 if (source == null) {
113 "Attempting to connect unknown source filter '" + sourceName + "'!");
118 connect(source, outputName, target, inputName);
347 if (mLogVerbose) Log.v(TAG, "Found source filte
[all...]
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusionEngine.java111 public void setRequest(ProviderRequestUnbundled request, WorkSource source) { argument
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DCarrierText.java346 public CharSequence getTransformation(CharSequence source, View view) { argument
347 source = super.getTransformation(source, view);
349 if (mAllCaps && source != null) {
350 source = source.toString().toUpperCase(mLocale);
353 return source;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java83 public int openDocument(ParcelFileDescriptor source) throws RemoteException { argument
90 mRenderer = new PdfRenderer(source);
93 IoUtils.closeQuietly(source);
97 IoUtils.closeQuietly(source);
217 public int openDocument(ParcelFileDescriptor source) throws RemoteException { argument
224 mEditor = new PdfEditor(source);
227 IoUtils.closeQuietly(source);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationTemplateViewWrapper.java237 private static int interpolateColor(int source, int target, float t) { argument
238 int aSource = Color.alpha(source);
239 int rSource = Color.red(source);
240 int gSource = Color.green(source);
241 int bSource = Color.blue(source);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java72 final float imageWidth = mRenderer.source.getImageWidth();
73 final float imageHeight = mRenderer.source.getImageHeight();
90 float initialCenterX = mRenderer.source.getImageWidth() / 2f;
91 float initialCenterY = mRenderer.source.getImageHeight() / 2f;
134 return new Point(mRenderer.source.getImageWidth(), mRenderer.source.getImageHeight());
137 public void setTileSource(TileSource source, Runnable isReadyCallback) { argument
138 super.setTileSource(source, isReadyCallback);
145 updateMinScale(getWidth(), getHeight(), source, true);
149 updateMinScale(w, h, mRenderer.source, fals
158 updateMinScale(int w, int h, TileSource source, boolean resetScale) argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DDeviceDiscoveryAction.java96 * @param source an instance of {@link HdmiCecLocalDevice}.
98 DeviceDiscoveryAction(HdmiCecLocalDevice source, DeviceDiscoveryCallback callback) { argument
99 super(source);
H A DHdmiCecFeatureAction.java64 HdmiCecFeatureAction(HdmiCecLocalDevice source) { argument
65 mSource = source;

Completed in 4672 milliseconds

1234567891011>>