Home
last modified time | relevance | path

Searched refs:ic (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/inputmethod/
DRemoteInputConnectionImpl.java247 final InputConnection ic = getInputConnection(); in scheduleInvalidateInput() local
248 if (ic == null) { in scheduleInvalidateInput()
260 final Class<? extends InputConnection> icClass = ic.getClass(); in scheduleInvalidateInput()
267 final boolean supportsBatchEdit = ic.beginBatchEdit(); in scheduleInvalidateInput()
268 ic.finishComposingText(); in scheduleInvalidateInput()
273 if (!ic.endBatchEdit()) { in scheduleInvalidateInput()
291 final TextSnapshot textSnapshot = ic.takeSnapshot(); in scheduleInvalidateInput()
327 InputConnection ic = getInputConnection(); in deactivate() local
332 if (ic == null) { in deactivate()
336 ic.closeConnection(); in deactivate()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewReceiveContentTest.java95 MyInputConnection ic = new MyInputConnection(); in testGetFallbackMimeTypesForAutofill() local
96 mEditText.setInputConnectionWrapper(ic); in testGetFallbackMimeTypesForAutofill()
112 MyInputConnection ic = new MyInputConnection(); in testGetFallbackMimeTypesForAutofill_noMimeTypesInEditorInfo() local
113 mEditText.setInputConnectionWrapper(ic); in testGetFallbackMimeTypesForAutofill_noMimeTypesInEditorInfo()
127 MyInputConnection ic = new MyInputConnection(); in testOnReceive_fallbackToCommitContent() local
128 mEditText.setInputConnectionWrapper(ic); in testOnReceive_fallbackToCommitContent()
140 verify(ic.mMock, times(1)) in testOnReceive_fallbackToCommitContent()
142 verifyNoMoreInteractions(ic.mMock); in testOnReceive_fallbackToCommitContent()
150 MyInputConnection ic = new MyInputConnection(); in testOnReceive_fallbackToCommitContent_noMimeTypesInEditorInfo() local
151 mEditText.setInputConnectionWrapper(ic); in testOnReceive_fallbackToCommitContent_noMimeTypesInEditorInfo()
[all …]
DCustomInputConnectionEditText.java65 InputConnection ic = super.onCreateInputConnection(outAttrs); in onCreateInputConnection() local
66 if (ic == null) { in onCreateInputConnection()
72 return ic; in onCreateInputConnection()
76 mInputConnectionWrapper.setTarget(ic); in onCreateInputConnection()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleIconFactory.java50 @Nullable final ShortcutInfo shortcutInfo, @Nullable final Icon ic) { in getBubbleDrawable() argument
57 if (ic != null) { in getBubbleDrawable()
58 if (ic.getType() == Icon.TYPE_URI in getBubbleDrawable()
59 || ic.getType() == Icon.TYPE_URI_ADAPTIVE_BITMAP) { in getBubbleDrawable()
61 ic.getUri(), in getBubbleDrawable()
64 return ic.loadDrawable(context); in getBubbleDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/
DIconManager.kt224 val ic = StatusBarIcon( in <lambda>() constant
235 entry.icons.peopleAvatarDescriptor = ic in <lambda>()
237 entry.icons.smallIconDescriptor = ic in <lambda>()
241 return ic in <lambda>()
259 var ic: Icon? = null in <lambda>() variable
263 ic = launcherApps.getShortcutIcon(shortcut) in <lambda>()
267 if (ic == null) { in <lambda>()
276 ic = message.senderPerson!!.icon in <lambda>()
283 if (ic == null) { in <lambda>()
284 ic = entry.sbn.notification.getLargeIcon() in <lambda>()
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DInputMethod.java149 final void startInput(@Nullable RemoteAccessibilityInputConnection ic, in startInput() argument
153 doStartInput(ic, attribute, false /* restarting */); in startInput()
157 final void restartInput(@Nullable RemoteAccessibilityInputConnection ic, in restartInput() argument
161 doStartInput(ic, attribute, true /* restarting */); in restartInput()
166 final void doStartInput(RemoteAccessibilityInputConnection ic, EditorInfo attribute, in doStartInput() argument
168 if ((ic == null || !restarting) && mInputStarted) { in doStartInput()
170 if (ic == null) { in doStartInput()
176 mStartedInputConnection = ic; in doStartInput()
199 AccessibilityInputConnection(RemoteAccessibilityInputConnection ic) { in AccessibilityInputConnection() argument
200 this.mIc = ic; in AccessibilityInputConnection()
/frameworks/base/libs/androidfw/
DZipUtils.cpp181 int ic; in examineGzip() local
185 ic = getc(fp); in examineGzip()
186 if (ic != 0x1f || getc(fp) != 0x8b) in examineGzip()
212 ic = getc(fp); in examineGzip()
213 } while (ic != 0 && ic != EOF); in examineGzip()
218 ic = getc(fp); in examineGzip()
219 } while (ic != 0 && ic != EOF); in examineGzip()
/frameworks/av/media/codecs/amrnb/dec/src/
Dd8_31pf.cpp174 Word16 ic; in decompress10() local
223 ic = LSBs - ((LSBs >> 2) << 2); in decompress10()
226 pos_indx[index1] = ib + (ic & 1); in decompress10()
242 pos_indx[index2] = ib + (ic >> 1); in decompress10()
247 ic = in decompress10()
253 ic = in decompress10()
255 ic, in decompress10()
262 ic, in decompress10()
/frameworks/av/media/codecs/amrnb/enc/src/
Dc8_31pf.cpp445 Word16 ic; in compress10() local
461 ic = pos_indxC >> 1; in compress10()
463 tempWord32 = ((Word32) ic * 25) << 1; in compress10()
467 ic = (Word16) tempWord32; in compress10()
469 ib += ic; in compress10()
479 ic = ((Word16)(pos_indxC & 1)) << 2; in compress10()
481 ib += ic; in compress10()
574 Word16 ic; in compress_code() local
639 ic = (Word16)(((Word32) ib * 1311) >> 15); in compress_code()
641 ic <<= 2; in compress_code()
[all …]
/frameworks/compile/slang/tests/F_global_init/
Dglobal_init.rscript11 const int ic = 99;
13 int ica[2] = {ic, 1000};
/frameworks/compile/slang/lit-tests/P_array_init/
Darray_init.rscript3 // CHECK: @ic = local_unnamed_addr constant i32 99, align 4
18 const int ic = 99;
20 int ica[2] = {ic, 1000};
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java658 final InputConnection ic = getCurrentInputConnection();
659 if (ei != null && ic != null) {
661 ic.performEditorAction(ei.actionId);
663 ic.performEditorAction(ei.imeOptions & EditorInfo.IME_MASK_ACTION);
782 public void startInput(InputConnection ic, EditorInfo attribute) { in startInput() argument
785 doStartInput(ic, attribute, false); in startInput()
794 public void restartInput(InputConnection ic, EditorInfo attribute) { in restartInput() argument
797 doStartInput(ic, attribute, true); in restartInput()
1796 InputConnection ic = mStartedInputConnection; in getCurrentInputConnection() local
1797 if (ic != null) { in getCurrentInputConnection()
[all …]
DIInputMethodWrapper.java206 final InputConnection ic = inputContext != null in executeMessage() local
210 inputMethod.dispatchStartInputWithToken(ic, info, restarting, startInputToken, in executeMessage()
331 InputConnection ic = new RemoteInputConnection(mTarget, in bindInput() local
333 InputBinding nu = new InputBinding(ic, binding); in bindInput()
/frameworks/compile/slang/tests/P_array_init/
Darray_init.rscript4 const int ic = 99;
6 int ica[2] = {ic, 1000};
/frameworks/base/core/java/android/widget/
DImeAwareEditText.java64 final InputConnection ic = super.onCreateInputConnection(editorInfo); in onCreateInputConnection() local
69 return ic; in onCreateInputConnection()
DTextViewOnReceiveContentListener.java217 void setInputConnectionInfo(@NonNull TextView view, @NonNull InputConnection ic, in setInputConnectionInfo() argument
227 mInputConnectionInfo = new InputConnectionInfo(ic, contentMimeTypes); in setInputConnectionInfo()
/frameworks/native/cmds/service/
Dservice.cpp58 int ic = getopt(argc, argv, "h?"); in main() local
59 if (ic < 0) in main()
62 switch (ic) { in main()
68 aerr << prog_name << ": Unknown option -" << ic << endl; in main()
/frameworks/base/libs/usb/tests/accessorytest/
Daccessory.h20 int init_audio(unsigned int ic, unsigned int id, unsigned int oc, unsigned int od);
Daudio.c187 int init_audio(unsigned int ic, unsigned int id, unsigned int oc, unsigned int od) in init_audio() argument
194 input_card = ic; in init_audio()
/frameworks/base/cmds/incident/
Dmain.cpp340 IncidentSection const* ic = find_section(arg); in main() local
341 if (ic == NULL) { in main()
346 args.addSection(ic->id); in main()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java324 final InputConnection ic = ims.getCurrentInputConnection(); in sendEvent() local
325 if (ic != null) { in sendEvent()
326 ic.sendKeyEvent(ev); in sendEvent()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java1097 RemoteInputConnectionImpl ic = null; in handleMessage() local
1100 ic = mServedInputConnection; in handleMessage()
1104 if (ic != null) { in handleMessage()
1105 ic.dispatchReportFullscreenMode(fullscreen); in handleMessage()
2308 InputConnection ic = view.onCreateInputConnection(tba); in startInputInner() local
2309 if (DEBUG) Log.v(TAG, "Starting input: tba=" + tba + " ic=" + ic); in startInputInner()
2349 if (ic != null) { in startInputInner()
2360 handler = ic.getHandler(); in startInputInner()
2367 icHandler != null ? icHandler.getLooper() : vh.getLooper(), ic, this, view); in startInputInner()
2377 + ic + " tba=" + tba + " startInputFlags=" in startInputInner()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java116 final Icon ic = Icon.createWithBitmap(bm); in testScaleDownIfNecessary() local
117 ic.scaleDownIfNecessary(40, 20); in testScaleDownIfNecessary()
122 assertThat(ic.getBitmap().getWidth()).isLessThan(41); in testScaleDownIfNecessary()
123 assertThat(ic.getBitmap().getHeight()).isLessThan(21); in testScaleDownIfNecessary()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp1160 int ic = getopt_long(argc, argv, "", longOptions, &optionIndex); in main() local
1161 if (ic == -1) { in main()
1165 switch (ic) { in main()
1262 if (ic != '?') { in main()
1263 fprintf(stderr, "getopt_long returned unexpected value 0x%x\n", ic); in main()
/frameworks/base/tests/LegacyRestoreTest/
Dkk-fixed-encrypted-settings-abcd.ab17 …\���xe0u�e��dZ�ۅ��V��� >I����N��<��?�q�R}b�O �JK�>��}�K�D�����+�2Z��0�����ic#"u�����8 ��m��

12