/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListOfTouchables.java | 33 protected void init(Params params) { 34 params.setItemsFocusable(true)
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ShortButtons.java | 47 protected void init(Params params) { 49 params.addButtons(3, "top-level", mButtonHeightFactor)
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/ |
CameraFunctionalTest.java | 134 Parameters params = mCameraTestHelper.getCameraParameters(); local 136 int min = params.getMinExposureCompensation(); 137 int max = params.getMaxExposureCompensation(); 139 float step = params.getExposureCompensationStep(); 151 params.setExposureCompensation(i); 152 mCameraTestHelper.setParameters(params); 170 Parameters params = mCameraTestHelper.getCameraParameters(); local 171 List<String> supportedFlashModes = params.getSupportedFlashModes(); 182 params.setFlashMode(supportedFlashModes.get(i)); 183 mCameraTestHelper.setParameters(params); 201 Parameters params = mCameraTestHelper.getCameraParameters(); local 232 Parameters params = mCameraTestHelper.getCameraParameters(); local [all...] |
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestMethod.java | 85 Class[] params = constructor.getParameterTypes(); local 86 if (noargsConstructor(params)) { 92 } else if (singleStringConstructor(params)) { 102 private boolean singleStringConstructor(Class[] params) { 103 return (params.length == 1) && (params[0].equals(String.class)); 106 private boolean noargsConstructor(Class[] params) { 107 return params.length == 0;
|
/libcore/luni/src/main/java/java/security/ |
AlgorithmParametersSpi.java | 51 * @param params 57 protected abstract void engineInit(byte[] params) throws IOException; 63 * @param params 71 protected abstract void engineInit(byte[] params, String format)
|
/libcore/luni/src/main/java/javax/crypto/ |
ExemptionMechanismSpi.java | 97 * @param params 107 protected abstract void engineInit(Key key, AlgorithmParameters params) 117 * @param params 127 protected abstract void engineInit(Key key, AlgorithmParameterSpec params)
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
MyKeyGeneratorSpi.java | 46 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) 48 if (params == null) { 49 throw new InvalidAlgorithmParameterException("params is null");
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator4Test.java | 114 DSAParams params = key.getParams(); local 117 keyPair.initialize(new DSAParameterSpec(params.getP(), params.getQ(), 118 params.getG())); 132 DSAParams params = key.getParams(); local 135 keyPair.initialize(new DSAParameterSpec(params.getP(), params.getQ(), 136 params.getG()), new SecureRandom());
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertPathValidatorSpi.java | 41 CertPathParameters params) throws CertPathValidatorException, 49 if (params == null) { 51 throw new InvalidAlgorithmParameterException("params null");
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeeksAdapter.java | 100 public SimpleWeeksAdapter(Context context, HashMap<String, Integer> params) { 114 updateParams(params); 130 * @param params A list of parameters for this adapter 132 public void updateParams(HashMap<String, Integer> params) { 133 if (params == null) { 137 if (params.containsKey(WEEK_PARAMS_FOCUS_MONTH)) { 138 mFocusMonth = params.get(WEEK_PARAMS_FOCUS_MONTH); 140 if (params.containsKey(WEEK_PARAMS_FOCUS_MONTH)) { 141 mNumWeeks = params.get(WEEK_PARAMS_NUM_WEEKS); 143 if (params.containsKey(WEEK_PARAMS_SHOW_WEEK)) 216 LayoutParams params = new LayoutParams( local [all...] |
/hardware/ti/omap4xxx/security/tf_crypto_sst/ |
sst_stub.c | 120 sOperation.params[3].tmpref.buffer = pSignatureFile; 121 sOperation.params[3].tmpref.size = nSignatureFileLen; 283 sOperation.params[0].value.a = 1; /* Private storage */ 284 sOperation.params[0].value.b = nFlags; /* Access flags */ 285 sOperation.params[1].tmpref.buffer = (void*)pFilename; 286 sOperation.params[1].tmpref.size = strlen(pFilename); 294 *phFile = (SST_HANDLE)sOperation.params[0].value.a; 319 sOperation.params[0].value.a = hFile; 355 sOperation.params[0].value.a = hFile; 356 sOperation.params[1].tmpref.buffer = (void*)pBuffer [all...] |
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_helpers.cc | 121 string FileClassName(const Params& params, const FileDescriptor* file) { 124 if (params.has_java_outer_classname(file->name())) { 125 name = params.java_outer_classname(file->name()); 149 string FileJavaPackage(const Params& params, const FileDescriptor* file) { 150 if (params.has_java_package(file->name())) { 151 return params.java_package(file->name()); 162 string ToJavaName(const Params& params, const string& full_name [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureTrail.java | 58 static final class Params { 71 public Params(final TypedArray mainKeyboardViewAttr) { 132 // or by animation {@link #drawGestureTrail(Canvas,Paint,Rect,Params)} below. 158 * @param params gesture trail display parameters 161 private static int getAlpha(final int elapsedTime, final Params params) { 162 if (elapsedTime < params.mFadeoutStartDelay) { 166 * (elapsedTime - params.mFadeoutStartDelay) 167 / params.mFadeoutDuration; 177 * @param params gesture trail display parameter [all...] |
/external/wpa_supplicant_8/src/crypto/ |
tls_internal.c | 157 const struct tls_connection_params *params) 169 if (tlsv1_set_ca_cert(cred, params->ca_cert, 170 params->ca_cert_blob, params->ca_cert_blob_len, 171 params->ca_path)) { 178 if (tlsv1_set_cert(cred, params->client_cert, 179 params->client_cert_blob, 180 params->client_cert_blob_len)) { 187 if (tlsv1_set_private_key(cred, params->private_key, 188 params->private_key_passwd [all...] |
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_generator.cc | 49 void UpdateParamsRecursively(Params& params, 53 params.set_java_outer_classname( 57 params.set_java_package( 64 UpdateParamsRecursively(params, file->dependency(i)); 85 Params params(file->name()); 89 params.set_java_multiple_files(file->options().java_multiple_files()); 92 // Update per file params 93 UpdateParamsRecursively(params, file) [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
TestHttpClient.java | 44 import org.apache.http.params.BasicHttpParams; 45 import org.apache.http.params.CoreConnectionPNames; 46 import org.apache.http.params.DefaultedHttpParams; 47 import org.apache.http.params.HttpParams; 48 import org.apache.http.params.CoreProtocolPNames; 62 private final HttpParams params; field in class:TestHttpClient 70 this.params = new BasicHttpParams(); 71 this.params 92 return this.params; 103 new DefaultedHttpParams(request.getParams(), this.params)); [all...] |
/libcore/luni/src/test/java/tests/targets/security/cert/ |
CertificateTest.java | 632 PKIXParameters params = createPKIXParams(); local 671 PKIXParameters params = createPKIXParams(); local 739 PKIXParameters params; local [all...] |
/external/libmtp/src/ |
ptp-pack.c | 8 ptp_debug (PTPParams *params, const char *format, ...); 11 htod16p (PTPParams *params, uint16_t var) 13 return ((params->byteorder==PTP_DL_LE)?htole16(var):htobe16(var)); 17 htod32p (PTPParams *params, uint32_t var) 19 return ((params->byteorder==PTP_DL_LE)?htole32(var):htobe32(var)); 23 htod16ap (PTPParams *params, unsigned char *a, uint16_t val) 25 if (params->byteorder==PTP_DL_LE) 32 htod32ap (PTPParams *params, unsigned char *a, uint32_t val) 34 if (params->byteorder==PTP_DL_LE) 41 htod64ap (PTPParams *params, unsigned char *a, uint64_t val [all...] |
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/ |
openid.php | 115 protected function request($url, $method='GET', $params=array()) 117 $params = http_build_query($params, '', '&'); variable 118 $curl = curl_init($url . ($method == 'GET' && $params ? '?' . $params : '')); 125 curl_setopt($curl, CURLOPT_POSTFIELDS, $params); 307 $params = array(); variable 311 $params['openid.ns.sreg'] = 'http://openid.net/extensions/sreg/1.1'; 313 $params['openid.sreg.required'] = array(); 316 $params['openid.sreg.required'][] = self::$ax_to_sreg[$required] 333 $params = array(); variable 380 $params = array( variable 393 $params = array( variable 450 $params = array( variable [all...] |
/frameworks/base/core/jni/ |
android_opengl_GLES11.cpp | 151 * is incomplete and the app may crash if it passed the wrong number params. 231 CTYPE *params = (CTYPE *) 0; local 237 _exceptionMessage = "params == null"; 259 params = params_base + offset; 263 (CTYPE *)params 287 CTYPE *params = (CTYPE *) 0; local 290 params = (CTYPE *)getPointer(_env, params_buf, &_array, &_remaining, &_bufferOffset); 301 if (params == NULL) { 303 params = (CTYPE *) (_paramsBase + _bufferOffset); 307 (CTYPE *)params 790 GLint *params = (GLint *) 0; local 841 GLint *params = (GLint *) 0; local 1050 GLfixed *params = (GLfixed *) 0; local 1091 GLfixed *params = (GLfixed *) 0; local 1129 GLfloat *params = (GLfloat *) 0; local 1205 GLfloat *params = (GLfloat *) 0; local 1267 GLfixed *params = (GLfixed *) 0; local 1343 GLfixed *params = (GLfixed *) 0; local 1405 GLfloat *params = (GLfloat *) 0; local 1479 GLfloat *params = (GLfloat *) 0; local 1539 GLfixed *params = (GLfixed *) 0; local 1613 GLfixed *params = (GLfixed *) 0; local 1673 GLfloat *params = (GLfloat *) 0; local 1735 GLfloat *params = (GLfloat *) 0; local 1783 GLint *params = (GLint *) 0; local 1845 GLint *params = (GLint *) 0; local 1893 GLfixed *params = (GLfixed *) 0; local 1955 GLfixed *params = (GLfixed *) 0; local 2003 GLfloat *params = (GLfloat *) 0; local 2054 GLfloat *params = (GLfloat *) 0; local 2091 GLint *params = (GLint *) 0; local 2142 GLint *params = (GLint *) 0; local 2179 GLfixed *params = (GLfixed *) 0; local 2230 GLfixed *params = (GLfixed *) 0; local 2321 GLfloat *params = (GLfloat *) 0; local 2371 GLfloat *params = (GLfloat *) 0; local 2417 GLfixed *params = (GLfixed *) 0; local 2467 GLfixed *params = (GLfixed *) 0; local 2549 GLint *params = (GLint *) 0; local 2611 GLint *params = (GLint *) 0; local 2659 GLfloat *params = (GLfloat *) 0; local 2710 GLfloat *params = (GLfloat *) 0; local 2758 GLint *params = (GLint *) 0; local 2809 GLint *params = (GLint *) 0; local 2846 GLfixed *params = (GLfixed *) 0; local 2897 GLfixed *params = (GLfixed *) 0; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
scan.c | 215 * @params: Scan parameters 219 struct wpa_driver_scan_params *params) 225 ret = wpa_drv_scan(wpa_s, params); 265 struct wpa_driver_scan_params *params, 272 ret = wpa_drv_sched_scan(wpa_s, params, interval * 1000); 335 struct wpa_supplicant *wpa_s, struct wpa_driver_scan_params *params) 338 if (params->freqs == NULL && wpa_s->p2p_in_provisioning && 346 params->freqs = os_zalloc(2 * sizeof(int)); 347 if (params->freqs) 348 params->freqs[0] = wpa_s->go_params->freq 533 struct wpa_driver_scan_params params; local 931 struct wpa_driver_scan_params params; local [all...] |
sme.c | 144 struct wpa_driver_auth_params params; local 165 os_memset(¶ms, 0, sizeof(params)); 168 params.freq = bss->freq; 169 params.bssid = bss->bssid; 170 params.ssid = bss->ssid; 171 params.ssid_len = bss->ssid_len; 172 params.p2p = ssid->p2p_group; 174 if (wpa_s->sme.ssid_len != params.ssid_len || 175 os_memcmp(wpa_s->sme.ssid, params.ssid, params.ssid_len) != 0 629 struct wpa_driver_associate_params params; local 1085 struct wpa_driver_scan_params params; local [all...] |
/frameworks/native/opengl/libagl/ |
state.cpp | 356 void glGetIntegerv(GLenum pname, GLint *params) 362 params[0] = 0; 363 params[1] = GGL_MAX_ALIASED_POINT_SIZE; 366 params[0] = 0; 367 params[1] = GGL_MAX_ALIASED_POINT_SIZE; 372 params[0] = formats[index].ah - formats[index].al; 378 params[0] = formats[index].rh - formats[index].rl; 384 params[0] = formats[index].gh - formats[index].gl; 390 params[0] = formats[index].bh - formats[index].bl; 394 params[ 0] = GL_PALETTE4_RGB8_OES [all...] |
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
GLES11Ext.spec | 21 void glFogxvOES ( GLenum pname, const GLfixed *params ) 24 void glGetFixedvOES ( GLenum pname, GLfixed *params ) 25 void glGetLightxvOES ( GLenum light, GLenum pname, GLfixed *params ) 26 void glGetMaterialxvOES ( GLenum face, GLenum pname, GLfixed *params ) 27 void glGetTexEnvxvOES ( GLenum env, GLenum pname, GLfixed *params ) 28 void glGetTexParameterxvOES ( GLenum target, GLenum pname, GLfixed *params ) 30 void glLightModelxvOES ( GLenum pname, const GLfixed *params ) 32 void glLightxvOES ( GLenum light, GLenum pname, const GLfixed *params ) 36 void glMaterialxvOES ( GLenum face, GLenum pname, const GLfixed *params ) 42 void glPointParameterxvOES ( GLenum pname, const GLfixed *params ) [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
InterpolatingLayout.java | 219 LayoutParams params = (LayoutParams) child.getLayoutParams(); local 220 if (params.width == LayoutParams.MATCH_PARENT) { 228 int childWidth = params.resolveWidth(parentWidth); 241 switch (params.height) { 247 parentHeight - params.topMargin - params.bottomMargin, 252 params.height, MeasureSpec.EXACTLY); 261 width += params.resolveLeftMargin(parentWidth) + params.resolveRightMargin(parentWidth); 290 LayoutParams params = (LayoutParams) child.getLayoutParams() local [all...] |