Searched refs:from (Results 51 - 75 of 239) sorted by relevance

12345678910

/packages/apps/Settings/src/com/android/settings/net/
H A DDataUsageMeteredSettings.java60 mPolicyManager = NetworkPolicyManager.from(context);
95 final TelephonyManager tele = TelephonyManager.from(context);
/packages/providers/MediaProvider/tools/genfiles/
H A Dgenfiles.sh45 sqlite3 $1 "select format, media_type, mime_type, case when substr(_data,-1) is '\' then substr(_data,1,length(_data)-1) else _data end from files where _data like '"$EXTERNAL"/%';" | {
133 sqlite3 $1 "select audio_playlists._data, audio._data from audio_playlists left outer join audio_playlists_map on audio_playlists._id=audio_playlists_map.playlist_id left outer join audio on audio_playlists_map.audio_id=audio._id order by audio_playlists_map.playlist_id,audio_playlists_map.play_order;" | {
/packages/apps/Calendar/src/com/android/calendar/
H A DEmailAddressAdapter.java40 mInflater = LayoutInflater.from(context);
/packages/apps/Email/
H A DAndroid.mk22 # Include res dir from chips, unified, emailcommon, and photoviewer
38 # Use assets dir from UnifiedEmail
/packages/apps/Gallery2/src/com/android/photos/adapters/
H A DAlbumSetCursorAdapter.java72 return LayoutInflater.from(context).inflate(
H A DPhotoThumbnailAdapter.java40 mInflater = LayoutInflater.from(context);
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DSuggestionCursorUtil.java190 public static void addAll(ListSuggestionCursor to, SuggestionCursor from) { argument
191 if (from == null) return;
192 int count = from.getCount();
194 to.add(new SuggestionPosition(from, i));
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DAttachmentComposeView.java55 LayoutInflater factory = LayoutInflater.from(getContext());
H A DCcBccView.java44 LayoutInflater.from(context).inflate(R.layout.cc_bcc_view, this);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DRealSystemFacade.java58 final ConnectivityManager conn = ConnectivityManager.from(mContext);
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLES11Canvas.java102 // First create an nio buffer, then create a VBO from it.
357 // draw the rect from bottom-left to top-right
450 public void drawMixed(BasicTexture from, argument
452 drawMixed(from, toColor, ratio, x, y, w, h, mAlpha);
474 // alpha * ((1 - ratio) * from + ratio * to)
477 // combo * from + (1 - combo) * to * scale
487 // RGB component are get from toColor and will used as SRC1
513 public void drawMixed(BasicTexture from, int toColor, float ratio, argument
518 drawTexture(from, source, target);
533 mGLState.setBlendEnabled(mBlendEnabled && (!from
547 drawMixed(BasicTexture from, int toColor, float ratio, int x, int y, int width, int height, float alpha) argument
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DConversationListItem.java60 // For posting UI update Runnables from other threads:
83 mFromView = (TextView) findViewById(R.id.from);
106 String from = mConversation.getRecipients().formatNames(", ");
108 SpannableStringBuilder buf = new SpannableStringBuilder(from);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DGalleryUtils.java99 public static float[] intColorToFloatARGBArray(int from) { argument
101 Color.alpha(from) / 255f,
102 Color.red(from) / 255f,
103 Color.green(from) / 255f,
104 Color.blue(from) / 255f
282 // for further operations (routing to/from).
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationUtils.java119 // populate the map from the cached data
282 * This happens when locale changes. If you only want to resend messages from one
313 // Only resend notifications if the notifications are from the same folder
364 // to later cancel the notification, and remove the entry from the map
535 // The timestamp is now stored in the notification, so we can remove it from here
633 * We do not want to notify if this is coming back from an Undo notification, hence the
658 // notification (like from an Undo notification)
797 String from = "";
805 from = getDisplayableSender(fromAddress);
824 new SpannableStringBuilder(getWrappedFromString(from));
999 getWrappedFromString(String from) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/crop/
H A DSaveImage.java93 // 2. User edit remote image remote01.jpg from picassa or other server.
313 String from = srcFile.getName();
315 from = from.substring(from.lastIndexOf("."));
317 if (!to.equals(from)) {
319 name = name.substring(0, name.lastIndexOf(".")) + from;
365 // Ignore error for lacking the data column from the source.
422 * Gets the actual filename for a Uri from Gallery's ContentProvider.
/packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/
H A DStreamItemPopulatorActivity.java52 // Test data to randomly select from.
54 "Just got back from a vacation in %1$s - what a great place! Can't wait to go back.",
97 // Photos to randomly select from.
216 // Add from 1-5 stream items.
297 private <T> T pickRandom(T[] from) { argument
298 return from[randInt(from.length)];
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DGlobalSearchSupport.java201 * lookup key cannot be found in the database, the contact name is decoded from the lookup key
281 int from = 0;
290 from = firstNl + 1;
301 for (int i = from; i < to; i++) {
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppProvider.java17 * may be used to endorse or promote products derived from this software
69 /** Database version from which upgrading is a nop */
162 // from NOP_FROM is the same as upgrading from NOP_TO.
165 Log.i(TAG, "Upgrading downloads database from version " + oldV + " to "
217 private static final void copyString(String key, ContentValues from, ContentValues to) { argument
218 String s = from.getAsString(key);
224 private static final void copyInteger(String key, ContentValues from, ContentValues to) { argument
225 Integer i = from.getAsInteger(key);
/packages/apps/Browser/src/com/android/browser/
H A DNavTabView.java57 LayoutInflater.from(mContext).inflate(R.layout.nav_tab_view, this);
/packages/apps/Browser/src/com/android/browser/addbookmark/
H A DFolderSpinnerAdapter.java52 mInflater = LayoutInflater.from(mContext);
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DGroupNameDialogFragment.java46 final LayoutInflater layoutInflater = LayoutInflater.from(builder.getContext());
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
H A DSelectAccountDialogFragment.java50 final LayoutInflater inflater = LayoutInflater.from(builder.getContext());
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
H A DMtpPagerAdapter.java43 mInflater = LayoutInflater.from(context);
/packages/apps/Settings/src/com/android/settings/
H A DMediaFormat.java130 * called from various other points in the code to reset the activity to
133 * <p>Reinflating views from resources is expensive and prevents us from
156 mInflater = LayoutInflater.from(this);
/packages/apps/Tag/src/com/android/apps/tag/
H A DTagViewer.java77 LayoutInflater inflater = LayoutInflater.from(this);

Completed in 2480 milliseconds

12345678910