/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityResult.java | 29 public ActivityResult(HistoryRecord from, String resultWho, argument 32 mFrom = from;
|
H A D | DeviceMonitor.java | 145 * Copies from a file to an output stream. 147 private void dump(File from, OutputStream out) throws IOException { argument 148 writeHeader(from, out); 152 in = new FileInputStream(from);
|
H A D | HistoryRecord.java | 63 CharSequence nonLocalizedLabel; // the label information from the package mgr. 64 int labelRes; // the label information from the package mgr. 272 // doing anything special with something that comes from 295 void addResultLocked(HistoryRecord from, String resultWho, argument 298 ActivityResult r = new ActivityResult(from, resultWho, 306 void removeResultsLocked(HistoryRecord from, String resultWho, argument 311 if (r.mFrom != from) continue;
|
/frameworks/base/media/libstagefright/ |
H A D | stagefright_string.cpp | 31 string::string(const string &from, size_type start, size_type length) argument 32 : mString(from.c_str() + start, length) { 75 void string::erase(size_t from, size_t length) { argument 76 String8 s(mString.string(), from); 77 s.append(mString.string() + from + length);
|
H A D | MetaData.cpp | 28 MetaData::MetaData(const MetaData &from) argument 30 mItems(from.mItems) { 170 MetaData::typed_data::typed_data(const typed_data &from) argument 171 : mType(from.mType), 173 allocateStorage(from.mSize); 174 memcpy(storage(), from.storage(), mSize); 178 const MetaData::typed_data &from) { 179 if (this != &from) { 181 mType = from.mType; 182 allocateStorage(from 177 operator =( const MetaData::typed_data &from) argument [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ |
H A D | Forwarder.java | 36 private Socket from, to; field in class:Forwarder 40 public Forwarder (Socket from, Socket to, ForwardServer server) { argument 42 this.from = from; 48 Thread outgoing = new Thread(new SocketPipe(from, to)); 49 Thread incoming = new Thread(new SocketPipe(to, from)); 57 shutdown(from);
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
H A D | ReadRecInd.java | 26 * @param from the from value 34 public ReadRecInd(EncodedStringValue from, argument 41 setFrom(from);
|
H A D | SendReq.java | 54 * @param from the from value 61 EncodedStringValue from, 67 setFrom(from); 60 SendReq(byte[] contentType, EncodedStringValue from, int mmsVersion, byte[] transactionId) argument
|
H A D | PduPersister.java | 505 * Load a PDU from storage by given Uri. 720 * into storage, otherwise load source data from the dataUri and then 946 // 2. The Uri of the part is different from the current one. 1170 * Move a PDU object from one location to another. 1172 * @param from Specify the PDU object to be moved. 1180 public Uri move(Uri from, Uri to) throws MmsException { argument 1182 long msgId = ContentUris.parseId(from); 1199 SqliteWrapper.update(mContext, mContentResolver, from, values, null, null);
|
/frameworks/base/core/java/android/content/ |
H A D | ContentValues.java | 57 * Creates a set of values copied from the given set 59 * @param from the values to copy 61 public ContentValues(ContentValues from) { argument 62 mValues = new HashMap<String, Object>(from.mValues); 66 * Creates a set of values copied from the given HashMap. This is used 69 * @param from the values to start with 100 * Adds all values from the passed in ContentValues. 102 * @param other the ContentValues from which to copy
|
/frameworks/base/tests/FrameworkTest/tests/src/android/widget/ |
H A D | SimpleCursorAdapterTest.java | 66 * Borrowed from CursorWindowTest.java 91 // Now see if we can pull 2 rows from the adapter 113 // Now see if we can pull 2 rows from the adapter 121 // Now see if we can pull 5 rows from the adapter 132 // Now see if we can pull 2 rows from the adapter 170 * Test that you can safely construct with a null cursor *and* null to/from arrays. 180 * Test going from a null cursor to a non-null cursor *and* setting the to/from arrays 203 * Test going from one mapping to a different mapping 247 String[] from, in 246 TestSimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | LayoutInflater.java | 53 * it only works with an XmlPullParser returned from a compiled resource 62 * This field should be made private, so it is hidden from the SDK. 105 * Hook you can supply that is called when inflating from a LayoutInflater. 146 * Views; most importantly, this supplies the theme from which the default 168 * Obtains the LayoutInflater from the given context. 170 public static LayoutInflater from(Context context) { method in class:LayoutInflater 265 * Inflate a new view hierarchy from the specified xml resource. Throws 280 * Inflate a new view hierarchy from the specified xml node. Throws 300 * Inflate a new view hierarchy from the specified xml resource. Throws 317 if (DEBUG) System.out.println("INFLATING from resourc [all...] |
H A D | ViewDebug.java | 174 * @ViewDebug.IntToString(from = 0, to = "VISIBLE"), 175 * @ViewDebug.IntToString(from = 4, to = "INVISIBLE"), 176 * @ViewDebug.IntToString(from = 8, to = "GONE") 194 * @ViewDebug.IntToString(from = 0, to = "INVALID"), 195 * @ViewDebug.IntToString(from = 1, to = "FIRST"), 196 * @ViewDebug.IntToString(from = 2, to = "SECOND") 249 * Defines a mapping from an int value to a String. Such a mapping can be used 262 int from(); method in interface:ViewDebug.IntToString 273 * Defines a mapping from an flag to a String. Such a mapping can be used 1116 if (mapper.from() [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | SimpleAdapter.java | 34 * defines the views used to display the row, and a mapping from keys in the Map to specific 72 * "from" 75 * @param from A list of column names that will be added to the Map associated with each 77 * @param to The views that should display column in the "from" parameter. These should all be 79 * in the from parameter. 82 int resource, String[] from, int[] to) { 85 mFrom = from; 166 final String[] from = mFrom; 173 final Object data = dataSet.get(from[i]); 243 * @param value the value retrieved from th 81 SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to) argument [all...] |
H A D | SimpleCursorAdapter.java | 28 * An easy adapter to map columns from a cursor to TextViews or ImageViews 54 * This field should be made private, so it is hidden from the SDK. 60 * This field should be made private, so it is hidden from the SDK. 80 * @param from A list of column names representing the data to bind to the UI. Can be null 82 * @param to The views that should display column in the "from" parameter. 84 * are given the values of the first N columns in the from 87 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument 90 mOriginalFrom = from; 91 findColumns(from); 120 * "from" paramete 331 findColumns(String[] from) argument 364 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument [all...] |
H A D | SimpleCursorTreeAdapter.java | 25 * An easy adapter to map columns from a cursor to TextViews or ImageViews 44 * The View IDs that will display a group's data fetched from the 52 * The View IDs that will display a child's data fetched from the 77 * @param groupTo The group views (from the group layouts) that should 78 * display column in the "from" parameter. These should all be 80 * given the values of the first N columns in the from parameter. 90 * @param childTo The child views (from the child layouts) that should 91 * display column in the "from" parameter. These should all be 93 * given the values of the first N columns in the from parameter. 118 * @param groupTo The group views (from th 231 bindView(View view, Context context, Cursor cursor, int[] from, int[] to) argument [all...] |
H A D | SimpleExpandableListAdapter.java | 32 * that defines the views used to display a group, and a mapping from keys in 64 * @param groupFrom A list of keys that will be fetched from the Map 80 * @param childFrom A list of keys that will be fetched from the Map 109 * @param groupFrom A list of keys that will be fetched from the Map 128 * @param childFrom A list of keys that will be fetched from the Map 158 * @param groupFrom A list of keys that will be fetched from the Map 177 * @param childFrom A list of keys that will be fetched from the Map 243 private void bindView(View view, Map<String, ?> data, String[] from, int[] to) { argument 249 v.setText((String)data.get(from[i]));
|
/frameworks/base/include/utils/ |
H A D | Vector.h | 94 //! same as operator [], but allows to access the vector backward (from the end) with a negative index 123 //! insert on onr several items initialized from a prototype item 162 virtual void do_copy(void* dest, const void* from, size_t num) const; 164 virtual void do_move_forward(void* dest, const void* from, size_t num) const; 165 virtual void do_move_backward(void* dest, const void* from, size_t num) const; 170 // No user serviceable parts from here... 334 void Vector<TYPE>::do_copy(void* dest, const void* from, size_t num) const { argument 335 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); 344 void Vector<TYPE>::do_move_forward(void* dest, const void* from, size_t num) const { argument 345 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), nu 349 do_move_backward(void* dest, const void* from, size_t num) const argument [all...] |
/frameworks/base/libs/utils/ |
H A D | VectorImpl.cpp | 360 const void* from = reinterpret_cast<const uint8_t *>(mStorage) + where*mItemSize; variable 362 _do_copy(dest, from, mCount-where); 373 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize; variable 374 _do_move_forward(to, from, s); 412 const void* from = reinterpret_cast<const uint8_t *>(mStorage) + (where+amount)*mItemSize; 414 _do_copy(dest, from, mCount-(where+amount)); 426 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; 427 _do_move_backward(to, from, s); 453 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const 456 do_copy(dest, from, nu [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 82 const char* from; member in struct:import_info 104 import->from = strdup(g_currentFilename); 791 import->from, import->statement.lineno, 863 // if needed, generate the outputFileName from the outputBaseFolder
|
/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 61 that some threads will immediately see changes from other threads on 64 overhead, which means the most common case, access from a single thread, 82 For reference, from RFC 2396: 216 * Gets the decoded user information from the authority. 225 * Gets the encoded user information from the authority. 234 * Gets the encoded host from the authority for this URI. For example, 243 * Gets the port from the authority for this URI. For example, 267 * Gets the decoded query component from this URI. The query comes after 277 * Gets the encoded query component from this URI. The query comes after 354 * Constructs a new builder, copying the attributes from thi 2016 static Part from(String encoded, String decoded) { method in class:Uri.Part 2193 static PathPart from(String encoded, String decoded) { method in class:Uri.PathPart [all...] |