/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicyManager.java | 73 public static NetworkPolicyManager from(Context context) { method in class:NetworkPolicyManager
|
/frameworks/base/core/java/android/widget/ |
H A D | SimpleAdapter.java | 33 * defines the views used to display the row, and a mapping from keys in the Map to specific 70 * "from" 73 * @param from A list of column names that will be added to the Map associated with each 75 * @param to The views that should display column in the "from" parameter. These should all be 77 * in the from parameter. 80 int resource, String[] from, int[] to) { 83 mFrom = from; 153 final String[] from = mFrom; 160 final Object data = dataSet.get(from[i]); 235 * @param value the value retrieved from th 79 SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, 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 48 * The View IDs that will display a group's data fetched from the 59 * The View IDs that will display a child's data fetched from the 84 * @param groupTo The group views (from the group layouts) that should 85 * display column in the "from" parameter. These should all be 87 * given the values of the first N columns in the from parameter. 97 * @param childTo The child views (from the child layouts) that should 98 * display column in the "from" parameter. These should all be 100 * given the values of the first N columns in the from parameter. 125 * @param groupTo The group views (from th 212 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/rs/java/android/renderscript/ |
H A D | ScriptGroup.java | 39 * Currently, all kernels in a ScriptGroup must be from separate 40 * Script objects. Attempting to use multiple kernels from the same 58 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument 59 mFrom = from; 64 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument 65 mFrom = from; 98 * Allocation provided from outside of the ScriptGroup. 160 * must come from different Script objects. Additionally, all kernels 184 // do a DFS from original node, looking for original node 310 * @param from Th 315 addConnection(Type t, Script.KernelID from, Script.FieldID to) argument 350 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument [all...] |
/frameworks/base/services/core/java/com/android/server/twilight/ |
H A D | TwilightService.java | 156 private static boolean hasMoved(Location from, Location to) { argument 161 if (from == null) { 166 if (to.getElapsedRealtimeNanos() < from.getElapsedRealtimeNanos()) { 171 float distance = from.distanceTo(to); 174 float totalAccuracy = from.getAccuracy() + to.getAccuracy(); 285 // enable passive provider to receive updates from location fixes (gps 351 Slog.d(TAG, "Estimated location from timezone: " + location);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SimpleCursorAdapter.java | 36 * This field should be made private, so it is hidden from the SDK. 42 * This field should be made private, so it is hidden from the SDK. 62 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument 65 mOriginalFrom = from; 66 findColumns(from); 78 * @param from A list of column names representing the data to bind to the UI. Can be null 80 * @param to The views that should display column in the "from" parameter. 82 * are given the values of the first N columns in the from 87 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, argument 91 mOriginalFrom = from; 309 findColumns(String[] from) argument 343 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptGroup.java | 40 * Currently, all kernels in a ScriptGroup must be from separate 41 * Script objects. Attempting to use multiple kernels from the same 60 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument 61 mFrom = from; 66 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument 67 mFrom = from; 100 * Allocation provided from outside of the ScriptGroup. 162 * must come from different Script objects. Additionally, all kernels 191 // do a DFS from original node, looking for original node 322 * @param from Th 327 addConnection(Type t, Script.KernelID from, Script.FieldID to) argument 367 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMetadataRetriever.cpp | 306 ALOGE("Unable to instantiate color conversion from format 0x%08x to " 452 int from; member in struct:android::Map 480 if (meta->findCString(kMap[i].from, &value)) {
|
H A D | NuCachedSource2.cpp | 52 void copy(size_t from, void *data, size_t size); 139 void PageCache::copy(size_t from, void *data, size_t size) { argument 140 ALOGV("copy from %zu size %zu", from, size); 146 CHECK_LE(from + size, mTotalSize); 150 while (from >= offset + (*it)->mSize) { 155 size_t delta = from - offset; 263 // explicitly disconnect from the source, to allow any 513 // If the request can be completely satisfied from the cache, do so. 693 ALOGE("Failed to parse cache parameters from ' [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 28 OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) 29 : mSrcFormat(from), 27 ColorConverter( OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) argument
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AMessage.cpp | 364 const Item *from = &mItems[i]; local 367 to->setName(from->mName, from->mNameLength); 368 to->mType = from->mType; 370 switch (from->mType) { 374 new AString(*from->u.stringValue); 381 to->u.refValue = from->u.refValue; 389 static_cast<AMessage *>(from->u.refValue)->dup(); 398 to->u = from->u;
|
/frameworks/base/core/java/android/view/ |
H A D | LayoutInflater.java | 61 * it only works with an XmlPullParser returned from a compiled resource 71 * This field should be made private, so it is hidden from the SDK. 122 * Hook you can supply that is called when inflating from a LayoutInflater. 192 * Views; most importantly, this supplies the theme from which the default 216 * Obtains the LayoutInflater from the given context. 218 public static LayoutInflater from(Context context) { method in class:LayoutInflater 354 * Inflate a new view hierarchy from the specified xml resource. Throws 369 * Inflate a new view hierarchy from the specified xml node. Throws 389 * Inflate a new view hierarchy from the specified xml resource. Throws 408 Log.d(TAG, "INFLATING from resourc [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 75 // Pops from the top of the stack as current configuration state (matrix, 81 // Draws a line using the specified paint from (x1, y1) to (x2, y2). 85 // Draws a rectangle using the specified paint from (x1, y1) to (x2, y2). 107 // from * (1 - ratio) + to * ratio 109 public abstract void drawMixed(BasicTexture from, int toColor, argument 113 // rectangle. The actual color used is from * (1 - ratio) + to * ratio. 116 public abstract void drawMixed(BasicTexture from, int toColor, argument 119 // Unloads the specified texture from the canvas. The resource allocated 121 // to the unloaded state. This function should be called only from
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationManagerCompat.java | 50 * <p>To use this class, call the static function {@link #from} to get a 102 public static NotificationManagerCompat from(Context context) { method in class:NotificationManagerCompat 236 // Parse the string again if it is different from the last time this method was called. 303 * from any thread. 373 Log.d(TAG, "Disconnected from service " + componentName); 449 * Ensure we have unbound from a service.
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | AdapterHelper.java | 516 boolean onItemRangeMoved(int from, int to, int itemCount) { argument 517 if (from == to) { 523 mPendingUpdates.add(obtainUpdateOp(UpdateOp.MOVE, from, to)); 731 void offsetPositionsForMove(int from, int to); argument
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 186 // these below should probably come from the audioFlinger too... 490 "session ID changed from %d to %d", originalSessionId, mSessionId); 636 // keep them from going away if another thread re-creates the track during obtainBuffer() 673 // FIXME starts the requested timeout and elapsed over from scratch 870 // If > 0, poll periodically to recover from a stuck server. A good value is 2. 989 status_t AudioRecord::restoreRecord_l(const char *from) argument 991 ALOGW("dead IAudioRecord, creating a new one from %s()", from);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 158 // Split of user:pass@ from hostname. 824 const char *from, unsigned long *x) { 826 *x = strtoul(from, &end, 10); 828 if (end == from || *end != '\0') { 823 ParseSingleUnsignedLong( const char *from, unsigned long *x) argument
|
/frameworks/base/core/java/android/content/ |
H A D | UndoManager.java | 686 int findPrevState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { argument 689 if (from == -1) { 690 from = N-1; 692 if (from >= N) { 696 return from; 699 while (from >= 0) { 700 UndoState state = states.get(from); 702 return from; 704 from--; 710 int findNextState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { argument [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 48 * on-demand from an application. OBBs are a good way of providing large amounts 51 * a shared storage pool accessible from all programs. The system does not 53 * OBB, there is no guarantee that a read from that OBB will produce the 298 public static StorageManager from(Context context) { method in class:StorageManager
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsHelper.java | 740 private void aggregateSippers(BatterySipper bs, List<BatterySipper> from, String tag) { argument 741 for (int i=0; i<from.size(); i++) { 742 BatterySipper wbs = from.get(i); 844 final long MOBILE_BPS = 200000; // TODO: Extract average bit rates from system 872 final long WIFI_BPS = 1000000; // TODO: Extract average bit rates from system
|
/frameworks/base/media/java/android/media/session/ |
H A D | PlaybackState.java | 110 * Indicates this session supports the play from media id command. 117 * Indicates this session supports the play from search command. 327 * point that can be reached from the current position using only buffered 763 * Creates a builder with the same initial values as those in the from 766 * @param from The state to use for initializing the builder. 768 public Builder(PlaybackState from) { argument 769 if (from == null) { 772 mState = from.mState; 773 mPosition = from.mPosition; 774 mBufferedPosition = from [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | TelecomManager.java | 185 * alternative address to dial which is different from the one specified and displayed to 326 public static TelecomManager from(Context context) { method in class:TelecomManager 368 * calls. This {@code PhoneAccount} will always be a member of the list which is returned from 653 * Remove a {@link PhoneAccount} registration from the system. 670 * Remove all Accounts that belong to the calling package from the system. 685 * Remove all Accounts that belong to the specified package from the system.
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | SubscriptionManager.java | 45 * a reference to an instance through {@link #from}. 163 * The name_source is from the SIM 169 * The name_source is from the user 323 * Get an instance of the SubscriptionManager from the Context. 330 public static SubscriptionManager from(Context context) { method in class:SubscriptionManager
|
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 27 // The following are gotten as the offset from the allowable id's between 94 const char* from; member in struct:import_info 116 import->from = strdup(g_currentFilename); 968 import->from, import->statement.lineno, 1036 // if needed, generate the outputFileName from the outputBaseFolder
|