Searched defs:to (Results 1 - 25 of 61) sorted by path

123

/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp10 * Unless required by applicable law or agreed to in writing, software
67 // the query will fail to avoid looping forever.
68 // 1000 is more than enough for us to tell whether the omx
350 ALOGV("Attempting to allocate OMX node '%s'", componentName);
357 // gives the client access to the framebuffer contents.
359 ALOGW("Component '%s' does not give the client access to "
383 ALOGV("Failed to configure codec '%s'", componentName);
677 // This appears to no longer be needed???
816 * need to be (w*h*3)/2. It just needs to
2214 formatHasNotablyChanged( const sp<MetaData> &from, const sp<MetaData> &to) argument
[all...]
H A DStagefrightMetadataRetriever.cpp10 * Unless required by applicable law or agreed to in writing, software
77 ALOGE("Unable to create data source for '%s'.", uri);
84 ALOGE("Unable to instantiate an extractor for '%s'.", uri);
131 ALOGE("Failed to instantiate a MediaExtractor.");
161 ALOGW("Failed to instantiate decoder [%s]", componentName);
205 ALOGW("source failed to start: %d (%s)", err, asString(err));
213 ALOGW("failed to get input buffers: %d (%s)", err, asString(err));
221 ALOGW("failed to get output buffers: %d (%s)", err, asString(err));
326 ALOGE("Failed to decode thumbnail frame");
393 ALOGE("Unable to conver
548 int to; member in struct:android::Map
[all...]
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp10 * Unless required by applicable law or agreed to in writing, software
28 OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to)
30 mDstFormat(to),
27 ColorConverter( OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) argument
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp10 * Unless required by applicable law or agreed to in writing, software
42 ALOGE("trying to post a duplicate reply");
350 ALOGW("failed to deliver message as target handler %d is gone.", mTarget);
360 ALOGW("failed to post message as target looper for handler %d is gone.", mTarget);
371 ALOGW("failed to post message as target looper for handler %d is gone.", mTarget);
377 ALOGE("failed to create reply token");
388 ALOGW("failed to post reply to a NULL token");
393 ALOGW("failed to post reply as target looper is gone.");
410 // TODO: delete Object instead of setting it to NUL
430 Item *to = &msg->mItems[i]; local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp10 * Unless required by applicable law or agreed to in writing, software
61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { argument
65 to->meta()->setInt32("rtp-time", rtpTime);
68 to->setInt32Data(from->int32Data());
H A DASessionDescription.cpp10 * Unless required by applicable law or agreed to in writing, software
266 float from, to; local
267 if (!parseNTPRange(value.c_str() + 4, &from, &to)) {
271 *durationUs = (int64_t)((to - from) * 1E6);
316 // Failed to parse float or trailing "dash".
/frameworks/base/core/java/android/provider/
H A DMediaStore.java10 * Unless required by applicable law or agreed to in writing, software
59 * Broadcast Action: A broadcast to indicate the end of an MTP session with the host.
68 * The method name used by the media scanner and mtp to tell the media provider to
77 * Name of the (optional) Uri parameter that determines whether to skip deleting
78 * the file pointed to by the _data column, when deleting the database entry.
80 * delete will be skipped. Note especially that setting this to true, or omitting
89 * The activity should be able to play, browse, or manipulate music files stored on the device.
112 * An intent to perform a search for music media and automatically play content from the
114 * command to liste
1683 moveItem(ContentResolver res, long playlistId, int from, int to) argument
[all...]
/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java10 * Unless required by applicable law or agreed to in writing, software
193 private Diff diff(ZenModeConfig to) { argument
195 if (to == null) {
198 if (user != to.user) {
199 d.addLine("user", user, to.user);
201 if (allowCalls != to.allowCalls) {
202 d.addLine("allowCalls", allowCalls, to.allowCalls);
204 if (allowRepeatCallers != to.allowRepeatCallers) {
205 d.addLine("allowRepeatCallers", allowRepeatCallers, to.allowRepeatCallers);
207 if (allowMessages != to
236 diff(ZenModeConfig from, ZenModeConfig to) argument
987 appendDiff(Diff d, String item, ZenRule from, ZenRule to) argument
998 appendDiff(Diff d, String item, ZenRule to) argument
1205 addLine(String item, String subitem, Object from, Object to) argument
1209 addLine(String item, Object from, Object to) argument
[all...]
/frameworks/base/core/java/android/view/
H A DGhostView.java10 * Unless required by applicable law or agreed to in writing, software
26 * by its parent because its visibility is set to INVISIBLE, but will be drawn
27 * here using its render node. When the GhostView is set to INVISIBLE, the View it is
154 private static void copySize(View from, View to) { argument
155 to.setLeft(0);
156 to.setTop(0);
157 to.setRight(from.getWidth());
158 to.setBottom(from.getHeight());
162 * Move the GhostViews to the end so that they are on top of other views and it is easier
163 * to d
[all...]
H A DViewDebug.java10 * Unless required by applicable law or agreed to in writing, software
59 * Various debugging/tracing tools related to {@link View} and the view hierarchy.
81 * This annotation can be used to mark fields and methods to be dumped by
90 * is an int, the value is converted to an Android's resource name.
98 * A mapping can be defined to map int values to specific strings. For
100 * actually mean VISIBLE, INVISIBLE and GONE. A mapping can be used to see
105 * @ViewDebug.IntToString(from = 0, to = "VISIBLE"),
106 * @ViewDebug.IntToString(from = 4, to
224 String to(); method in interface:ViewDebug.IntToString
[all...]
/frameworks/base/core/java/android/widget/
H A DSimpleAdapter.java10 * Unless required by applicable law or agreed to in writing, software
34 * An easy adapter to map static data to views defined in an XML file. You can specify the data
35 * backing the list as an ArrayList of Maps. Each entry in the ArrayList corresponds to one row
37 * defines the views used to display the row, and a mapping from keys in the Map to specific
40 * Binding data to views occurs in two phases. First, if a
76 * @param data A List of Maps. Each entry in the List corresponds to one row in the list. The
80 * item. The layout file should include at least those named views defined in "to"
81 * @param from A list of column names that will be added to th
87 SimpleAdapter(Context context, List<? extends Map<String, ?>> data, @LayoutRes int resource, String[] from, @IdRes int[] to) argument
[all...]
H A DSimpleCursorAdapter.java10 * Unless required by applicable law or agreed to in writing, software
25 * An easy adapter to map columns from a cursor to TextViews or ImageViews
27 * views you want to display the columns, and the XML file that defines
34 * returned value is false and the view to bind is a TextView,
36 * is false and the view to bind is an ImageView,
44 * to get control over the filtering process. You can refer to
50 * A list of columns containing the data to bind to th
77 SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument
102 SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to, int flags) argument
360 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument
[all...]
H A DSimpleCursorTreeAdapter.java10 * Unless required by applicable law or agreed to in writing, software
25 * An easy adapter to map columns from a cursor to TextViews or ImageViews
27 * you want to display the columns, and the XML file that defines the appearance
34 * returned value is false and the view to bind is a TextView,
36 * is false and the view to bind is an ImageView,
42 /** The name of the columns that contain the data to display for a group. */
45 /** The indices of columns that contain data to display for a group. */
53 /** The name of the columns that contain the data to display for a child. */
56 /** The indices of columns that contain data to displa
212 bindView(View view, Context context, Cursor cursor, int[] from, int[] to) argument
[all...]
H A DSimpleExpandableListAdapter.java10 * Unless required by applicable law or agreed to in writing, software
28 * An easy adapter to map static data to group and child views defined in an XML
30 * Maps. Each entry in the ArrayList corresponds to one group in the expandable
32 * that defines the views used to display a group, and a mapping from keys in
33 * the Map to specific views. This process is similar for a child, except it is
35 * where the first List corresponds to the group of the child, the second List
36 * corresponds to the position of the child within the group, and finally the
60 * @param groupData A List of Maps. Each entry in the List corresponds to
74 * corresponds to
243 bindView(View view, Map<String, ?> data, String[] from, int[] to) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java10 * Unless required by applicable law or agreed to in writing, software
164 // check columns to see if rearrangement tracked (should be swapped now)
171 * Test that you can safely construct with a null cursor *and* null to/from arrays.
181 * Test going from a null cursor to a non-null cursor *and* setting the to/from arrays
204 * Test going from one mapping to a different mapping
249 * This is simply a way to sneak a look at the protected mFrom() array. A more API-
250 * friendly way to do this would be to mock out a View and a ViewBinder and exercise
256 String[] from, int[] to) {
255 TestSimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
H A DReflectIntermediateClass.java10 * Unless required by applicable law or agreed to in writing, software
23 * Offer an indirection to some Big0xx classes and have their initialization
28 public static int get(int from, int to, int sleepMillis) throws ClassNotFoundException, argument
32 for (int i = from; i <= to; i++) {
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DSocketConnect.java14 private OutputStream to; field in class:SocketConnect
16 public SocketConnect(Socket from, Socket to) throws IOException { argument
18 this.to = to.getOutputStream();
32 to.write(buffer, 0, r);
35 to.close();
/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java10 * Unless required by applicable law or agreed to in writing, software
30 * In addition to kernels, a script group may contain invocable functions as well.
33 * Inside a script group, outputs from one kernel can be passed to another kernel as inputs.
38 * runtime and compiler optimization can be applied to reduce computation and
39 * communication overhead, and to make better use of the CPU and the GPU.
56 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument
58 mToK = to;
62 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument
64 mToF = to;
92 * A closure represents a function call to
677 addConnection(Type t, Script.KernelID from, Script.FieldID to) argument
712 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument
[all...]
/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightService.java10 * Unless required by applicable law or agreed to in writing, software
48 * Used by the UI mode manager and other components to adjust night mode
156 private static boolean hasMoved(Location from, Location to) { argument
157 if (to == null) {
166 if (to.getElapsedRealtimeNanos() < from.getElapsedRealtimeNanos()) {
171 float distance = from.distanceTo(to);
174 float totalAccuracy = from.getAccuracy() + to.getAccuracy();
242 // Don't do anything -- we are still trying to get a
254 // register a new one for it to get an immediate update.
258 // Fall through to r
[all...]
/frameworks/base/services/net/java/android/net/dhcp/
H A DDhcpClient.java10 * Unless required by applicable law or agreed to in writing, software
69 * Written to behave similarly to the DhcpStateMachine + dhcpcd 5.5.6 combination used in Android
138 // - We use a packet socket to receive, because servers send us packets bound for IP addresses
140 // - We use a UDP socket to send, so the kernel handles ARP and routing for us (DHCP servers can
208 // Used to schedule packet retransmissions.
210 // Used to time out PacketRetransmittingStates.
212 // Used to schedule DHCP renews.
214 // Used to tell the caller when its request (CMD_START_DHCP or CMD_RENEW_DHCP) timed out.
234 * Constructs a PendingIntent that sends the specified command to th
372 transmitPacket(ByteBuffer buf, String description, Inet4Address to) argument
395 sendRequestPacket( Inet4Address clientAddress, Inet4Address requestedAddress, Inet4Address serverAddress, Inet4Address to) argument
[all...]
/frameworks/base/tools/aapt/
H A DSourcePos.cpp29 void print(FILE* to) const;
66 ErrorPos::print(FILE* to) const
83 fprintf(to, "%s:%d: %s%s\n", this->file.string(), this->line, type, this->error.string());
85 fprintf(to, "%s: %s%s\n", this->file.string(), type, this->error.string());
88 fprintf(to, "%s%s\n", type, this->error.string());
156 SourcePos::printErrors(FILE* to) argument
160 it->print(to);
/frameworks/base/tools/aidl/
H A DAST.cpp5 WriteModifiers(FILE* to, int mod, int mask) argument
10 fprintf(to, "@Override ");
14 fprintf(to, "public ");
17 fprintf(to, "private ");
20 fprintf(to, "protected ");
24 fprintf(to, "static ");
28 fprintf(to, "final ");
32 fprintf(to, "abstract ");
37 WriteArgumentList(FILE* to, const vector<Expression*>& arguments) argument
41 arguments[i]->Write(to);
81 Write(FILE* to) argument
109 Write(FILE* to) argument
124 Write(FILE* to) argument
161 WriteDeclaration(FILE* to) argument
172 Write(FILE* to) argument
196 Write(FILE* to) argument
221 Write(FILE* to) argument
253 Write(FILE* to) argument
278 Write(FILE* to) argument
356 Write(FILE* to) argument
382 Write(FILE* to) argument
419 Write(FILE* to) argument
437 Write(FILE* to) argument
463 Write(FILE* to) argument
491 Write(FILE* to) argument
517 Write(FILE* to) argument
542 Write(FILE* to) argument
566 Write(FILE* to) argument
583 Write(FILE* to) argument
600 Write(FILE* to) argument
621 Write(FILE* to) argument
643 Write(FILE* to) argument
671 Write(FILE* to) argument
692 Write(FILE* to) argument
731 Write(FILE* to) argument
814 Write(FILE* to) argument
891 Write(FILE* to) argument
[all...]
H A Daidl.cpp364 fprintf(stderr, "%s:%d attempt to redefine built in class %s\n",
373 fprintf(stderr, "%s:%d attempt to redefine %s as %s,\n",
555 // (nothing to check for USER_DATA_TYPE)
572 fprintf(stderr,"%s:%d attempt to redefine method %s,\n",
601 // Allow parcelables to skip the "one-only" rule.
637 /* we open the file in binary mode to ensure that the same output is
640 FILE* to = NULL; local
643 to = fopen(fileName.c_str(), "wb");
645 to = fopen(options.depFileName.c_str(), "wb");
648 if (to
[all...]
H A Dgenerate_java.cpp80 FILE* to; local
82 to = stdout;
84 /* open file in binary mode to ensure that the tool produces the
87 to = fopen(filename.c_str(), "wb");
88 if (to == NULL) {
89 fprintf(stderr, "unable to open %s for write\n", filename.c_str());
94 document->Write(to);
96 fclose(to);
/frameworks/compile/mclinker/lib/Target/
H A DELFEmulation.cpp20 const char* to; ///< the output string. member in struct:mcld::NameMap
78 pScript.sectionMap().insert(map[i].from, map[i].to, map[i].policy);
83 // FIXME: this is the hack to help assignment processing in current

Completed in 461 milliseconds

123