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

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/tests/app/src/android/app/backup/cts/
FileBackupHelperTest.java 25 new FileBackupHelper(mContext);
26 new FileBackupHelper(mContext, "test-file-1");
27 new FileBackupHelper(mContext, "test-file-1", "test-file-2");
SharedPreferencesBackupHelperTest.java 25 new SharedPreferencesBackupHelper(mContext);
26 new SharedPreferencesBackupHelper(mContext, "test-prefs-group-1");
27 new SharedPreferencesBackupHelper(mContext, "test-prefs-group-1", "test-prefs-group-2");
  /external/conscrypt/src/test/java/org/conscrypt/
ZpenSSLX509Certificate.java 28 public final long mContext;
31 mContext = ctx;
  /frameworks/base/media/mca/filterfw/java/android/filterfw/
MffEnvironment.java 34 private FilterContext mContext;
50 mContext = new FilterContext();
51 mContext.setFrameManager(frameManager);
59 return mContext;
67 mContext.initGLEnvironment(glEnvironment);
85 GLEnvironment glEnv = mContext.getGLEnvironment();
87 mContext.getGLEnvironment().activate();
99 GLEnvironment glEnv = mContext.getGLEnvironment();
101 mContext.getGLEnvironment().deactivate();
  /frameworks/compile/slang/
slang_rs_exportable.h 34 RSContext *mContext;
40 : mContext(Context),
53 inline bool isKeep() const { return (mContext == nullptr); }
57 inline RSContext *getRSContext() const { return mContext; }
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
TextAppearanceFactory.java 26 private final Context mContext;
29 mContext = context;
34 new TextAppearanceSpan(mContext, R.style.SuggestionText1_Query)
40 new TextAppearanceSpan(mContext, R.style.SuggestionText1_Suggested)
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/
PreferenceUtils.java 27 private final Context mContext;
30 mContext = context;
34 return Settings.Global.getInt(mContext.getContentResolver(),
39 Settings.Global.putInt(mContext.getContentResolver(),
  /frameworks/support/v4/java/android/support/v4/provider/
SingleDocumentFile.java 24 private Context mContext;
29 mContext = context;
50 return DocumentsContractApi19.getName(mContext, mUri);
55 return DocumentsContractApi19.getType(mContext, mUri);
60 return DocumentsContractApi19.isDirectory(mContext, mUri);
65 return DocumentsContractApi19.isFile(mContext, mUri);
70 return DocumentsContractApi19.lastModified(mContext, mUri);
75 return DocumentsContractApi19.length(mContext, mUri);
80 return DocumentsContractApi19.canRead(mContext, mUri);
85 return DocumentsContractApi19.canWrite(mContext, mUri)
    [all...]
TreeDocumentFile.java 23 private Context mContext;
28 mContext = context;
34 final Uri result = DocumentsContractApi21.createFile(mContext, mUri, mimeType, displayName);
35 return (result != null) ? new TreeDocumentFile(this, mContext, result) : null;
40 final Uri result = DocumentsContractApi21.createDirectory(mContext, mUri, displayName);
41 return (result != null) ? new TreeDocumentFile(this, mContext, result) : null;
51 return DocumentsContractApi19.getName(mContext, mUri);
56 return DocumentsContractApi19.getType(mContext, mUri);
61 return DocumentsContractApi19.isDirectory(mContext, mUri);
66 return DocumentsContractApi19.isFile(mContext, mUri)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
RecentsAppWidgetHostView.java 26 private Context mContext;
31 mContext = context;
46 return new View(mContext);
53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation;
62 int orientation = mContext.getResources().getConfiguration().orientation;
  /cts/tests/tests/widget/src/android/widget/cts/
RadioButtonTest.java 32 private Context mContext;
37 mContext = getInstrumentation().getTargetContext();
41 AttributeSet attrs = mContext.getResources().getLayout(R.layout.radiogroup_1);
44 new RadioButton(mContext);
51 new RadioButton(mContext, attrs);
57 new RadioButton(mContext, null);
59 new RadioButton(mContext, attrs, 0);
65 new RadioButton(mContext, null, 0);
66 new RadioButton(mContext, attrs, Integer.MAX_VALUE);
67 new RadioButton(mContext, attrs, Integer.MIN_VALUE)
    [all...]
ZoomControlsTest.java 31 private Context mContext;
36 mContext = getInstrumentation().getContext();
41 new ZoomControls(mContext);
43 new ZoomControls(mContext, null);
48 ZoomControls zoomControls = new ZoomControls(mContext);
66 ZoomControls zoomControls = new ZoomControls(mContext);
78 ZoomControls zoomControls = new ZoomControls(mContext);
91 final ZoomControls zoomControls = new ZoomControls(mContext);
103 ZoomControls zoomControls = new ZoomControls(mContext);
110 ZoomControls zoomControls = new ZoomControls(mContext);
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
ActionBarPolicy.java 31 private Context mContext;
38 mContext = context;
42 return mContext.getResources().getInteger(R.integer.max_action_buttons);
50 return mContext.getResources().getDisplayMetrics().widthPixels / 2;
54 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion;
56 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs);
61 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs_pre_jb);
65 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar,
68 Resources r = mContext.getResources();
81 return mContext.getApplicationInfo().targetSdkVersion
    [all...]
  /hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
