Searched refs:index (Results 176 - 200 of 1308) sorted by last modified time

1234567891011>>

/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java577 * Returns the tab at the specified index.
580 public Tab getTabAt(int index) { argument
581 return mTabs.get(index);
966 public void addView(View child, int index) { argument
976 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
H A DTextInputLayout.java195 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
201 super.addView(child, index, params);
444 private void addIndicator(TextView indicator, int index) { argument
461 mIndicatorArea.addView(indicator, index);
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/
H A DVectorDrawableTest.java163 private void saveVectorDrawableIntoPNG(Bitmap bitmap, int[] resIds, int index, int[] stateSet) argument
173 String originalFilePath = mResources.getString(resIds[index]);
186 Log.v(LOGTAG, "Write test No." + index + " to file successfully.");
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentStatePagerAdapter.java219 int index = Integer.parseInt(key.substring(1));
222 while (mFragments.size() <= index) {
226 mFragments.set(index, f);
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DMultiSelectListPreference.java144 * Each entry must have a corresponding index in
220 * Returns the index of the given value (in the entry values array).
222 * @param value The value whose index should be returned.
223 * @return The index of the value, or -1 if not found.
250 protected Object onGetDefaultValue(TypedArray a, int index) { argument
251 final CharSequence[] defaultValues = a.getTextArray(index);
H A DPreferenceFragment.java810 int index = parent.indexOfChild(view);
811 if (index < parent.getChildCount() - 1) {
812 final View nextView = parent.getChildAt(index + 1);
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsMessage.java239 * @param index Index of SMS record. This should be index in ArrayList
246 public static SmsMessage createFromEfRecord(int index, byte[] data) { argument
251 index, data);
254 index, data);
691 * Returns the record index of the message on the SIM (1-based index).
692 * @return the record index of the message on the SIM, or -1 if this
701 * Returns the record index of the message on the ICC (1-based index)
[all...]
/frameworks/opt/telephony/src/java/android/telephony/gsm/
H A DSmsMessage.java363 int index = mWrappedSmsMessage.getMessageClass().ordinal();
365 return MessageClass.values()[index];
547 * Returns the record index of the message on the SIM (1-based index).
548 * @return the record index of the message on the SIM, or -1 if this
558 * Returns the record index of the message on the ICC (1-based index).
559 * @return the record index of the message on the ICC, or -1 if this
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCommandsInterface.java252 * AsyncResult.result is an int array containing the index of new SMS
784 * The ar.result List is sorted by DriverCall.index
1127 * @param index index of the SMS record to delete
1130 void deleteSmsOnSim(int index, Message response); argument
1135 * @param index index of the SMS record to delete
1138 void deleteSmsOnRuim(int index, Message response); argument
1906 * Application index in the card.
H A DDriverCall.java40 public int index; field in class:DriverCall
60 // index,isMT,state,mode,isMpty(,number,TOA)?
64 ret.index = p.nextInt();
107 return "id=" + index + ","
148 /** For sorting by index */
153 if (index < dc.index) {
155 } else if (index == dc.index) {
157 } else { /*index > d
[all...]
H A DGsmCdmaCallTracker.java757 if (dc.index == i+1) {
1117 // GsmCdma index assigned yet
1233 public void hangupConnectionByIndex(GsmCdmaCall call, int index) argument
1238 if (cn.getGsmCdmaIndex() == index) {
1239 mCi.hangupConnection(index, obtainCompleteMessage());
1244 throw new CallStateException("no GsmCdma index found");
1259 public GsmCdmaConnection getConnectionByIndex(GsmCdmaCall call, int index) argument
1264 if (cn.getGsmCdmaIndex() == index) {
H A DGsmCdmaConnection.java55 int mIndex; // index in GsmCdmaCallTracker.connections[], -1 if unassigned
56 // The GsmCdma index is 1 + this
120 public GsmCdmaConnection (GsmCdmaPhone phone, DriverCall dc, GsmCdmaCallTracker ct, int index) { argument
137 mIndex = index;
682 throw new CallStateException ("GsmCdma index not yet assigned");
970 // This function is to find the next PAUSE character index if
972 // non WAIT character index.
976 int index = currIndex + 1;
978 while (index < length) {
979 char cNext = phoneNumber.charAt(index);
[all...]
H A DIIccPhoneBook.aidl107 * Update an ADN-like EF record by record index
117 * @param index is 1-based adn record index to be updated
122 String newPhoneNumber, int index,
126 * Update an ADN-like EF record by record index
136 * @param index is 1-based adn record index to be updated
142 String newPhoneNumber, int index,
H A DIccPhoneBookInterfaceManager.java199 * Update an ADN-like EF record by record index
211 * @param index is 1-based adn record index to be updated
217 String newPhoneNumber, int index, String pin2) {
228 " Index=" + index + " ==> " +
237 mAdnCache.updateAdnByIndex(efid, newAdn, index, pin2, response);
240 loge("Failure while trying to update by index due to uninitialised adncache");
216 updateAdnRecordsInEfByIndex(int efid, String newTag, String newPhoneNumber, int index, String pin2) argument
H A DIccSmsInterfaceManager.java184 * @param index record index of message to update
194 updateMessageOnIccEf(String callingPackage, int index, int status, byte[] pdu) { argument
195 if (DBG) log("updateMessageOnIccEf: index=" + index +
213 mPhone.mCi.deleteSmsOnSim(index, response);
215 mPhone.mCi.deleteSmsOnRuim(index, response);
227 index, record, null, response);
232 log("interrupted while trying to update by index");
273 log("interrupted while trying to update by index");
[all...]
H A DInboundSmsHandler.java759 // subtract offset to convert sequence to 0-based array index
760 int index = cursor.getInt(SEQUENCE_COLUMN) - tracker.getIndexOffset();
762 pdus[index] = HexDump.hexStringToByteArray(cursor.getString(PDU_COLUMN));
766 if (index == 0 && !cursor.isNull(DESTINATION_PORT_COLUMN)) {
H A DInboundSmsTracker.java169 int index = mSequenceNumber - getIndexOffset();
171 if (index < 0 || index >= mMessageCount) {
279 * messages, which use a 0-based index.
H A DMccTable.java75 int index = Collections.binarySearch(sTable, m);
77 if (index < 0) {
80 return sTable.get(index);
398 * http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/index.html
H A DRIL.java1543 public void deleteSmsOnSim(int index, Message response) { argument
1548 rr.mParcel.writeInt(index);
1552 + " " + index);
1558 public void deleteSmsOnRuim(int index, Message response) { argument
1563 rr.mParcel.writeInt(index);
1567 + " " + index);
3584 notification.index = p.readInt();
3741 dc.index = p.readInt();
H A DRetryManager.java371 int index;
373 index = mRetryCount;
375 index = mRetryArray.size() - 1;
379 if ((index >= 0) && (index < mRetryArray.size())) {
380 retVal = mRetryArray.get(index).mDelayTime + nextRandomizationTime(index);
431 * Return next random number for the index
432 * @param index Retry index
434 nextRandomizationTime(int index) argument
[all...]
H A DSubscriptionInfoUpdater.java87 * positive integer #: index to distinguish SIM cards with the same IccId
530 int index = 0;
535 index = 2;
539 mInsertSimState[j] = index;
540 index++;
H A DTelephonyDevController.java202 * get modem at index 'index'.
204 public HardwareConfig getModem(int index) { argument
211 if (index > getModemCount()) {
212 loge("getModem: out-of-bounds access for modem device " + index + " max: " + getModemCount());
216 if (DBG) logd("getModem: " + index);
217 return mModems.get(index);
233 * get sim at index 'index'.
235 public HardwareConfig getSim(int index) { argument
[all...]
H A DUiccPhoneBookController.java71 String newPhoneNumber, int index, String pin2) throws android.os.RemoteException {
73 newPhoneNumber, index, pin2);
79 String newPhoneNumber, int index, String pin2) throws android.os.RemoteException {
84 newPhoneNumber, index, pin2);
70 updateAdnRecordsInEfByIndex(int efid, String newTag, String newPhoneNumber, int index, String pin2) argument
78 updateAdnRecordsInEfByIndexForSubscriber(int subId, int efid, String newTag, String newPhoneNumber, int index, String pin2) argument
H A DUiccSmsController.java57 updateMessageOnIccEfForSubscriber(int subId, String callingPackage, int index, int status, argument
61 return iccSmsIntMgr.updateMessageOnIccEf(callingPackage, index, status, pdu);
H A DWapPushOverSms.java128 int index = 0;
129 int transactionId = pdu[index++] & 0xFF;
130 int pduType = pdu[index++] & 0xFF;
137 index = mContext.getResources().getInteger(
139 if (index != -1) {
140 transactionId = pdu[index++] & 0xff;
141 pduType = pdu[index++] & 0xff;
143 Rlog.d(TAG, "index = " + index + " PDU Type = " + pduType +
169 if (pduDecoder.decodeUintvarInteger(index)
[all...]

Completed in 304 milliseconds

1234567891011>>