/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_avrcp_target.cpp | 461 sCallbackEnv->GetFieldID(class_playStatus, "position", "J"); 467 status.position = sCallbackEnv->GetLongField(playStatus, field_position);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
H A D | Avrcp.java | 512 int position = (int) getPlayPosition(); 516 + " len " + length + " pos " + position); 518 getPlayStatusRspNative(address, btstate, length, position); 1280 * Sends a play position notification, or schedules one to be 1302 // mNextPosMs is set to -1 when the previous position was invalid 1303 // so this will be true if the new position is valid & old was invalid. 1304 // mPlayPositionMs is set to -1 when the new position is invalid, 2303 /* gives the bit position within the octet */
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
H A D | AvrcpPlayer.java | 73 long position = mPlayTime; 77 position = 0; 90 return new PlaybackState.Builder().setState(mPlayStatus, position, speed).build();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | GattService.java | 1650 int position = 0; 1652 while (position < batchRecord.length) { 1653 byte[] address = extractBytes(batchRecord, position, 6); 1657 position += 6; 1659 position++; 1661 position++; 1662 int rssi = batchRecord[position++]; 1663 long timestampNanos = now - parseTimestampNanos(extractBytes(batchRecord, position, 2)); 1664 position += 2; 1667 int advertisePacketLen = batchRecord[position [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapAppParams.java | 815 appParamBuf.arrayOffset() + appParamBuf.position());
|
/packages/apps/Bluetooth/src/com/android/bluetooth/newavrcp/helpers/ |
H A D | PlayStatus.java | 34 public long position = 0xFFFFFFFFFFFFFFFFL; field in class:PlayStatus 44 ret.position = state.getPosition(); 80 return "{ state=" + state + " position=" + position + " duration=" + duration + " }";
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppObexClientSession.java | 382 long position = 0; 461 if (!mInterrupted && (position != fileInfo.mLength)) { 474 position += readLength; 476 if (position == fileInfo.mLength) { 498 updateValues.put(BluetoothShare.CURRENT_BYTES, position); 507 while (!mInterrupted && okToProceed && (position < fileInfo.mLength)) { 525 position += readLength; 528 Log.v(TAG, "Sending file position = " + position 534 percent = position * 10 [all...] |
H A D | BluetoothOppObexServerSession.java | 453 long position = 0; 469 while ((!mInterrupted) && (position != fileInfo.mLength)) { 479 Log.d(TAG, "Receive file reached stream end at position" + position); 485 position += readLength; 486 percent = position * 100 / fileInfo.mLength; 491 "Receive file position = " + position + " readLength " + readLength 500 updateValues.put(BluetoothShare.CURRENT_BYTES, position); 524 if (position [all...] |
H A D | BluetoothOppTransferHistory.java | 213 mTransferCursor.moveToPosition(info.position); 214 mContextMenuPosition = info.position; 292 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 298 mTransferCursor.moveToPosition(position); 307 * appropriate position before calling this function
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | AllInOneActivity.java | 1310 public boolean onSuggestionSelect(int position) { argument 1315 public boolean onSuggestionClick(int position) { argument
|
H A D | CalendarViewAdapter.java | 145 public Object getItem(int position) { argument 146 if (position < mButtonNames.length) { 147 return mButtonNames[position]; 153 public long getItemId(int position) { argument 155 return position; 164 public View getView(int position, View convertView, ViewGroup parent) { argument 244 public int getItemViewType(int position) { argument 260 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument 264 switch (position) {
|
H A D | DayView.java | 1309 // Set up the expand icon position 2177 // offset canvas by the current drag and header position 2296 // Computes the x position for the left side of the given day (base 0) 2994 // Set the selection position to zero so that when we move down 3065 int position = ev.getColumn(); 3066 if (position == startPosition) { 3068 } else if (position > maxPosition) { 3070 maxPosition = position; 3078 if (neighborPosition == position - 1) { 3080 } else if (neighborPosition == position [all...] |
H A D | EventInfoFragment.java | 692 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 694 if (prevValue == null || prevValue != position) { 695 parent.setTag(position);
|
H A D | StickyHeaderListView.java | 85 * Calculates the position of the header of a specific item in the adapter's data set. 88 * this method with the position of song 5 in Album B, should return the position 90 * @param position - Position of the item in the ListView dataset 94 int getHeaderPositionFromItemPosition(int position); argument 264 // Get the section header position 272 // No header for current position , use the dummy invisible one, hide the separator 298 // If position of bottom of last item in a section is smaller than the height of the
|
H A D | Utils.java | 704 * Determine whether the column position is Saturday or not. 706 * @param column the column position 708 * @return true if the column is Saturday position 717 * Determine whether the column position is Sunday or not. 719 * @param column the column position 721 * @return true if the column is Sunday position 881 int position; field in class:Utils.DNAStrand 1081 // increment i so that we are at the right position when 1176 strand.position = 0; 1199 strand.points[strand.position [all...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
H A D | AgendaByDayAdapter.java | 83 public long getInstanceId(int position) { argument 84 if (mRowInfo == null || position >= mRowInfo.size()) { 87 return mRowInfo.get(position).mInstanceId; 90 public long getStartTime(int position) { argument 91 if (mRowInfo == null || position >= mRowInfo.size()) { 94 return mRowInfo.get(position).mEventStartTimeMilli; 98 // Returns the position of a header of a specific item 99 public int getHeaderPosition(int position) { argument 100 if (mRowInfo == null || position >= mRowInfo.size()) { 104 for (int i = position; 113 getHeaderItemsCount(int position) argument 136 getItem(int position) argument 149 getItemId(int position) argument 167 getItemViewType(int position) argument 172 isDayHeaderView(int position) argument 177 getView(int position, View convertView, ViewGroup parent) argument 450 RowInfo(int type, int julianDay, int position, long id, long startTime, long endTime, long instanceId, boolean allDay) argument 485 MultipleDayInfo(int position, int endDay, long id, long startTime, long endTime, long instanceId, boolean allDay) argument 598 isFirstDayAfterYesterday(int position) argument 613 findJulianDayFromPosition(int position) argument 636 setAsFirstDayAfterYesterday(int position) argument 677 isEnabled(int position) argument [all...] |
H A D | AgendaListView.java | 172 public void onItemClick(AdapterView<?> a, View v, int position, long id) { argument 175 AgendaItem item = mWindowAdapter.getAgendaItemByPosition(position); 232 int position = getSelectedItemPosition(); 233 AgendaItem agendaItem = mWindowAdapter.getAgendaItemByPosition(position); 253 int position = getSelectedItemPosition(); 254 if (position >= 0) { 255 AgendaItem item = mWindowAdapter.getAgendaItemByPosition(position); 285 Log.d(TAG, "first position had time " + t.toString()); 293 int position = getFirstVisiblePosition(); 295 Log.v(TAG, "getFirstVisiblePosition = " + position); 317 getJulianDayFromPosition(int position) argument [all...] |
H A D | AgendaWindowAdapter.java | 60 - At rotation and launch time, the initial position is not set properly. This code is calling 132 // Listview may have a bug where the index/position is not consistent when there's a header. 133 // position == positionInListView - OFF_BY_ONE_BUG 219 // Used to stop a fling motion if the ListView is set to a specific position 314 int offset; // offset in position in the list view 386 public int getItemViewType(int position) { argument 387 DayAdapterInfo info = getAdapterInfoByPosition(position); 389 return info.dayAdapter.getItemViewType(position - info.offset); 397 public boolean isEnabled(int position) { argument 398 DayAdapterInfo info = getAdapterInfoByPosition(position); 412 getItem(int position) argument 429 getItemId(int position) argument 451 getView(int position, View convertView, ViewGroup parent) argument 544 getAdapterInfoByPosition(int position) argument 1334 findInstanceIdFromPosition(int position) argument 1342 findStartTimeFromPosition(int position) argument 1351 getCursorByPosition(int position) argument 1359 getCursorPositionByPosition(int position) argument 1372 getHeaderPositionFromItemPosition(int position) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | AlertActivity.java | 178 public void onItemClick(AdapterView<?> parent, View view, int position,
|
H A D | QuickResponseActivity.java | 84 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 87 if (mResponses != null && position < mResponses.length - 1) { 88 body = mResponses[position];
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EditEventView.java | 845 View view, int position, long id) { 853 mAvailabilityCurrentlySelected = position; 856 if (mAvailabilityCurrentlySelected != position && 860 mAvailabilityCurrentlySelected = position; 1473 int position = 0; 1477 return position; 1479 position++; 1484 // Find the calendar position in the cursor that matches calendar in 1497 int position = 0; 1508 return position; 1722 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument [all...] |
H A D | EventLocationAdapter.java | 171 public View getView(final int position, final View convertView, final ViewGroup parent) { argument 176 final Result result = getItem(position);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | MonthByWeekAdapter.java | 188 public View getView(int position, View convertView, ViewGroup parent) { argument 190 return super.getView(position, convertView, parent); 231 if (mSelectedWeek == position) { 241 drawingParams.put(SimpleWeekView.VIEW_PARAMS_WEEK, position);
|
H A D | SimpleDayPickerFragment.java | 145 // This allows us to update our position when a day is tapped 328 int position = (offset + i) % 7; 329 label.setText(mDayLabels[position]); 331 if (position == Time.SATURDAY) { 333 } else if (position == Time.SUNDAY) { 391 // current position, so return after setting the selected day. 403 int position = Utils.getWeeksSinceEpochFromJulianDay( 421 // Compute the first and last position visible 438 Log.d(TAG, "GoTo position " + position); [all...] |
H A D | SimpleWeeksAdapter.java | 195 public Object getItem(int position) { argument 200 public long getItemId(int position) { argument 201 return position; 206 public View getView(int position, View convertView, ViewGroup parent) { argument 228 if (mSelectedWeek == position) { 239 drawingParams.put(SimpleWeekView.VIEW_PARAMS_WEEK, position);
|