AnnRGBPlane.cpp 30 memset(&mContext, 0, sizeof(mContext));
51 return (void *)&mContext;
135 mContext.type = DC_SPRITE_PLANE;
137 mContext.type = DC_PRIMARY_PLANE;
147 mContext.ctx.sp_ctx.index = mIndex;
148 mContext.ctx.sp_ctx.pipe = mDevice;
149 mContext.ctx.sp_ctx.cntr = spriteFormat | 0x80000000;
150 mContext.ctx.sp_ctx.linoff = linoff;
151 mContext.ctx.sp_ctx.stride = stride
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
RotationLockControllerImpl.java 28 private final Context mContext;
41 mContext = context;
55 return RotationPolicy.getRotationLockOrientation(mContext);
59 return RotationPolicy.isRotationLocked(mContext);
63 RotationPolicy.setRotationLock(mContext, locked);
67 return RotationPolicy.isRotationLockToggleVisible(mContext);
73 RotationPolicy.registerRotationPolicyListener(mContext, mRotationPolicyListener,
76 RotationPolicy.unregisterRotationPolicyListener(mContext, mRotationPolicyListener);
87 callback.onRotationLockStateChanged(RotationPolicy.isRotationLocked(mContext),
88 RotationPolicy.isRotationLockToggleVisible(mContext));
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
ControllerProviderOpsTests.java 43 private Context mContext;
53 mContext = getContext();
68 Mailbox.getSystemMailboxName(mContext, -1);
69 fail("Mailbox.getSystemMailboxName(mContext, -1) succeeded without an exception");
74 assertEquals("Inbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_INBOX));
75 assertEquals("Outbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_OUTBOX));
76 assertEquals("Trash", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_TRASH));
77 assertEquals("Sent", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_SENT));
78 assertEquals("Junk", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_JUNK));
83 assertEquals("Inbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_INBOX))
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
GlobalSetting.java 28 private final Context mContext;
35 mContext = context;
40 return Global.getInt(mContext.getContentResolver(), mSettingName, 0);
44 Global.putInt(mContext.getContentResolver(), mSettingName, value);
50 mContext.getContentResolver().registerContentObserver(
53 mContext.getContentResolver().unregisterContentObserver(this);
  /cts/tests/tests/app/src/android/app/cts/
ServiceTest.java 43 private Context mContext;
140 mContext.startService(new Intent(service).putExtras(bundle));
143 mContext.startService(new Intent(service).putExtras(bundle));
148 mContext.stopService(service);
152 mContext.stopService(service);
179 mContext.bindService(service, conn, 0);
180 mContext.startService(service);
184 mContext.bindService(service, conn2, 0);
187 mContext.unbindService(conn2);
191 mContext.unbindService(conn)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
ActionBarPolicy.java 35 private Context mContext;
42 mContext = context;
46 return mContext.getResources().getInteger(R.integer.abc_max_action_buttons);
53 return !ViewConfigurationCompat.hasPermanentMenuKey(ViewConfiguration.get(mContext));
58 return mContext.getResources().getDisplayMetrics().widthPixels / 2;
62 final int targetSdk = mContext.getApplicationInfo().targetSdkVersion;
64 return mContext.getResources().getBoolean(R.bool.abc_action_bar_embed_tabs);
69 return mContext.getResources().getBoolean(R.bool.abc_action_bar_embed_tabs_pre_jb);
73 TypedArray a = mContext.obtainStyledAttributes(null, R.styleable.ActionBar,
76 Resources r = mContext.getResources()
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
AndroidContext.java 51 private final Context mContext;
53 mContext = context;
57 return mContext;
  /cts/tests/tests/text/src/android/text/format/cts/
FormatterTest.java 35 assertEquals("0.00 B", Formatter.formatFileSize(mContext, 0));
37 assertEquals("899 B", Formatter.formatFileSize(mContext, 899));
39 assertEquals("1.00 KB", Formatter.formatFileSize(mContext, bd.pow(1).longValue()));
41 assertEquals("1.00 MB", Formatter.formatFileSize(mContext, bd.pow(2).longValue()));
43 assertEquals("1.00 GB", Formatter.formatFileSize(mContext, bd.pow(3).longValue()));
45 assertEquals("1.00 TB", Formatter.formatFileSize(mContext, bd.pow(4).longValue()));
47 assertEquals("1.00 PB", Formatter.formatFileSize(mContext, bd.pow(5).longValue()));
49 assertEquals("1024 PB", Formatter.formatFileSize(mContext, bd.pow(6).longValue()));
52 assertEquals("-1.00 B", Formatter.formatFileSize(mContext, -1));
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLX509CRLEntry.java 31 private final long mContext;
34 mContext = ctx;
40 NativeCrypto.get_X509_REVOKED_ext_oids(mContext,
49 && (NativeCrypto.get_X509_REVOKED_ext_oids(mContext,
59 return NativeCrypto.X509_REVOKED_get_ext_oid(mContext, oid);
65 NativeCrypto.get_X509_REVOKED_ext_oids(mContext,
74 && (NativeCrypto.get_X509_REVOKED_ext_oids(mContext,
85 NativeCrypto.get_X509_REVOKED_ext_oids(mContext,
88 final long extensionRef = NativeCrypto.X509_REVOKED_get_ext(mContext, oid);
99 return NativeCrypto.i2d_X509_REVOKED(mContext);
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
OrientationListenerTest.java 29 private Context mContext;
34 mContext = getContext();
38 new MockOrientationListener(mContext);
40 new MockOrientationListener(mContext, SensorManager.SENSOR_DELAY_UI);
45 MockOrientationListener listener = new MockOrientationListener(mContext);
52 new MockOrientationListener(mContext).onAccuracyChanged(SensorManager.SENSOR_ACCELEROMETER,
55 new MockOrientationListener(mContext).onAccuracyChanged(SensorManager.SENSOR_ORIENTATION,
61 MockOrientationListener listener = new MockOrientationListener(mContext);
66 new MockOrientationListener(mContext).onSensorChanged(SensorManager.SENSOR_ACCELEROMETER,
73 new MockOrientationListener(mContext).onSensorChanged(SensorManager.SENSOR_MAGNETIC_FIELD
    [all...]
  /packages/apps/Email/provider_src/com/android/email/service/
AccountService.java 38 private Context mContext;
44 return ResourceHelper.getInstance(mContext).getAccountColor(accountId);
51 VendorPolicyLoader.getInstance(mContext).useAlternateExchangeStrings());
62 EmailServiceUtils.startRemoteServices(mContext);
64 DebugUtils.updateLoggingFlags(mContext);
66 return Device.getDeviceId(mContext);
75 if (mContext == null) {
76 mContext = this;
  /cts/tests/tests/content/src/android/content/cts/
MutableContextWrapperTest.java 27 Context mContext;
33 mContext = getInstrumentation().getTargetContext();
38 mMutableContextWrapper = new MutableContextWrapper(mContext);
44 mMutableContextWrapper = new MutableContextWrapper(mContext);
45 assertTrue(mContext.equals(mMutableContextWrapper.getBaseContext()));

Completed in 2243 milliseconds

1 2 3 4 5 6 7 8 91011>>