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

1234567891011>>

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DStackActivity.java48 item = LayoutInflater.from(getContext()).inflate(
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerSwatch.java52 LayoutInflater.from(context).inflate(R.layout.color_picker_swatch, this);
/frameworks/opt/photoviewer/sample/
H A DAndroid.mk17 #Include res dir from photoviewer
42 #Include res dir from photoviewer
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSms7BitEncodingTranslator.java46 private static final String XML_FROM_TAG = "from";
172 * Load the whole translation table file from the framework resource
207 int from = parser.getAttributeUnsignedIntValue(null,
211 if ((from != -1) && (to != -1)) {
213 Rlog.d(TAG, "Loading mapping " + Integer.toHexString(from)
217 mTranslationTable.put (from, to);
/frameworks/support/v17/leanback/jbmr2/android/support/v17/leanback/widget/
H A DShadowHelperJbmr2.java36 LayoutInflater inflater = LayoutInflater.from(shadowContainer.getContext());
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DListRowHoverCardView.java43 LayoutInflater inflater = LayoutInflater.from(context);
H A DActionPresenterSelector.java51 View v = LayoutInflater.from(parent.getContext())
73 View v = LayoutInflater.from(parent.getContext())
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/
H A DPerformException.java60 public Builder from(PerformException instance) { method in class:PerformException.Builder
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
H A DDelegatingEditText.java47 LayoutInflater inflater = LayoutInflater.from(context);
H A DSimplePagerAdapter.java53 LayoutInflater inflater = LayoutInflater.from(container.getContext());
/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightService.java156 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/v7/recyclerview/tests/src/android/support/v7/widget/
H A DAdapterHelperTest.java157 public void offsetPositionsForMove(int from, int to) {
159 if (from < to) {
160 start = from;
165 end = from;
172 if (holder.mPosition == from) {
173 holder.offsetPosition(to - from, false);
797 int from = nextInt(random, mTestAdapter.mItems.size());
801 } while (to == from);
802 mv(from, to);
912 private void mv(int from, in argument
967 move(int from, int to) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp364 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/wilhelm/tests/sandbox/
H A Dplaybq.c55 static void swab(const void *from, void *to, ssize_t n) argument
57 // from and to as char pointers
58 const char *from_ch = (const char *) from;
71 static void squeeze(const short *from, unsigned char *to, ssize_t n) argument
75 *to++ = (*from++ + 32768) >> 8;
81 static void squeeze24(const unsigned char *from, unsigned char *to, ssize_t n) argument
85 ++from;
86 *to++ = *from++;
87 *to++ = *from++;
88 *to++ = *from
[all...]
H A Dplaybq.cpp55 static void swab(const void *from, void *to, ssize_t n) argument
57 // from and to as char pointers
58 const char *from_ch = (const char *) from;
71 static void squeeze(const short *from, unsigned char *to, ssize_t n) argument
75 *to++ = (*from++ + 32768) >> 8;
81 static void squeeze24(const unsigned char *from, unsigned char *to, ssize_t n) argument
85 ++from;
86 *to++ = *from++;
87 *to++ = *from++;
88 *to++ = *from
[all...]
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java199 * Used to indicate left/right/top/bottom should be inferred from constraints
853 // This is the default case. For RTL we start from the right and for LTR we start
854 // from the left. This will give LEFT/TOP for LTR and RIGHT/TOP for RTL.
1200 @ViewDebug.IntToString(from = ABOVE, to = "above"),
1201 @ViewDebug.IntToString(from = ALIGN_BASELINE, to = "alignBaseline"),
1202 @ViewDebug.IntToString(from = ALIGN_BOTTOM, to = "alignBottom"),
1203 @ViewDebug.IntToString(from = ALIGN_LEFT, to = "alignLeft"),
1204 @ViewDebug.IntToString(from = ALIGN_PARENT_BOTTOM, to = "alignParentBottom"),
1205 @ViewDebug.IntToString(from = ALIGN_PARENT_LEFT, to = "alignParentLeft"),
1206 @ViewDebug.IntToString(from
[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/core/java/com/android/internal/view/menu/
H A DBaseMenuPresenter.java55 mSystemInflater = LayoutInflater.from(context);
63 mInflater = LayoutInflater.from(mContext);
134 * @param parent Parent to filter from
164 * with data from the item parameter.
/frameworks/base/data/keyboards/
H A Dkeyboards.mk15 # Warning: this is actually a product definition, to be inherited from
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardGlowStripView.java110 float from = mLeftToRight ? 0f : 1f;
112 mAnimator = ValueAnimator.ofFloat(from, to);
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
H A DUsageLogActivity.java129 convertView = LayoutInflater.from(UsageLogActivity.this)
133 convertView = LayoutInflater.from(UsageLogActivity.this)
/frameworks/opt/chips/sample/
H A DAndroid.mk17 # Include res dir from chips
/frameworks/support/v7/appcompat/
H A DAndroid.mk18 # The R class is automatically excluded from the generated library.
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DBaseMenuPresenter.java59 mSystemInflater = LayoutInflater.from(context);
67 mInflater = LayoutInflater.from(mContext);
138 * @param parent Parent to filter from
168 * with data from the item parameter.
/frameworks/support/v7/gridlayout/
H A DAndroid.mk18 # The R class is automatically excluded from the generated library.

Completed in 802 milliseconds

1234567891011>>