Searched defs:from (Results 26 - 50 of 115) sorted by relevance

12345

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DObservableArrayListTest.java59 public void onItemRangeMoved(ObservableList sender, int from, int to, int count) {
60 mNotifications.add(new ListChange(MOVE, from, to, count));
74 this.from = 0;
79 public ListChange(int change, int from, int to, int count) { argument
80 this.from = from;
91 public final int from; field in class:ObservableArrayListTest.ListChange
/frameworks/native/libs/gui/
H A DStreamSplitter.cpp108 // any more buffers from the input. This will cause back pressure on the
126 // Acquire and detach the buffer from the input
130 "acquiring buffer from input failed (%d)", status);
132 ALOGV("acquired buffer %#" PRIx64 " from input",
137 "detaching buffer from input failed (%d)", status);
188 const sp<IGraphicBufferProducer>& from) {
194 status_t status = from->detachNextBuffer(&buffer, &fence);
202 "detaching buffer from output failed (%d)", status);
205 ALOGV("detached buffer %#" PRIx64 " from output %p",
206 buffer->getId(), from
187 onBufferReleasedByOutput( const sp<IGraphicBufferProducer>& from) argument
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DSendReq.java54 * @param from the from value
61 EncodedStringValue from,
67 setFrom(from);
60 SendReq(byte[] contentType, EncodedStringValue from, int mmsVersion, byte[] transactionId) argument
/frameworks/support/design/base/android/support/design/widget/
H A DValueAnimatorCompat.java38 * An animation listener receives notifications from an animation.
99 abstract void setIntValues(int from, int to); argument
101 abstract void setFloatValues(float from, float to); argument
164 public void setIntValues(int from, int to) { argument
165 mImpl.setIntValues(from, to);
172 public void setFloatValues(float from, float to) { argument
173 mImpl.setFloatValues(from, to);
/frameworks/support/design/eclair-mr1/android/support/design/widget/
H A DValueAnimatorCompatImplEclairMr1.java93 public void setIntValues(int from, int to) { argument
94 mIntValues[0] = from;
104 public void setFloatValues(float from, float to) { argument
105 mFloatValues[0] = from;
/frameworks/support/v4/java/android/support/v4/app/
H A DTaskStackBuilder.java46 * <p>When crossing from one task stack to another post-Android 3.0,
65 * from the developer guide and <a href="{@docRoot}design/patterns/navigation.html">Navigation</a>
66 * from the design guide.
150 public static TaskStackBuilder from(Context context) { method in class:TaskStackBuilder
207 // We have the actual parent intent, build the rest from static metadata
265 * @param index Index from 0-getIntentCount()
280 * @param index Index from 0-getIntentCount()
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp53 AString::AString(const String8 &from) argument
57 setTo(from.string(), from.length());
60 AString::AString(const AString &from) argument
64 setTo(from, 0, from.size());
67 AString::AString(const AString &from, size_t offset, size_t n) argument
71 setTo(from, offset, n);
78 AString &AString::operator=(const AString &from) { argument
79 if (&from !
107 setTo(const AString &from, size_t offset, size_t n) argument
191 append(const AString &from) argument
195 append(const AString &from, size_t offset, size_t n) argument
274 insert(const AString &from, size_t insertionPos) argument
278 insert(const char *from, size_t size, size_t insertionPos) argument
[all...]
H A DMetaData.cpp35 MetaData::MetaData(const MetaData &from) argument
37 mItems(from.mItems) {
244 MetaData::typed_data::typed_data(const typed_data &from) argument
245 : mType(from.mType),
248 void *dst = allocateStorage(from.mSize);
250 memcpy(dst, from.storage(), mSize);
255 const MetaData::typed_data &from) {
256 if (this != &from) {
258 mType = from.mType;
259 void *dst = allocateStorage(from
254 operator =( const MetaData::typed_data &from) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.cpp266 float from, to; local
267 if (!parseNTPRange(value.c_str() + 4, &from, &to)) {
271 *durationUs = (int64_t)((to - from) * 1E6);
/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java122 public static NetworkPolicyManager from(Context context) { method in class:NetworkPolicyManager
/frameworks/base/core/java/android/widget/
H A DSimpleAdapter.java37 * defines the views used to display the row, and a mapping from keys in the Map to specific
78 * "from"
81 * @param from A list of column names that will be added to the Map associated with each
83 * @param to The views that should display column in the "from" parameter. These should all be
85 * in the from parameter.
88 @LayoutRes int resource, String[] from, @IdRes int[] to) {
91 mFrom = from;
156 * {@code null} to use the theme from the adapter's context
167 mDropDownInflater = LayoutInflater.from(context);
189 final String[] from
87 SimpleAdapter(Context context, List<? extends Map<String, ?>> data, @LayoutRes int resource, String[] from, @IdRes int[] to) argument
[all...]
H A DSimpleCursorTreeAdapter.java25 * 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 DSimpleExpandableListAdapter.java32 * 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/packages/SystemUI/src/com/android/systemui/qs/
H A DPageIndicator.java104 private void animate(int from, int to) { argument
105 if (DEBUG) Log.d(TAG, "Animating from " + Integer.toHexString(from) + " to "
107 int fromIndex = from >> 1;
114 boolean fromTransition = (from & 1) != 0;
115 boolean isAState = fromTransition ? from > to : from < to;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageDexOptimizer.java74 protected PackageDexOptimizer(PackageDexOptimizer from) { argument
75 this.mInstaller = from.mInstaller;
76 this.mInstallLock = from.mInstallLock;
77 this.mDexoptWakeLock = from.mDexoptWakeLock;
78 this.mSystemReady = from.mSystemReady;
362 public ForcedUpdatePackageDexOptimizer(PackageDexOptimizer from) { argument
363 super(from);
/frameworks/base/services/core/java/com/android/server/wm/
H A DBoundsAnimationController.java104 // True if this this animation was cancelled and will be replaced the another animation from
111 // Depending on whether we are animating from
116 BoundsAnimator(AnimateBoundsUser target, Rect from, Rect to, argument
120 mFrom = from;
127 // If we are animating from smaller to larger, we want to change the task bounds
129 // larger. Likewise if we are going from bigger to smaller, we want to wait until
130 // the end so we don't have to upscale from the smaller finished size.
156 + mTmpRect + " from=" + mFrom + " mTo=" + mTo + " value=" + value
256 * from the hierarchy and is not valid anymore.
279 void animateBounds(final AnimateBoundsUser target, Rect from, Rec argument
[all...]
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DTransform.java73 public Matrix getMatrix(char from, char to) { argument
74 return mAllMat[from][to];
/frameworks/support/v4/java/android/support/v4/hardware/fingerprint/
H A DFingerprintManagerCompat.java42 public static FingerprintManagerCompat from(Context context) { method in class:FingerprintManagerCompat
147 * Container for callback data from {@link FingerprintManagerCompat#authenticate(CryptoObject,
/frameworks/support/v4/java/android/support/v4/widget/
H A DSimpleCursorAdapter.java36 * 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(c, 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(Cursor c, String[] from) argument
344 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerTest.java131 assertEquals("first completely visible item from span 0 should be 0", 0, into[0]);
132 assertEquals("first completely visible item from span 1 should be 1", 1, into[1]);
134 assertEquals("last completely visible item from span 0 should be 4", 4, into[0]);
135 assertEquals("last completely visible item from span 1 should be 1", 1, into[1]);
665 private int[] copyOfRange(int[] original, int from, int to) { argument
666 int newLength = to - from;
668 throw new IllegalArgumentException(from + " > " + to);
671 System.arraycopy(original, from, copy, 0,
672 Math.min(original.length - from, newLength));
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
H A DItemTouchHelperTest.java198 if (move.from == vh) {
248 RecyclerView.ViewHolder from, to; field in class:ItemTouchHelperTest.MoveRecord
250 public MoveRecord(RecyclerView.ViewHolder from, argument
252 this.from = from;
254 fromPos = from.getAdapterPosition();
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp28 OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to)
29 : mSrcFormat(from),
27 ColorConverter( OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) argument
/frameworks/base/core/java/android/os/
H A DFileUtils.java153 public static void copyPermissions(File from, File to) throws IOException { argument
155 final StructStat stat = Os.stat(from.getAbsolutePath());
199 // copy a file from srcFile to destFile, return true if succeed, return
218 * Copy data from a source stream to destFile.
654 // Extract requested extension from display name
/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java270 private static int findIndexBackward(final CharSequence cs, final int from, argument
272 int currentIndex = from;
314 private static int findIndexForward(final CharSequence cs, final int from, argument
316 int currentIndex = from;
422 // including this method look like asynchronous calls from the IME.
431 * The default implementation removes the composing state from the
479 * The default implementation returns the given amount of text from the
535 * The default implementation returns the given amount of text from the
669 // Most likely the text was changed out from under the IME,
818 if (DEBUG) Log.v(TAG, "Replacing from "
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileAdapter.java181 LayoutInflater inflater = LayoutInflater.from(context);
339 private boolean move(int from, int to, View v) { argument
340 if (to == from) {
343 CharSequence fromLabel = mTiles.get(from).state.label;
344 move(from, to, mTiles);
351 from);
354 } else if (from >= mEditIndex) {
402 private <T> void move(int from, int to, List<T> list) { argument
403 list.add(to, list.remove(from));
404 notifyItemMoved(from, t
[all...]

Completed in 1398 milliseconds

12345