/frameworks/base/core/java/android/widget/ |
H A D | RemoteViews.java | 902 private static Object[] wrapArg(Object value) { argument 904 args[0] = value; 1194 Object value; field in class:RemoteViews.ReflectionAction 1196 ReflectionAction(int viewId, String methodName, int type, Object value) { argument 1200 this.value = value; 1217 this.value = in.readInt() != 0; 1220 this.value = in.readByte(); 1223 this.value = (short)in.readInt(); 1226 this.value 1867 LayoutParamAction(int viewId, int property, int value) argument 1920 resolveDimenPixelOffset(View target, int value) argument 1932 int value; field in class:RemoteViews.LayoutParamAction 2923 setBoolean(int viewId, String methodName, boolean value) argument 2934 setByte(int viewId, String methodName, byte value) argument 2945 setShort(int viewId, String methodName, short value) argument 2956 setInt(int viewId, String methodName, int value) argument 2967 setLong(int viewId, String methodName, long value) argument 2978 setFloat(int viewId, String methodName, float value) argument 2989 setDouble(int viewId, String methodName, double value) argument 3000 setChar(int viewId, String methodName, char value) argument 3011 setString(int viewId, String methodName, String value) argument 3022 setCharSequence(int viewId, String methodName, CharSequence value) argument 3033 setUri(int viewId, String methodName, Uri value) argument 3054 setBitmap(int viewId, String methodName, Bitmap value) argument 3065 setBundle(int viewId, String methodName, Bundle value) argument 3076 setIntent(int viewId, String methodName, Intent value) argument 3087 setIcon(int viewId, String methodName, Icon value) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ILockSettings.aidl | 24 void setBoolean(in String key, in boolean value, in int userId); 25 void setLong(in String key, in long value, in int userId); 26 void setString(in String key, in String value, in int userId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | HotspotTile.java | 59 protected void handleValueChanged(int value) { 102 final boolean isEnabled = (Boolean) mState.value; 121 state.value = (boolean) arg; 123 state.value = mController.isHotspotEnabled(); 125 state.icon = state.value ? mEnable : mDisable; 149 if (mState.value) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | SegmentedButtons.java | 60 public void setSelectedValue(Object value, boolean fromClick) { argument 61 if (Objects.equals(value, mSelectedValue)) return; 62 mSelectedValue = value; 81 public void addButton(int labelResId, int contentDescriptionResId, Object value) { argument 92 b.setTag(value); 131 void onSelected(Object value, boolean fromClick); argument
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | InCallAdapter.java | 143 * value must be one of {@code '0'} through {@code '9'}, {@code '*'} or {@code '#'}. 300 * @param value The extra value. 302 public void putExtra(String callId, String key, boolean value) { argument 305 bundle.putBoolean(key, value); 316 * @param value The extra value. 318 public void putExtra(String callId, String key, int value) { argument 321 bundle.putInt(key, value); 332 * @param value Th 334 putExtra(String callId, String key, String value) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | StringPool.h | 44 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { } 45 entry(const entry& o) : value(o.value), offset(o.offset), 49 String16 value; member in struct:StringPool::entry 91 * otherwise, or if the value doesn't already exist, a new entry is 96 ssize_t add(const String16& value, bool mergeDuplicates = false, 99 ssize_t add(const String16& value, const Vector<entry_style_span>& spans, 175 // the first index of mEntryArray where the value was added.
|
/frameworks/base/tools/aapt2/compile/ |
H A D | IdAssigner_test.cpp | 81 if (!packageIds.insert(package->id.value()).second) { 83 << " has non-unique ID " << std::hex << (int) package->id.value() << std::dec; 95 if (!typeIds.insert(type->id.value()).second) { 98 << std::hex << (int) type->id.value() << std::dec; 111 if (!entryIds.insert(entry->id.value()).second) { 115 << std::hex << (int) entry->id.value() << std::dec;
|
H A D | PseudolocaleGenerator.cpp | 32 const StringPiece16 originalText = *string->value->str; 37 localized.spans.reserve(string->value->spans.size()); 38 for (const StringPool::Span& span : string->value->spans) { 42 // The ranges are all represented with a single value. This is the start of one range and 65 for (size_t i = 0; i < string->value->spans.size(); i++) { 66 const StringPool::Span& span = string->value->spans[i]; 123 // Either value or item will be populated upon visiting the value. 171 std::u16string result = mLocalizer.start() + mLocalizer.text(*string->value) + 217 originalValue->value [all...] |
/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | Operand.h | 42 virtual uint64_t value() const = 0; 69 uint64_t value() const { return m_Value; } function in class:mcld::SymOperand 100 uint64_t value() const { return m_Value; } function in class:mcld::IntOperand 133 uint64_t value() const { function in class:mcld::SectOperand 166 uint64_t value() const { function in class:mcld::SectDescOperand 202 uint64_t value() const;
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/ |
H A D | LayoutBinderTest.java | 53 final Expr value = entry.getValue(); 54 assertEquals(value.getClass(), IdentifierExpr.class); 55 final IdentifierExpr id = (IdentifierExpr) value; 67 final Expr value = entry.getValue(); 68 assertEquals(value.getClass(), StaticIdentifierExpr.class); 69 final IdentifierExpr id = (IdentifierExpr) value;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | Learning_StochasticLinearRanker.java | 57 values_1[i] = temp_1.get(i).value; 64 values_2[i] = temp_2.get(i).value; 81 values[i] = temp.get(i).value; 92 weights.put(temp.get(i).key, temp.get(i).value); 98 public boolean SetModelParameter(String key, String value) { argument 101 return mLearningSlRanker.setModelParameter(key,value);
|
/frameworks/native/libs/gui/tests/ |
H A D | IGraphicBufferProducer_test.cpp | 239 // Invalid API returns bad value 287 int32_t value = -1; local 288 EXPECT_OK(mProducer->query(NATIVE_WINDOW_WIDTH, &value)); 289 EXPECT_EQ(DEFAULT_WIDTH, static_cast<uint32_t>(value)); 291 EXPECT_OK(mProducer->query(NATIVE_WINDOW_HEIGHT, &value)); 292 EXPECT_EQ(DEFAULT_HEIGHT, static_cast<uint32_t>(value)); 294 EXPECT_OK(mProducer->query(NATIVE_WINDOW_FORMAT, &value)); 295 EXPECT_EQ(DEFAULT_FORMAT, value); 297 EXPECT_OK(mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &value)); 298 EXPECT_LE(0, value); 315 int value; local [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | HalMockUtils.java | 74 * "name" : { "type" : "int|byte_array", "value" : 123 | [1, 2, 3, 4] } 79 private static final String VALUE_KEY = "value"; 120 Object value = bundle.get(key); 122 if (value instanceof Integer) { 124 child.put(VALUE_KEY, ((Integer) value).intValue()); 125 } else if (value instanceof byte[]) { 126 byte[] array = (byte[]) value; 135 + "or byte[]): " + value);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteDialogHelper.java | 46 TypedValue value = new TypedValue(); 48 : R.dimen.mr_dialog_fixed_width_major, value, true); 49 if (value.type == TypedValue.TYPE_DIMENSION) { 50 return (int) value.getDimension(metrics); 51 } else if (value.type == TypedValue.TYPE_FRACTION) { 52 return (int) value.getFraction(metrics.widthPixels, metrics.widthPixels);
|
/frameworks/av/media/mtp/ |
H A D | MtpProperty.h | 100 void print(MtpPropertyValue& value, MtpString& buffer); 108 bool readValue(MtpDataPacket& packet, MtpPropertyValue& value); 109 void writeValue(MtpDataPacket& packet, MtpPropertyValue& value);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattCallbackWrapper.java | 57 public void onCharacteristicRead(String address, int status, int handle, byte[] value) argument 70 public void onDescriptorRead(String address, int status, int handle, byte[] value) throws RemoteException { argument 78 public void onNotify(String address, int handle, byte[] value) throws RemoteException { argument
|
/frameworks/base/native/android/ |
H A D | native_window.cpp | 44 int value; local 45 int res = window->query(window, what, &value); 46 return res < 0 ? res : value;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DurableUtils.java | 85 public static void writeNullableString(DataOutputStream out, String value) throws IOException { argument 86 if (value != null) { 88 out.writeUTF(value);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | ClockPreference.java | 79 protected boolean persistString(String value) { argument 80 TunerService.get(getContext()).setValue(Clock.CLOCK_SECONDS, SECONDS.equals(value) ? 1 : 0); 81 if (DISABLED.equals(value)) {
|
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/ |
H A D | LargeAssetTest.java | 80 int value = (buf[3] << 24) + ((buf[2] & 0xFF) << 16) 82 if (value != i) { 83 Log.e(TAG, "Mismatch: index " + i + " : value " + value);
|
/frameworks/base/tools/aapt2/link/ |
H A D | ReferenceLinker_test.cpp | 53 EXPECT_EQ(ref->id.value(), ResourceId(0x7f020001)); 58 EXPECT_EQ(ref->id.value(), ResourceId(0x7f020002)); 63 EXPECT_EQ(ref->id.value(), ResourceId(0x01040034)); 77 // We need to fill in the value for the attribute android:attr/bar after we build the 81 style->entries.back().value = util::make_unique<RawString>( 111 AAPT_ASSERT_TRUE(style->parent.value().id); 112 EXPECT_EQ(style->parent.value().id.value(), ResourceId(0x01060000)); 117 EXPECT_EQ(style->entries[0].key.id.value(), ResourceId(0x01010001)); 118 ASSERT_NE(valueCast<BinaryPrimitive>(style->entries[0].value [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiConfigStore.java | 130 * Generate a string to be used as a key value by wpa_supplicant from 133 * reasons) into a wpa_supplicant adjusted value, that uses - as a separator 137 * @return A wpa_supplicant formatted value. 148 * @return A wpa_supplicant formatted value. 227 String value = mWifiNative.getNetworkVariable(netId, varName); 228 if (!TextUtils.isEmpty(value)) { 230 String[] vals = value.split(" "); 260 String value; 262 value = mWifiNative.getNetworkVariable(netId, WifiConfiguration.ssidVarName); 263 if (!TextUtils.isEmpty(value)) { 1281 saveValue(String key, String value) argument [all...] |
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
H A D | ListPreferenceDialogFragment.java | 108 String value = mEntryValues[mClickedDialogEntryIndex].toString(); 109 if (preference.callChangeListener(value)) { 110 preference.setValue(value);
|
/frameworks/support/v4/java/android/support/v4/content/res/ |
H A D | TypedArrayUtils.java | 77 TypedValue value = new TypedValue(); 78 context.getTheme().resolveAttribute(attr, value, true); 79 if (value.resourceId != 0) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatCheckBox.java | 81 final int value = super.getCompoundPaddingLeft(); 83 ? mCompoundButtonHelper.getCompoundPaddingLeft(value) 84 : value;
|