HomeSort by relevance Sort by last modified time
    Searched refs:mValues (Results 1 - 25 of 230) sorted by null

1 2 3 4 5 6 7 8 910

  /frameworks/base/core/java/android/util/
IntArray.java 31 private int[] mValues;
46 mValues = EmptyArray.INT;
48 mValues = ArrayUtils.newUnpaddedIntArray(initialCapacity);
73 System.arraycopy(mValues, index, mValues, index + 1, mSize - index);
76 mValues[index] = value;
87 System.arraycopy(values.mValues, 0, mValues, mSize, count);
97 if (minCapacity >= mValues.length) {
102 System.arraycopy(mValues, 0, newValues, 0, currentSize)
    [all...]
LongArray.java 30 private long[] mValues;
45 mValues = EmptyArray.LONG;
47 mValues = ArrayUtils.newUnpaddedLongArray(initialCapacity);
72 System.arraycopy(mValues, index, mValues, index + 1, mSize - index);
75 mValues[index] = value;
86 System.arraycopy(values.mValues, 0, mValues, mSize, count);
96 if (minCapacity >= mValues.length) {
101 System.arraycopy(mValues, 0, newValues, 0, currentSize)
    [all...]
SparseLongArray.java 47 private long[] mValues;
67 mValues = EmptyArray.LONG;
69 mValues = ArrayUtils.newUnpaddedLongArray(initialCapacity);
70 mKeys = new int[mValues.length];
81 clone.mValues = mValues.clone();
106 return mValues[i];
126 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
139 mValues[i] = value
    [all...]
LongSparseLongArray.java 49 private long[] mValues;
69 mValues = EmptyArray.LONG;
72 mValues = new long[mKeys.length];
83 clone.mValues = mValues.clone();
108 return mValues[i];
128 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
141 mValues[i] = value;
146 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value)
    [all...]
SparseIntArray.java 47 private int[] mValues;
67 mValues = EmptyArray.INT;
70 mValues = new int[mKeys.length];
81 clone.mValues = mValues.clone();
106 return mValues[i];
126 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
139 mValues[i] = value;
144 mValues = GrowingArrayUtils.insert(mValues, mSize, i, value)
    [all...]
SparseBooleanArray.java 64 mValues = EmptyArray.BOOLEAN;
67 mValues = new boolean[mKeys.length];
78 clone.mValues = mValues.clone();
103 return mValues[i];
115 System.arraycopy(mValues, i + 1, mValues, i, mSize - (i + 1));
123 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
136 mValues[i] = value
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/interactions/
CalendarInteraction.java 28 private ContentValues mValues;
31 mValues = values;
98 return mValues.getAsString(Attendees.ATTENDEE_EMAIL);
102 return mValues.getAsString(Attendees.ATTENDEE_IDENTITY);
106 return mValues.getAsString(Attendees.ATTENDEE_ID_NAMESPACE);
110 return mValues.getAsString(Attendees.ATTENDEE_NAME);
114 return mValues.getAsInteger(Attendees.ATTENDEE_RELATIONSHIP);
118 return mValues.getAsInteger(Attendees.ATTENDEE_STATUS);
122 return mValues.getAsInteger(Attendees.ATTENDEE_TYPE);
126 return mValues.getAsInteger(Attendees.EVENT_ID)
    [all...]
SmsInteraction.java 41 private ContentValues mValues;
44 mValues = values;
97 final String address = mValues.getAsString(Sms.ADDRESS);
103 return mValues.getAsString(Sms.BODY);
107 return mValues.getAsLong(Sms.DATE);
112 return mValues.getAsLong(Sms.DATE_SENT);
116 return mValues.getAsInteger(Sms.ERROR_CODE);
120 return mValues.getAsBoolean(Sms.LOCKED);
124 return mValues.getAsInteger(Sms.PERSON);
128 return mValues.getAsInteger(Sms.PROTOCOL)
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactOperations.java 40 private final ContentValues mValues;
93 mValues = new ContentValues();
105 mValues.put(RawContacts.SOURCE_ID, userId);
106 mValues.put(RawContacts.ACCOUNT_TYPE, Constants.ACCOUNT_TYPE);
107 mValues.put(RawContacts.ACCOUNT_NAME, accountName);
109 newInsertCpo(RawContacts.CONTENT_URI, mIsSyncOperation, true).withValues(mValues);
133 mValues.clear();
136 mValues.put(StructuredName.DISPLAY_NAME, fullName);
137 mValues.put(StructuredName.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE);
140 mValues.put(StructuredName.GIVEN_NAME, firstName)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
TestTargetPage.java 48 private final NewProjectWizardState mValues;
65 mValues = values;
103 if (mValues.testedProject != null) {
105 if (project.getProject() == mValues.testedProject) {
124 mCurrentRadioButton.setSelection(mValues.testingSelf);
125 mExistingRadioButton.setSelection(!mValues.testingSelf);
126 mProjectList.setEnabled(!mValues.testingSelf);
131 if (!mValues.testingSelf) {
141 mValues.testedProject = project;
161 mValues.testingSelf = false
    [all...]
SampleSelectionPage.java 51 private final NewProjectWizardState mValues;
66 mValues = values;
100 if (mValues.projectName != null) {
103 mSampleProjectName.setText(mValues.projectName);
111 if (mCurrentSamplesTarget != mValues.target) {
112 mCurrentSamplesTarget = mValues.target;
140 if (mValues.samples != null && mValues.samples.size() > 0) {
141 Object[] samples = mValues.samples.toArray();
145 selectSample(mValues.samples.get(0).getSecond())
    [all...]
ProjectNamePage.java 70 private final NewProjectWizardState mValues;
101 mValues = values;
129 if (mValues.mode != Mode.TEST) {
176 if (mValues.projectName != null) {
177 mProjectNameText.setText(mValues.projectName);
180 if (mValues.mode == Mode.ANY || mValues.mode == Mode.TEST) {
181 if (mValues.useExisting) {
186 } else if (mValues.mode == Mode.SAMPLE) {
189 if (mValues.projectLocation != null)
    [all...]
  /frameworks/base/media/java/android/media/
AudioGainConfig.java 32 private final int mValues[];
41 mValues = values;
74 return mValues;
  /packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
MockSharedPreferences.java 33 private HashMap<String, Object> mValues = Maps.newHashMap();
41 return mValues.containsKey(key);
45 return new HashMap<String, Object>(mValues);
49 if (mValues.containsKey(key)) {
50 return ((Boolean)mValues.get(key)).booleanValue();
56 if (mValues.containsKey(key)) {
57 return ((Float)mValues.get(key)).floatValue();
63 if (mValues.containsKey(key)) {
64 return ((Integer)mValues.get(key)).intValue();
70 if (mValues.containsKey(key))
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
MockSharedPreferences.java 33 private HashMap<String, Object> mValues = Maps.newHashMap();
41 return mValues.containsKey(key);
45 return new HashMap<String, Object>(mValues);
49 if (mValues.containsKey(key)) {
50 return ((Boolean)mValues.get(key)).booleanValue();
56 if (mValues.containsKey(key)) {
57 return ((Float)mValues.get(key)).floatValue();
63 if (mValues.containsKey(key)) {
64 return ((Integer)mValues.get(key)).intValue();
70 if (mValues.containsKey(key))
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
TemplateTestWizard.java 40 if (mValues != null) {
41 mProject = mValues.project;
45 mValues = null;
60 if (mValues == null) {
61 mValues = new NewTemplateWizardState();
62 mValues.setTemplateLocation(file);
63 mValues.project = mProject;
66 mMainPage = new NewTemplatePage(mValues, true);
69 mValues.setTemplateLocation(file);
NewProjectWizard.java 91 private NewProjectWizardState mValues;
101 mValues = new NewProjectWizardState();
102 mMainPage = new NewProjectPage(mValues);
103 mContentsPage = new ProjectContentsPage(mValues);
105 mActivityPage = new ActivityPage(mValues, true, true);
124 if (mValues.createIcon) {
126 CreateAssetSetWizardState iconState = mValues.iconState;
145 WizardPage p = getIconPage(mValues.iconState);
149 if (mValues.createActivity) {
161 if (page == mActivityPage && mValues.createActivity)
    [all...]
  /packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
SparseArray.java 24 private final ArrayList<E> mValues;
32 mValues = new ArrayList<>(initialCapacity);
41 mValues.clear();
47 mValues.set(index, value);
52 mValues.add(insertIndex, value);
62 return mValues.get(index);
72 return mValues.indexOf(value);
80 return mValues.get(index);
  /frameworks/base/core/java/android/content/
ContentValues.java 36 private HashMap<String, Object> mValues;
44 mValues = new HashMap<String, Object>(8);
53 mValues = new HashMap<String, Object>(size, 1.0f);
62 mValues = new HashMap<String, Object>(from.mValues);
73 mValues = values;
81 return mValues.equals(((ContentValues) object).mValues);
86 return mValues.hashCode();
96 mValues.put(key, value)
    [all...]
  /external/smali/util/src/main/java/org/jf/util/
SparseIntArray.java 54 mValues = new int[initialCapacity];
76 return mValues[i];
92 return mValues[i];
94 return mValues[i];
114 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
127 mValues[i] = value;
139 System.arraycopy(mValues, 0, nvalues, 0, mValues.length);
142 mValues = nvalues
    [all...]
SparseArray.java 61 mValues = new Object[initialCapacity];
80 if (i < 0 || mValues[i] == DELETED) {
83 return (E) mValues[i];
94 if (mValues[i] != DELETED) {
95 mValues[i] = DELETED;
114 Object[] values = mValues;
144 mValues[i] = value;
148 if (i < mSize && mValues[i] == DELETED) {
150 mValues[i] = value;
169 System.arraycopy(mValues, 0, nvalues, 0, mValues.length)
    [all...]
  /frameworks/support/v4/java/android/support/v4/util/
LongSparseArray.java 48 private Object[] mValues;
68 mValues = ContainerHelpers.EMPTY_OBJECTS;
72 mValues = new Object[initialCapacity];
84 clone.mValues = mValues.clone();
107 if (i < 0 || mValues[i] == DELETED) {
110 return (E) mValues[i];
121 if (mValues[i] != DELETED) {
122 mValues[i] = DELETED;
139 if (mValues[index] != DELETED)
    [all...]
SparseArrayCompat.java 28 private Object[] mValues;
48 mValues = ContainerHelpers.EMPTY_OBJECTS;
52 mValues = new Object[initialCapacity];
64 clone.mValues = mValues.clone();
87 if (i < 0 || mValues[i] == DELETED) {
90 return (E) mValues[i];
101 if (mValues[i] != DELETED) {
102 mValues[i] = DELETED;
119 if (mValues[index] != DELETED)
    [all...]
  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
PositionMap.java 30 private Object[] mValues;
50 mValues = ContainerHelpers.EMPTY_OBJECTS;
54 mValues = new Object[initialCapacity];
66 clone.mValues = mValues.clone();
89 if (i < 0 || mValues[i] == DELETED) {
92 return (E) mValues[i];
103 if (mValues[i] != DELETED) {
104 mValues[i] = DELETED;
121 if (mValues[index] != DELETED)
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
BarrierConsumer.java 36 private ArrayList<A> mValues;
45 mValues = new ArrayList<A>(expectedCount);
64 ArrayList<A> values = mValues;
65 mValues = null; // mark that getValues() has returned
77 if (mValues == null || isFull()) {
80 mValues.add(value);
92 return mValues.size() == mExpectedCount;

Completed in 1033 milliseconds

1 2 3 4 5 6 7 8 910