Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 17 of 17) sorted by relevance

/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis3/
DVisualization3RS.java120 int cnt = 0; in update() local
126 cnt += len; in update()
127 if (cnt > width) { in update()
129 cnt -= width; in update()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndapi.c26 #define GET_HYOKI_INDEX_OFFSET(cnt) \ argument
27 (NJ_LEARN_DIC_HEADER_SIZE + NJ_INDEX_SIZE * ((cnt)+1))
29 #define GET_DATA_AREA_OFFSET(cnt) \ argument
30 (NJ_LEARN_DIC_HEADER_SIZE + NJ_INDEX_SIZE * ((cnt)+1) * 2)
31 #define GET_EXT_DATA_AREA_OFFSET(cnt) \ argument
32 (NJ_LEARN_DIC_HEADER_SIZE + NJ_INDEX_SIZE * ((cnt)+1) * 2 + LEARN_DIC_QUE_SIZE * (cnt))
684 NJ_UINT8 cnt; in njx_search_word() local
790 for (cnt = 0; cnt < NJ_MAX_DIC; cnt++) { in njx_search_word()
791 dhdl = cursor->cond.ds->dic[cnt].handle; in njx_search_word()
794 if ((cursor->cond.ds->dic[cnt].dic_freq[NJ_MODE_TYPE_HENKAN].base in njx_search_word()
[all …]
Dndldic.c437 NJ_INT16 cnt = 0; in continue_cnt() local
453 return cnt; in continue_cnt()
464 cnt++; in continue_cnt()
467 if (cnt >= (NJD_MAX_CONNECT_CNT - 1)) { in continue_cnt()
468 return cnt; in continue_cnt()
472 return cnt; in continue_cnt()
514 NJ_INT16 cnt = 0; in que_strcmp_complete_with_hyouki() local
522 cnt = 1; in que_strcmp_complete_with_hyouki()
526 cnt = GET_LEARN_WORD_COUNT(handle); in que_strcmp_complete_with_hyouki()
529 while (cnt--) { in que_strcmp_complete_with_hyouki()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnn.java168 int cnt = KeyActionList.size(); in onKeyDown() local
169 if (cnt != 0) { in onKeyDown()
170 for (int i = 0; i < cnt; i++) { in onKeyDown()
187 int cnt = KeyActionList.size(); in onKeyUp() local
188 for (int i = 0; i < cnt; i++) { in onKeyUp()
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelPicker.java63 int cnt = -1; in onCreate() local
71 cnt += 1; in onCreate()
76 defpanelidx = cnt; in onCreate()
/packages/apps/Mms/src/com/android/mms/ui/
DRecipientListActivity.java82 int cnt = contacts.size(); in onCreate() local
84 cnt, cnt)); in onCreate()
DConversationList.java645 int cnt = threadIds.size(); in confirmDeleteThreadDialog() local
647 R.plurals.confirm_delete_conversation, cnt, cnt)); in confirmDeleteThreadDialog()
DComposeMessageActivity.java1728 int cnt = list.size(); in updateTitle() local
1729 switch (cnt) { in updateTitle()
1751 subTitle = getResources().getQuantityString(R.plurals.recipient_count, cnt, cnt); in updateTitle()
4067 int cnt = mMsgListAdapter.getCount(); in onQueryComplete() local
4068 if (cnt > 0) { in onQueryComplete()
4071 newSelectionPos = cnt - 1; in onQueryComplete()
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceDialerActivity.java654 int cnt = 0; in skipBeep() local
655 while (cnt < blockSize) { in skipBeep()
656 int n = is.read(buf, cnt, blockSize-cnt); in skipBeep()
660 cnt += n; in skipBeep()
664 cnt = blockSize; in skipBeep()
667 while (cnt >= 2) { in skipBeep()
668 short smp = (short)((buf[cnt - 1] << 8) + (buf[cnt - 2] & 0xFF)); in skipBeep()
671 cnt -= 2; in skipBeep()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DCalendarSyncAdapterTests.java270 int cnt = 0; in countInsertOperationsForTable() local
277 cnt++; in countInsertOperationsForTable()
280 return cnt; in countInsertOperationsForTable()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DCalendarSyncAdapterTests.java270 int cnt = 0; in countInsertOperationsForTable() local
277 cnt++; in countInsertOperationsForTable()
280 return cnt; in countInsertOperationsForTable()
/packages/apps/Mms/tests/src/com/android/mms/
DRecyclerTest.java205 int cnt = cursor.getCount();
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DCalendarSyncAdapter.java723 int cnt = ops.mCount - eventOffset; in addEvent() local
724 userLog(TAG, "Removing " + cnt + " inserts from mOps"); in addEvent()
725 for (int i = 0; i < cnt; i++) { in addEvent()
1789 int cnt = cr.update( in sendLocalChanges() local
1796 if (cnt == 0) { in sendLocalChanges()
/packages/apps/Nfc/nci/jni/
DSecureElement.cpp421 int cnt = 0; in getListOfEeHandles() local
422 for (int ii = 0; ii < mActualNumEe && cnt < mNumEePresent; ii++) in getListOfEeHandles()
431 e->SetIntArrayRegion (list, cnt++, 1, &jj); in getListOfEeHandles()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java1371 int cnt = -1; in getNextPosition() local
1373 while (tracks[++cnt] < 0) in getNextPosition()
1380 return cnt; in getNextPosition()
/packages/apps/Mms/src/com/android/mms/data/
DConversation.java514 public synchronized void setMessageCount(int cnt) { in setMessageCount() argument
515 mMessageCount = cnt; in setMessageCount()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java672 int cnt = Mailbox.count(context, Mailbox.CONTENT_URI, "accountKey=" in AccountObserver() local
674 if (cnt == 0) { in AccountObserver()